ImageOSDiskArgs

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

Describes an Operating System disk.

Constructors

Link copied to clipboard
constructor(blobUri: Output<String>? = null, caching: Output<CachingTypes>? = null, diskEncryptionSet: Output<DiskEncryptionSetParametersArgs>? = null, diskSizeGB: Output<Int>? = null, managedDisk: Output<SubResourceArgs>? = null, osState: Output<OperatingSystemStateTypes>, osType: Output<OperatingSystemTypes>, 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 managedDisk: Output<SubResourceArgs>? = null

The managedDisk.

Link copied to clipboard

The OS State. For managed images, use Generalized.

Link copied to clipboard

This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. Possible values are: Windows, Linux.

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(): ImageOSDiskArgs