Interface HasBackendPort.UpdateDefinitionStages.WithBackendPort<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
All Known Subinterfaces:
LoadBalancerInboundNatPool.UpdateDefinition<ParentT>, LoadBalancerInboundNatPool.UpdateDefinitionStages.WithBackendPort<ParentT>, LoadBalancerInboundNatRule.UpdateDefinition<ParentT>, LoadBalancerInboundNatRule.UpdateDefinitionStages.WithAttach<ParentT>, LoadBalancerInboundNatRule.UpdateDefinitionStages.WithBackendPort<ParentT>, LoadBalancingRule.UpdateDefinition<ReturnT>, LoadBalancingRule.UpdateDefinitionStages.WithBackendPort<ReturnT>
Enclosing interface:
HasBackendPort.UpdateDefinitionStages

public static interface HasBackendPort.UpdateDefinitionStages.WithBackendPort<ReturnT>
The stage of a definition allowing to specify the backend port.
  • Method Summary

    Modifier and Type
    Method
    Description
    toBackendPort(int port)
    Specifies a backend port to send network traffic to.
  • Method Details

    • toBackendPort

      ReturnT toBackendPort(int port)
      Specifies a backend port to send network traffic to.

      If not specified, the same backend port number is assumed as that used by the frontend.

      Parameters:
      port - a port number
      Returns:
      the next stage of the definition