NicIPConfiguration.UpdateStages.WithLoadBalancer Interface

public static interface NicIPConfiguration.UpdateStages.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
abstract Update withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

Specifies the load balancer to associate this IP configuration with.

abstract Update withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

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

abstract Update withoutLoadBalancerBackends()

Removes all the existing associations with load balancer backends.

abstract Update withoutLoadBalancerInboundNatRules()

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

Method Details

withExistingLoadBalancerBackend

public abstract NicIPConfiguration.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 abstract NicIPConfiguration.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 abstract NicIPConfiguration.Update withoutLoadBalancerBackends()

Removes all the existing associations with load balancer backends.

Returns:

the next stage of the update

withoutLoadBalancerInboundNatRules

public abstract NicIPConfiguration.Update withoutLoadBalancerInboundNatRules()

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

Returns:

the next stage of the update

Applies to