NetworkInterface.UpdateStages.WithLoadBalancer Interface

定义

The stage of the network interface update allowing to associate it with a load balancer.

public interface WithLoadBalancer

方法

withExistingLoadBalancerBackend(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.

withoutLoadBalancerBackends()

Removes all the existing associations with any load balancer backends.

withoutLoadBalancerInboundNatRules()

Removes all the existing associations with any load balancer inbound NAT rules.

适用于