ArmScVmmModelFactory.ScVmmVirtualDisk 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 ScVmmVirtualDisk.
public static Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk ScVmmVirtualDisk (string name = default, string displayName = default, string diskId = default, int? diskSizeGB = default, int? maxDiskSizeGB = default, int? bus = default, int? lun = default, string busType = default, string vhdType = default, string volumeType = default, string vhdFormatType = default, string templateDiskId = default, Azure.ResourceManager.ScVmm.Models.ScVmmStorageQosPolicyDetails storageQosPolicy = default, Azure.ResourceManager.ScVmm.Models.CreateDiffDisk? createDiffDisk = default);
static member ScVmmVirtualDisk : string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string * string * string * string * string * Azure.ResourceManager.ScVmm.Models.ScVmmStorageQosPolicyDetails * Nullable<Azure.ResourceManager.ScVmm.Models.CreateDiffDisk> -> Azure.ResourceManager.ScVmm.Models.ScVmmVirtualDisk
Public Shared Function ScVmmVirtualDisk (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional diskId As String = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional maxDiskSizeGB As Nullable(Of Integer) = Nothing, Optional bus As Nullable(Of Integer) = Nothing, Optional lun As Nullable(Of Integer) = Nothing, Optional busType As String = Nothing, Optional vhdType As String = Nothing, Optional volumeType As String = Nothing, Optional vhdFormatType As String = Nothing, Optional templateDiskId As String = Nothing, Optional storageQosPolicy As ScVmmStorageQosPolicyDetails = Nothing, Optional createDiffDisk As Nullable(Of CreateDiffDisk) = Nothing) As ScVmmVirtualDisk
Parameters
- name
- String
Gets or sets the name of the disk.
- displayName
- String
Gets the display name of the virtual disk as shown in the vmmServer. This is the fallback label for a disk when the name is not set.
- diskId
- String
Gets or sets the disk id.
- busType
- String
Gets or sets the disk bus type.
- vhdType
- String
Gets or sets the disk vhd type.
- volumeType
- String
Gets the disk volume type.
- vhdFormatType
- String
Gets the disk vhd format type.
- templateDiskId
- String
Gets or sets the disk id in the template.
- storageQosPolicy
- ScVmmStorageQosPolicyDetails
The QoS policy for the disk.
- createDiffDisk
- Nullable<CreateDiffDisk>
Gets or sets a value indicating diff disk.
Returns
A new ScVmmVirtualDisk instance for mocking.
Applies to
Azure SDK for .NET