Interface VirtualMachineScaleSet.UpdateStages.WithCapacity
- All Known Subinterfaces:
VirtualMachineScaleSet.Update, VirtualMachineScaleSet.UpdateStages.WithApply, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerBackendOrNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply
- Enclosing interface:
VirtualMachineScaleSet.UpdateStages
public static interface VirtualMachineScaleSet.UpdateStages.WithCapacity
The stage of a virtual machine scale set definition allowing to specify the number of virtual machines in the
scale set.
-
Method Summary
Modifier and TypeMethodDescriptionwithCapacity(long capacity) Specifies the new number of virtual machines in the scale set.
-
Method Details
-
withCapacity
Specifies the new number of virtual machines in the scale set.- Parameters:
capacity- the virtual machine capacity of the scale set- Returns:
- the next stage of the update
-