Share via


VMSizeProperties Class

Definition

Specifies VM Size Property settings on the virtual machine.

public class VMSizeProperties
type VMSizeProperties = class
Public Class VMSizeProperties
Inheritance
VMSizeProperties

Constructors

VMSizeProperties()

Initializes a new instance of the VMSizeProperties class.

VMSizeProperties(Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the VMSizeProperties class.

Properties

VCPUsAvailable

Gets or sets 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.

VCPUsPerCore

Gets or sets 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.

Applies to