WindowsVirtualMachineScaleSetDataDisk

data class WindowsVirtualMachineScaleSetDataDisk(val caching: String, val createOption: String? = null, val diskEncryptionSetId: String? = null, val diskSizeGb: Int, val lun: Int, val name: String? = null, val storageAccountType: String, val ultraSsdDiskIopsReadWrite: Int? = null, val ultraSsdDiskMbpsReadWrite: Int? = null, val writeAcceleratorEnabled: Boolean? = null)

Constructors

Link copied to clipboard
constructor(caching: String, createOption: String? = null, diskEncryptionSetId: String? = null, diskSizeGb: Int, lun: Int, name: String? = null, storageAccountType: String, ultraSsdDiskIopsReadWrite: Int? = null, ultraSsdDiskMbpsReadWrite: Int? = null, writeAcceleratorEnabled: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The type of Caching which should be used for this Data Disk. Possible values are None, ReadOnly and ReadWrite.

Link copied to clipboard
val createOption: String? = null

The create option which should be used for this Data Disk. Possible values are Empty and FromImage. Defaults to Empty. (FromImage should only be used if the source image includes data disks).

Link copied to clipboard

The ID of the Disk Encryption Set which should be used to encrypt this Data Disk. Changing this forces a new resource to be created.

Link copied to clipboard

The size of the Data Disk which should be created.

Link copied to clipboard
val lun: Int

The Logical Unit Number of the Data Disk, which must be unique within the Virtual Machine.

Link copied to clipboard
val name: String? = null

The name of the Data Disk.

Link copied to clipboard

The Type of Storage Account which should back this Data Disk. Possible values include Standard_LRS, StandardSSD_LRS, StandardSSD_ZRS, Premium_LRS, PremiumV2_LRS, Premium_ZRS and UltraSSD_LRS.

Link copied to clipboard

Specifies the Read-Write IOPS for this Data Disk. Only settable when storage_account_type is PremiumV2_LRS or UltraSSD_LRS.

Link copied to clipboard

Specifies the bandwidth in MB per second for this Data Disk. Only settable when storage_account_type is PremiumV2_LRS or UltraSSD_LRS.

Link copied to clipboard

Should Write Accelerator be enabled for this Data Disk? Defaults to false.