pub struct DataDiskAttachmentArgs {
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
.
Implementations§
source§impl DataDiskAttachmentArgs
impl DataDiskAttachmentArgs
sourcepub fn builder() -> DataDiskAttachmentArgsBuilder
pub fn builder() -> DataDiskAttachmentArgsBuilder
Create an instance of DataDiskAttachmentArgs
using the builder syntax
Trait Implementations§
source§impl Clone for DataDiskAttachmentArgs
impl Clone for DataDiskAttachmentArgs
source§fn clone(&self) -> DataDiskAttachmentArgs
fn clone(&self) -> DataDiskAttachmentArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DataDiskAttachmentArgs
impl RefUnwindSafe for DataDiskAttachmentArgs
impl Send for DataDiskAttachmentArgs
impl Sync for DataDiskAttachmentArgs
impl Unpin for DataDiskAttachmentArgs
impl UnwindSafe for DataDiskAttachmentArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)