你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VMSizeProperties Class
Specifies VM Size Property settings on the virtual machine.
- Inheritance
-
azure.mgmt.compute._serialization.ModelVMSizeProperties
Constructor
VMSizeProperties(*, v_cpus_available: int | None = None, v_cpus_per_core: int | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
v_cpus_available
|
Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region. |
v_cpus_per_core
|
Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.. |
Variables
Name | Description |
---|---|
v_cpus_available
|
Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region. |
v_cpus_per_core
|
Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.. |