NicIPConfiguration.UpdateDefinitionStages.WithLoadBalancer<ParentT> Interface

Type Parameters

ParentT

the return type of the final attach()

public interface WithLoadBalancer

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

Method Summary

Modifier and Type Method and Description
NicIPConfiguration.UpdateDefinitionStages.WithAttach<ParentT> withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)

Specifies the load balancer to associate this IP configuration with.

NicIPConfiguration.UpdateDefinitionStages.WithAttach<ParentT> withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

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

Method Details

withExistingLoadBalancerBackend

public WithAttach 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 WithAttach 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

Applies to