IWithCapacity.WithCapacity(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the new number of virtual machines in the scale set.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply WithCapacity (int capacity);
abstract member WithCapacity : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply
Public Function WithCapacity (capacity As Integer) As IWithApply
Parameters
- capacity
- Int32
The virtual machine capacity of the scale set.