NicIPConfiguration.UpdateStages.WithLoadBalancer Interface

public interface WithLoadBalancer

The stage of the network interface's IP configuration allowing to specify the load balancer to associate this IP configuration with.

Method Summary

Modifier and Type Method and Description
NicIPConfiguration.Update withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

Specifies the load balancer to associate this IP configuration with.

NicIPConfiguration.Update withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

Specifies the load balancer inbound NAT rule to associate this IP configuration with.

NicIPConfiguration.Update withoutLoadBalancerBackends()

Removes all the existing associations with load balancer backends.

NicIPConfiguration.Update withoutLoadBalancerInboundNatRules()

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

Method Details

withExistingLoadBalancerBackend

public Update withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

Specifies the load balancer to associate this IP configuration with.

Parameters:

loadBalancer - an existing load balancer
backendName - the name of an existing backend on that load balancer

Returns:

the next stage of the update

withExistingLoadBalancerInboundNatRule

public Update withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

Specifies the load balancer inbound NAT rule to associate this IP configuration with.

Parameters:

loadBalancer - an existing load balancer
inboundNatRuleName - the name of an existing inbound NAT rule on the selected load balancer

Returns:

the next stage of the update

withoutLoadBalancerBackends

public Update withoutLoadBalancerBackends()

Removes all the existing associations with load balancer backends.

Returns:

the next stage of the update

withoutLoadBalancerInboundNatRules

public Update withoutLoadBalancerInboundNatRules()

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

Returns:

the next stage of the update

Applies to