共用方式為


VirtualMachineSize.NumberOfCores Property

Definition

The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list.

public int? NumberOfCores { get; }
member this.NumberOfCores : Nullable<int>
Public ReadOnly Property NumberOfCores As Nullable(Of Integer)

Property Value

Applies to