VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer Interface

Implements

public static interface VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer
extends WithApply

The stage of a virtual machine scale set update allowing to specify an internal load balancer for the primary network interface of the scale set virtual machines.

Method Summary

Modifier and Type Method and Description
abstract WithPrimaryInternalLoadBalancerBackendOrNatPool withExistingPrimaryInternalLoadBalancer(LoadBalancer loadBalancer)

Specifies the load balancer to be used as the internal load balancer for the virtual machines in the scale set.

Method Details

withExistingPrimaryInternalLoadBalancer

public abstract VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerBackendOrNatPool withExistingPrimaryInternalLoadBalancer(LoadBalancer loadBalancer)

Specifies the load balancer to be used as the internal load balancer for the virtual machines in the scale set.

This will replace the current internal load balancer associated with the virtual machines in the scale set (if any). By default all the backends and inbound NAT pools of the load balancer will be associated with the primary network interface of the virtual machines in the scale set unless subset of them is selected in the next stages.

Parameters:

loadBalancer - the primary Internet-facing load balancer

Returns:

the next stage of the update

Applies to