ArmConnectedVMwarevSphereModelFactory.VirtualDisk 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 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.
- deviceName
- String
Gets or sets the device name.
Returns
A new VirtualDisk instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET