NetworkInterface.UpdateStages.WithLoadBalancer Interface

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 Type Method and Description
abstract Update withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

Associates the network interface's primary IP configuration with a backend of an existing load balancer.

abstract Update withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.

abstract Update withoutLoadBalancerBackends()

Removes all the existing associations with any load balancer backends.

abstract Update withoutLoadBalancerInboundNatRules()

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

Method Details

withExistingLoadBalancerBackend

public abstract 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 balancer
backendName - the name of an existing backend on that load balancer

Returns:

the next stage of the update

withExistingLoadBalancerInboundNatRule

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

Removes all the existing associations with any load balancer backends.

Returns:

the next stage of the update

withoutLoadBalancerInboundNatRules

public abstract NetworkInterface.Update withoutLoadBalancerInboundNatRules()

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

Returns:

the next stage of the update

Applies to