Virtual Machine Storage Os Disk Args
Constructors
Properties
Specifies how the OS Disk should be created. Possible values are Attach
(managed disks only) and FromImage
.
Specifies the size of the OS Disk in gigabytes.
Specifies the ID of an existing Managed Disk which should be attached as the OS Disk of this Virtual Machine. If this is set then the create_option
must be set to Attach
. Changing this forces a new resource to be created.
Specifies the type of Managed Disk which should be created. Possible values are Standard_LRS
, StandardSSD_LRS
or Premium_LRS
. The following properties apply when using Unmanaged Disks:
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: