VirtualMachineScaleSetDataDiskResponse

data class VirtualMachineScaleSetDataDiskResponse(val caching: String? = null, val createOption: String, val diskIOPSReadWrite: Double? = null, val diskMBpsReadWrite: Double? = null, val diskSizeGB: Int? = null, val lun: Int, val managedDisk: VirtualMachineScaleSetManagedDiskParametersResponse? = null, val name: String? = null, val writeAcceleratorEnabled: Boolean? = null)

Describes a virtual machine scale set data disk.

Constructors

Link copied to clipboard
constructor(caching: String? = null, createOption: String, diskIOPSReadWrite: Double? = null, diskMBpsReadWrite: Double? = null, diskSizeGB: Int? = null, lun: Int, managedDisk: VirtualMachineScaleSetManagedDiskParametersResponse? = null, name: String? = null, writeAcceleratorEnabled: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val caching: String? = null

Specifies the caching requirements.

Possible values are:

None

ReadOnly

ReadWrite

Default: None for Standard storage. ReadOnly for Premium storage

Link copied to clipboard

The create option.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
val diskSizeGB: Int? = null

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.

This value cannot be larger than 1023 GB

Link copied to clipboard
val lun: Int

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.

Link copied to clipboard

The managed disk parameters.

Link copied to clipboard
val name: String? = null

The disk name.

Link copied to clipboard

Specifies whether writeAccelerator should be enabled or disabled on the disk.