你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithCapacity.WithCapacity(Int32) 方法

定义

指定规模集中的新虚拟机数。

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

参数

capacity
Int32

规模集的虚拟机容量。

返回

适用于