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 |
---|---|
Virtual |
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. |
Virtual |
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:
Returns:
withoutPrimaryInternetFacingLoadBalancer
public WithPrimaryInternalLoadBalancer withoutPrimaryInternetFacingLoadBalancer()
Specifies that no public load balancer should be associated with the virtual machine scale set.
Returns:
Applies to
Azure SDK for Java