NetworkInterface.DefinitionStages.WithLoadBalancer Interface

public static interface NetworkInterface.DefinitionStages.WithLoadBalancer

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

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

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

abstract WithCreate withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

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

Method Details

withExistingLoadBalancerBackend

public abstract NetworkInterface.DefinitionStages.WithCreate 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 definition

withExistingLoadBalancerInboundNatRule

public abstract NetworkInterface.DefinitionStages.WithCreate 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 definition

Applies to