VirtualMachineStorageDataDiskArgs

data class VirtualMachineStorageDataDiskArgs(val caching: Output<String>? = null, val createOption: Output<String>, val diskSizeGb: Output<Int>? = null, val lun: Output<Int>, val managedDiskId: Output<String>? = null, val managedDiskType: Output<String>? = null, val name: Output<String>, val vhdUri: Output<String>? = null, val writeAcceleratorEnabled: Output<Boolean>? = null) : ConvertibleToJava<VirtualMachineStorageDataDiskArgs>

Constructors

Link copied to clipboard
constructor(caching: Output<String>? = null, createOption: Output<String>, diskSizeGb: Output<Int>? = null, lun: Output<Int>, managedDiskId: Output<String>? = null, managedDiskType: Output<String>? = null, name: Output<String>, vhdUri: Output<String>? = null, writeAcceleratorEnabled: Output<Boolean>? = null)

Properties

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

Specifies the caching requirements for the Data Disk. Possible values include None, ReadOnly and ReadWrite.

Link copied to clipboard
val createOption: Output<String>

Specifies how the data disk should be created. Possible values are Attach, FromImage and Empty.

Link copied to clipboard
val diskSizeGb: Output<Int>? = null

Specifies the size of the data disk in gigabytes.

Link copied to clipboard
val lun: Output<Int>

Specifies the logical unit number of the data disk. This needs to be unique within all the Data Disks on the Virtual Machine.

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

Specifies the ID of an Existing Managed Disk which should be attached to this Virtual Machine. When this field is set create_option must be set to Attach. The following properties apply when using Unmanaged Disks:

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

Specifies the type of managed disk to create. Possible values are either Standard_LRS, StandardSSD_LRS, Premium_LRS or UltraSSD_LRS.

Link copied to clipboard
val name: Output<String>

The name of the Data Disk.

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

Specifies the URI of the VHD file backing this Unmanaged Data Disk.

Link copied to clipboard
val writeAcceleratorEnabled: Output<Boolean>? = null

Specifies if Write Accelerator is enabled on the disk. This can only be enabled on Premium_LRS managed disks with no caching and M-Series VMs. Defaults to false. The following properties apply when using Managed Disks:

Functions

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