Compartir vía


VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancer Interface

public interface WithPrimaryInternetFacingLoadBalancer

The stage of a virtual machine scale set definition allowing to specify an Internet-facing load balancer for the primary network interface of the virtual machines in the scale set.

Method Summary

Modifier and Type Method and Description
VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool withExistingPrimaryInternetFacingLoadBalancer(LoadBalancer loadBalancer)

Specifies an Internet-facing load balancer whose backends and/or NAT pools can be assigned to the primary network interfaces of the virtual machines in the scale set.

By default, all the backends and inbound NAT pools of the load balancer will be associated with the primary network interface of the scale set virtual machines.

VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternalLoadBalancer withoutPrimaryInternetFacingLoadBalancer()

Specifies that no public load balancer should be associated with the virtual machine scale set.

Method Details

withExistingPrimaryInternetFacingLoadBalancer

public WithPrimaryInternetFacingLoadBalancerBackendOrNatPool withExistingPrimaryInternetFacingLoadBalancer(LoadBalancer loadBalancer)

Specifies an Internet-facing load balancer whose backends and/or NAT pools can be assigned to the primary network interfaces of the virtual machines in the scale set.

By default, all the backends and inbound NAT pools of the load balancer will be associated with the primary network interface of the scale set virtual machines.

Parameters:

loadBalancer - an existing Internet-facing load balancer

Returns:

the next stage of the definition

withoutPrimaryInternetFacingLoadBalancer

public WithPrimaryInternalLoadBalancer withoutPrimaryInternetFacingLoadBalancer()

Specifies that no public load balancer should be associated with the virtual machine scale set.

Returns:

the next stage of the definition

Applies to