ImageDataDiskArgs

data class ImageDataDiskArgs(val blobUri: Output<String>? = null, val caching: Output<CachingTypes>? = null, val diskEncryptionSet: Output<DiskEncryptionSetParametersArgs>? = null, val diskSizeGB: Output<Int>? = null, val lun: Output<Int>, val managedDisk: Output<SubResourceArgs>? = null, val snapshot: Output<SubResourceArgs>? = null, val storageAccountType: Output<Either<String, StorageAccountTypes>>? = null) : ConvertibleToJava<ImageDataDiskArgs>

Describes a data disk.

Constructors

Link copied to clipboard
constructor(blobUri: Output<String>? = null, caching: Output<CachingTypes>? = null, diskEncryptionSet: Output<DiskEncryptionSetParametersArgs>? = null, diskSizeGB: Output<Int>? = null, lun: Output<Int>, managedDisk: Output<SubResourceArgs>? = null, snapshot: Output<SubResourceArgs>? = null, storageAccountType: Output<Either<String, StorageAccountTypes>>? = null)

Properties

Link copied to clipboard
val blobUri: Output<String>? = null

The Virtual Hard Disk.

Link copied to clipboard
val caching: Output<CachingTypes>? = null

Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: 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: Output<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: Output<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
val managedDisk: Output<SubResourceArgs>? = null

The managedDisk.

Link copied to clipboard
val snapshot: Output<SubResourceArgs>? = null

The snapshot.

Link copied to clipboard
val storageAccountType: Output<Either<String, StorageAccountTypes>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): ImageDataDiskArgs