pub struct DataDiskAttachmentResult {
pub caching: Output<String>,
pub create_option: Output<Option<String>>,
pub lun: Output<i32>,
pub managed_disk_id: Output<String>,
pub virtual_machine_id: Output<String>,
pub write_accelerator_enabled: Output<Option<bool>>,
}
Fields§
§caching: Output<String>
Specifies the caching requirements for this Data Disk. Possible values include None
, ReadOnly
and ReadWrite
.
create_option: Output<Option<String>>
The Create Option of the Data Disk, such as Empty
or Attach
. Defaults to Attach
. Changing this forces a new resource to be created.
lun: Output<i32>
The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
managed_disk_id: Output<String>
The ID of an existing Managed Disk which should be attached. Changing this forces a new resource to be created.
virtual_machine_id: Output<String>
The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
write_accelerator_enabled: Output<Option<bool>>
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
.