你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PoolAddParameter.VmSize 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置池中虚拟机的大小。 池中的所有虚拟机大小相同。
[Newtonsoft.Json.JsonProperty(PropertyName="vmSize")]
public string VmSize { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="vmSize")>]
member this.VmSize : string with get, set
Public Property VmSize As String
属性值
- 属性
-
Newtonsoft.Json.JsonPropertyAttribute
注解
有关使用 cloudServiceConfiguration) 创建的云服务池 (池的可用虚拟机大小的信息,请参阅大小云服务 (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). Batch 支持除 ExtraSmall、A1V2 和 A2V2 以外的所有云服务 VM 大小。 有关使用虚拟机市场 (使用 virtualMachineConfiguration 创建的池映像) 池的可用 VM 大小的信息,请参阅 虚拟机 (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/)的大小或 虚拟机 (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch 支持除 STANDARD_A0 和具有高级存储 (STANDARD_GS、STANDARD_DS和STANDARD_DSV2系列) 以外的所有 Azure VM 大小。