Delen via


ArmConnectedVMwarevSphereModelFactory.VMwareVirtualDisk Method

Definition

Initializes a new instance of VMwareVirtualDisk.

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareVirtualDisk VMwareVirtualDisk (string name = default, string label = default, string diskObjectId = default, int? diskSizeGB = default, int? deviceKey = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareDiskMode? diskMode = default, int? controllerKey = default, int? unitNumber = default, string deviceName = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareDiskType? diskType = default);
static member VMwareVirtualDisk : string * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareDiskMode> * Nullable<int> * Nullable<int> * string * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareDiskType> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.VMwareVirtualDisk
Public Shared Function VMwareVirtualDisk (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 VMwareDiskMode) = 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 VMwareDiskType) = Nothing) As VMwareVirtualDisk

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<VMwareDiskMode>

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<VMwareDiskType>

Gets or sets the disk backing type.

Returns

A new VMwareVirtualDisk instance for mocking.

Applies to