Udostępnij za pośrednictwem


ArmHDInsightModelFactory.HDInsightVmSizeProperty Method

Definition

Initializes a new instance of HDInsightVmSizeProperty.

public static Azure.ResourceManager.HDInsight.Models.HDInsightVmSizeProperty HDInsightVmSizeProperty (string name = default, int? cores = default, string dataDiskStorageTier = default, string label = default, long? maxDataDiskCount = default, long? memoryInMB = default, bool? isSupportedByVirtualMachines = default, bool? isSupportedByWebWorkerRoles = default, long? virtualMachineResourceDiskSizeInMB = default, long? webWorkerResourceDiskSizeInMB = default);
static member HDInsightVmSizeProperty : string * Nullable<int> * string * string * Nullable<int64> * Nullable<int64> * Nullable<bool> * Nullable<bool> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.HDInsight.Models.HDInsightVmSizeProperty
Public Shared Function HDInsightVmSizeProperty (Optional name As String = Nothing, Optional cores As Nullable(Of Integer) = Nothing, Optional dataDiskStorageTier As String = Nothing, Optional label As String = Nothing, Optional maxDataDiskCount As Nullable(Of Long) = Nothing, Optional memoryInMB As Nullable(Of Long) = Nothing, Optional isSupportedByVirtualMachines As Nullable(Of Boolean) = Nothing, Optional isSupportedByWebWorkerRoles As Nullable(Of Boolean) = Nothing, Optional virtualMachineResourceDiskSizeInMB As Nullable(Of Long) = Nothing, Optional webWorkerResourceDiskSizeInMB As Nullable(Of Long) = Nothing) As HDInsightVmSizeProperty

Parameters

name
String

The vm size name.

cores
Nullable<Int32>

The number of cores that the vm size has.

dataDiskStorageTier
String

The data disk storage tier of the vm size.

label
String

The label of the vm size.

maxDataDiskCount
Nullable<Int64>

The max data disk count of the vm size.

memoryInMB
Nullable<Int64>

The memory whose unit is MB of the vm size.

isSupportedByVirtualMachines
Nullable<Boolean>

This indicates this vm size is supported by virtual machines or not.

isSupportedByWebWorkerRoles
Nullable<Boolean>

The indicates this vm size is supported by web worker roles or not.

virtualMachineResourceDiskSizeInMB
Nullable<Int64>

The virtual machine resource disk size whose unit is MB of the vm size.

webWorkerResourceDiskSizeInMB
Nullable<Int64>

The web worker resource disk size whose unit is MB of the vm size.

Returns

A new HDInsightVmSizeProperty instance for mocking.

Applies to