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
System.Int32

Number of virtual machines.

Returns

IWithCreate

Applies to