다음을 통해 공유


IWithCapacity.WithCapacity(Int32) Method

Definition

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.

Returns

Applies to