StorageProfileArgs

data class StorageProfileArgs(val dataDisks: Output<List<DataDiskArgs>>? = null, val diskControllerType: Output<Either<String, DiskControllerTypes>>? = null, val imageReference: Output<ImageReferenceArgs>? = null, val osDisk: Output<OSDiskArgs>? = null) : ConvertibleToJava<StorageProfileArgs>

Specifies the storage settings for the virtual machine disks.

Constructors

Link copied to clipboard
constructor(dataDisks: Output<List<DataDiskArgs>>? = null, diskControllerType: Output<Either<String, DiskControllerTypes>>? = null, imageReference: Output<ImageReferenceArgs>? = null, osDisk: Output<OSDiskArgs>? = null)

Properties

Link copied to clipboard
val dataDisks: Output<List<DataDiskArgs>>? = null

Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see About disks and VHDs for Azure virtual machines.

Link copied to clipboard
val diskControllerType: Output<Either<String, DiskControllerTypes>>? = null

Specifies the disk controller type configured for the VM. Note: This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.

Link copied to clipboard
val imageReference: Output<ImageReferenceArgs>? = null

Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

Link copied to clipboard
val osDisk: Output<OSDiskArgs>? = null

Specifies information about the operating system disk used by the virtual machine. For more information about disks, see About disks and VHDs for Azure virtual machines.

Functions

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