Interface NicIpConfiguration.DefinitionStages.WithLoadBalancer<ParentT>
- Type Parameters:
ParentT- the stage of the parent network interface definition to return to after attaching this definition
- All Known Subinterfaces:
NicIpConfiguration.Definition<ParentT>, NicIpConfiguration.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
NicIpConfiguration.DefinitionStages
public static interface NicIpConfiguration.DefinitionStages.WithLoadBalancer<ParentT>
The stage of the network interface IP configuration definition allowing to specify the load balancer to
associate this IP configuration with.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName) Specifies the load balancer backend to associate this IP configuration with.withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName) Specifies the load balancer inbound NAT rule to associate this IP configuration with.
-
Method Details
-
withExistingLoadBalancerBackend
NicIpConfiguration.DefinitionStages.WithAttach<ParentT> withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName) Specifies the load balancer backend to associate this IP configuration with.- Parameters:
loadBalancer- an existing load balancerbackendName- the name of an existing backend on that load balancer- Returns:
- the next stage of the definition
-
withExistingLoadBalancerInboundNatRule
NicIpConfiguration.DefinitionStages.WithAttach<ParentT> withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName) Specifies the load balancer inbound NAT rule to associate this IP configuration with.- Parameters:
loadBalancer- an existing load balancerinboundNatRuleName- the name of an existing inbound NAT rule on the selected load balancer- Returns:
- the next stage of the definition
-