Share via


VirtualMachineSizeInner Constructors

Definition

Overloads

VirtualMachineSizeInner()

Initializes a new instance of the VirtualMachineSizeInner class.

VirtualMachineSizeInner(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the VirtualMachineSizeInner class.

VirtualMachineSizeInner()

Initializes a new instance of the VirtualMachineSizeInner class.

public VirtualMachineSizeInner ();
Public Sub New ()

Applies to

VirtualMachineSizeInner(String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the VirtualMachineSizeInner class.

public VirtualMachineSizeInner (string name = default, int? numberOfCores = default, int? osDiskSizeInMB = default, int? resourceDiskSizeInMB = default, int? memoryInMB = default, int? maxDataDiskCount = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineSizeInner : string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineSizeInner
Public Sub New (Optional name As String = Nothing, Optional numberOfCores As Nullable(Of Integer) = Nothing, Optional osDiskSizeInMB As Nullable(Of Integer) = Nothing, Optional resourceDiskSizeInMB As Nullable(Of Integer) = Nothing, Optional memoryInMB As Nullable(Of Integer) = Nothing, Optional maxDataDiskCount As Nullable(Of Integer) = Nothing)

Parameters

name
String

The name of the virtual machine size.

numberOfCores
Nullable<Int32>

The number of cores supported by the virtual machine size.

osDiskSizeInMB
Nullable<Int32>

The OS disk size, in MB, allowed by the virtual machine size.

resourceDiskSizeInMB
Nullable<Int32>

The resource disk size, in MB, allowed by the virtual machine size.

memoryInMB
Nullable<Int32>

The amount of memory, in MB, supported by the virtual machine size.

maxDataDiskCount
Nullable<Int32>

The maximum number of data disks that can be attached to the virtual machine size.

Applies to