Interface VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternalLoadBalancer
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged
,VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
,VirtualMachineScaleSet.DefinitionShared
,VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool
,VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternetFacingLoadBalancerNatPool
,VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithPrimaryInternalLoadBalancer
The stage of a virtual machine scale set definition allowing to specify an internal load balancer for
the primary network interface of the virtual machines in the scale set.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingPrimaryInternalLoadBalancer
(LoadBalancer loadBalancer) Specifies the internal load balancer whose backends and/or NAT pools can be assigned to the primary network interface of the virtual machines in the scale set.Specifies that no internal load balancer should be associated with the primary network interfaces of the virtual machines in the scale set.
-
Method Details
-
withExistingPrimaryInternalLoadBalancer
VirtualMachineScaleSet.DefinitionStages.WithInternalLoadBalancerBackendOrNatPool withExistingPrimaryInternalLoadBalancer(LoadBalancer loadBalancer) Specifies the internal load balancer whose backends and/or NAT pools can be assigned to the primary network interface 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 virtual machines in the scale set, unless subset of them is selected in the next stages.
- Parameters:
loadBalancer
- an existing internal load balancer- Returns:
- the next stage of the definition
-
withoutPrimaryInternalLoadBalancer
VirtualMachineScaleSet.DefinitionStages.WithOS withoutPrimaryInternalLoadBalancer()Specifies that no internal load balancer should be associated with the primary network interfaces of the virtual machines in the scale set.- Returns:
- the next stage of the definition
-