VMSizeProperties Class

Specifies VM Size Property settings on the virtual machine.

Inheritance
azure.mgmt.compute._serialization.Model
VMSizeProperties

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
int

Specifies the number of vCPUs available for the VM. <br>``<br> 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
int

Specifies the vCPU to physical core ratio. <br>``<br> 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 <br>``<br> Setting this property to 1 also means that hyper-threading is disabled.

Variables

Name Description
v_cpus_available
int

Specifies the number of vCPUs available for the VM. <br>``<br> 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
int

Specifies the vCPU to physical core ratio. <br>``<br> 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 <br>``<br> Setting this property to 1 also means that hyper-threading is disabled.