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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET