Interface NetworkInterface.DefinitionStages.WithLoadBalancer
-
- All Known Subinterfaces:
NetworkInterface.Definition,NetworkInterface.DefinitionStages.WithCreate
- Enclosing interface:
- NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithLoadBalancerThe stage of the network interface definition allowing to associate it with a load balancer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterface.DefinitionStages.WithCreatewithExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)Associates the network interface's primary IP configuration with a backend of an existing load balancer.NetworkInterface.DefinitionStages.WithCreatewithExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.
-
-
-
Method Detail
-
withExistingLoadBalancerBackend
NetworkInterface.DefinitionStages.WithCreate withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)
Associates the network interface's primary IP configuration with a backend of an existing load balancer.- Parameters:
loadBalancer- an existing load balancerbackendName- the name of an existing backend on that load balancer- Returns:
- the next stage of the definition
-
withExistingLoadBalancerInboundNatRule
NetworkInterface.DefinitionStages.WithCreate withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)
Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.- 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
-
-