Udostępnij za pośrednictwem


ArmArcScVmmModelFactory.VirtualDisk Method

Definition

Initializes a new instance of VirtualDisk.

public static Azure.ResourceManager.ArcScVmm.Models.VirtualDisk VirtualDisk (string name = default, string displayName = default, string diskId = default, int? diskSizeGB = default, int? maxDiskSizeGB = default, int? bus = default, int? lun = default, string busType = default, string vhdType = default, string volumeType = default, string vhdFormatType = default, string templateDiskId = default, Azure.ResourceManager.ArcScVmm.Models.StorageQoSPolicyDetails storageQoSPolicy = default, Azure.ResourceManager.ArcScVmm.Models.CreateDiffDisk? createDiffDisk = default);
static member VirtualDisk : string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string * string * string * string * string * Azure.ResourceManager.ArcScVmm.Models.StorageQoSPolicyDetails * Nullable<Azure.ResourceManager.ArcScVmm.Models.CreateDiffDisk> -> Azure.ResourceManager.ArcScVmm.Models.VirtualDisk
Public Shared Function VirtualDisk (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional diskId As String = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional maxDiskSizeGB As Nullable(Of Integer) = Nothing, Optional bus As Nullable(Of Integer) = Nothing, Optional lun As Nullable(Of Integer) = Nothing, Optional busType As String = Nothing, Optional vhdType As String = Nothing, Optional volumeType As String = Nothing, Optional vhdFormatType As String = Nothing, Optional templateDiskId As String = Nothing, Optional storageQoSPolicy As StorageQoSPolicyDetails = Nothing, Optional createDiffDisk As Nullable(Of CreateDiffDisk) = Nothing) As VirtualDisk

Parameters

name
String

Gets or sets the name of the disk.

displayName
String

Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.

diskId
String

Gets or sets the disk id.

diskSizeGB
Nullable<Int32>

Gets or sets the disk total size.

maxDiskSizeGB
Nullable<Int32>

Gets or sets the max disk size.

bus
Nullable<Int32>

Gets or sets the disk bus.

lun
Nullable<Int32>

Gets or sets the disk lun.

busType
String

Gets or sets the disk bus type.

vhdType
String

Gets or sets the disk vhd type.

volumeType
String

Gets or sets the disk volume type.

vhdFormatType
String

Gets the disk vhd format type.

templateDiskId
String

Gets or sets the disk id in the template.

storageQoSPolicy
StorageQoSPolicyDetails

The QoS policy for the disk.

createDiffDisk
Nullable<CreateDiffDisk>

Gets or sets a value indicating diff disk.

Returns

A new VirtualDisk instance for mocking.

Applies to