ArmConnectedVMwarevSphereModelFactory.VMwareVirtualDisk Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- diskMode
- Nullable<VMwareDiskMode>
Gets or sets the disk mode.
- 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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET