Share via


VMSizeProperties Constructors

Definition

Overloads

VMSizeProperties()

Initializes a new instance of the VMSizeProperties class.

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

Initializes a new instance of the VMSizeProperties class.

VMSizeProperties()

Initializes a new instance of the VMSizeProperties class.

public VMSizeProperties ();
Public Sub New ()

Applies to

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

Initializes a new instance of the VMSizeProperties class.

public VMSizeProperties (int? vCPUsAvailable = default, int? vCPUsPerCore = default);
new Microsoft.Azure.Management.Compute.Models.VMSizeProperties : Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Compute.Models.VMSizeProperties
Public Sub New (Optional vCPUsAvailable As Nullable(Of Integer) = Nothing, Optional vCPUsPerCore As Nullable(Of Integer) = Nothing)

Parameters

vCPUsAvailable
Nullable<Int32>

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
Nullable<Int32>

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