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

VirtualMachineSize.NumberOfCores 属性

定义

获取或设置虚拟机大小支持的核心数。 对于支持受约束 vCPU 的 VM 大小,此数字表示 VM 使用的配额 vCPU 总数。 有关准确的 vCPU 计数,请参阅 https://docs.microsoft.com/azure/virtual-machines/constrained-vcpuhttps://docs.microsoft.com/rest/api/compute/resourceskus/list

[Newtonsoft.Json.JsonProperty(PropertyName="numberOfCores")]
public int? NumberOfCores { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="numberOfCores")>]
member this.NumberOfCores : Nullable<int> with get, set
Public Property NumberOfCores As Nullable(Of Integer)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于