Interface VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancer
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged
,VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
,VirtualMachineScaleSet.DefinitionShared
,VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.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 TypeMethodDescriptionwithExistingPrimaryInternetFacingLoadBalancer
(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.Specifies that no public load balancer should be associated with the virtual machine scale set.
-
Method Details
-
withExistingPrimaryInternetFacingLoadBalancer
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.
- Parameters:
loadBalancer
- an existing Internet-facing load balancer- Returns:
- the next stage of the definition
-
withoutPrimaryInternetFacingLoadBalancer
VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternalLoadBalancer withoutPrimaryInternetFacingLoadBalancer()Specifies that no public load balancer should be associated with the virtual machine scale set.- Returns:
- the next stage of the definition
-