VirtualMachineScaleSetDataDisk Class
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.
Describes a virtual machine scale set data disk.
public class VirtualMachineScaleSetDataDisk
type VirtualMachineScaleSetDataDisk = class
Public Class VirtualMachineScaleSetDataDisk
- Inheritance
-
VirtualMachineScaleSetDataDisk
Constructors
VirtualMachineScaleSetDataDisk() |
Initializes a new instance of the VirtualMachineScaleSetDataDisk class. |
VirtualMachineScaleSetDataDisk(Int32, DiskCreateOptionTypes, String, Nullable<CachingTypes>, Nullable<Boolean>, Nullable<Int32>, VirtualMachineScaleSetManagedDiskParameters, Nullable<Int64>, Nullable<Int64>) |
Initializes a new instance of the VirtualMachineScaleSetDataDisk class. |
Properties
Caching |
Gets or sets specifies the caching requirements. <br><br> Possible values are: <br><br> None <br><br> ReadOnly <br><br> ReadWrite <br><br> Default: None for Standard storage. ReadOnly for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite' |
CreateOption |
Gets or sets the create option. Possible values include: 'FromImage', 'Empty', 'Attach' |
DiskIOPSReadWrite |
Gets or sets specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. |
DiskMBpsReadWrite |
Gets or sets specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. |
DiskSizeGB |
Gets or sets specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB |
Lun |
Gets or sets specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. |
ManagedDisk |
Gets or sets the managed disk parameters. |
Name |
Gets or sets the disk name. |
WriteAcceleratorEnabled |
Gets or sets specifies whether writeAccelerator should be enabled or disabled on the disk. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET