ImageDataDiskResponse

data class ImageDataDiskResponse(val blobUri: String? = null, val caching: String? = null, val diskEncryptionSet: DiskEncryptionSetParametersResponse? = null, val diskSizeGB: Int? = null, val lun: Int, val managedDisk: SubResourceResponse? = null, val snapshot: SubResourceResponse? = null, val storageAccountType: String? = null)

Describes a data disk.

Constructors

Link copied to clipboard
constructor(blobUri: String? = null, caching: String? = null, diskEncryptionSet: DiskEncryptionSetParametersResponse? = null, diskSizeGB: Int? = null, lun: Int, managedDisk: SubResourceResponse? = null, snapshot: SubResourceResponse? = null, storageAccountType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val blobUri: String? = null

The Virtual Hard Disk.

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

Specifies the customer managed disk encryption set resource id for the managed image disk.

Link copied to clipboard
val diskSizeGB: Int? = null

Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name 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 managedDisk.

Link copied to clipboard

The snapshot.

Link copied to clipboard

Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.