ArmConnectedVMwarevSphereModelFactory.VirtualDisk Method

Definition

Initializes a new instance of VirtualDisk.

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.VirtualDisk VirtualDisk (string name = default, string label = default, string diskObjectId = default, int? diskSizeGB = default, int? deviceKey = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.DiskMode? diskMode = default, int? controllerKey = default, int? unitNumber = default, string deviceName = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.DiskType? diskType = default);
static member VirtualDisk : string * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.DiskMode> * Nullable<int> * Nullable<int> * string * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.DiskType> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.VirtualDisk
Public Shared Function VirtualDisk (Optional name As String = Nothing, Optional label As String = Nothing, Optional diskObjectId As String = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional deviceKey As Nullable(Of Integer) = Nothing, Optional diskMode As Nullable(Of DiskMode) = Nothing, Optional controllerKey As Nullable(Of Integer) = Nothing, Optional unitNumber As Nullable(Of Integer) = Nothing, Optional deviceName As String = Nothing, Optional diskType As Nullable(Of DiskType) = Nothing) As VirtualDisk

Parameters

name
String

Gets or sets the name of the virtual disk.

label
String

Gets or sets the label of the virtual disk in vCenter.

diskObjectId
String

Gets or sets the disk object id.

diskSizeGB
Nullable<Int32>

Gets or sets the disk total size.

deviceKey
Nullable<Int32>

Gets or sets the device key value.

diskMode
Nullable<DiskMode>

Gets or sets the disk mode.

controllerKey
Nullable<Int32>

Gets or sets the controller id.

unitNumber
Nullable<Int32>

Gets or sets the unit number of the disk on the controller.

deviceName
String

Gets or sets the device name.

diskType
Nullable<DiskType>

Gets or sets the disk backing type.

Returns

A new VirtualDisk instance for mocking.

Applies to