Virtual Machine Storage Data Disk Args
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
Specifies how the data disk should be created. Possible values are Attach
, FromImage
and Empty
.
Link copied to clipboard
Specifies the size of the data disk in gigabytes.
Link copied to clipboard
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
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
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: