Interface NetworkInterface.UpdateStages.WithLoadBalancer
- All Known Subinterfaces:
NetworkInterface.Update
- Enclosing interface:
- NetworkInterface.UpdateStages
public static interface NetworkInterface.UpdateStages.WithLoadBalancer
The stage of the network interface update 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.Removes all the existing associations with any load balancer backends.Removes all the existing associations with any load balancer inbound NAT rules.
-
Method Details
-
withExistingLoadBalancerBackend
NetworkInterface.Update 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 update
-
withExistingLoadBalancerInboundNatRule
NetworkInterface.Update 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 update
-
withoutLoadBalancerBackends
NetworkInterface.Update withoutLoadBalancerBackends()Removes all the existing associations with any load balancer backends.- Returns:
- the next stage of the update
-
withoutLoadBalancerInboundNatRules
NetworkInterface.Update withoutLoadBalancerInboundNatRules()Removes all the existing associations with any load balancer inbound NAT rules.- Returns:
- the next stage of the update
-