VMSizeProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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
Azure SDK for .NET