Share via


IWithCapacity.WithCapacity(Int32) Method

Definition

Specifies the maximum number of virtual machines in the scale set.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate WithCapacity (int capacity);
abstract member WithCapacity : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate
Public Function WithCapacity (capacity As Integer) As IWithCreate

Parameters

capacity
Int32

Number of virtual machines.

Returns

Applies to