Interface NetworkInterface.DefinitionStages.WithLoadBalancer
- All Known Subinterfaces:
NetworkInterface.Definition, NetworkInterface.DefinitionStages.WithCreate
- Enclosing interface:
NetworkInterface.DefinitionStages
public static interface NetworkInterface.DefinitionStages.WithLoadBalancer
The stage of the network interface definition allowing to associate it with a load balancer.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName) Associates the network interface's primary IP configuration with a backend of an existing load balancer.withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName) Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.
-
Method Details
-
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
-