pub struct ImplicitDataDiskFromSourceArgs {
pub caching: Output<Option<String>>,
pub create_option: Output<String>,
pub disk_size_gb: Output<i32>,
pub lun: Output<i32>,
pub name: Output<Option<String>>,
pub source_resource_id: Output<String>,
pub virtual_machine_id: Output<String>,
pub write_accelerator_enabled: Output<Option<bool>>,
}
Fields§
§caching: Output<Option<String>>
Specifies the caching requirements for this Data Disk. Possible values are ReadOnly
and ReadWrite
.
create_option: Output<String>
Specifies the Create Option of the Data Disk. The only possible value is Copy
. Changing this forces a new resource to be created.
disk_size_gb: Output<i32>
Specifies the size of the Data Disk in gigabytes. 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.
name: Output<Option<String>>
Specifies the name of this Data Disk. Changing this forces a new resource to be created.
source_resource_id: Output<String>
The ID of the source resource which this Data Disk was created from. 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 ImplicitDataDiskFromSourceArgs
impl ImplicitDataDiskFromSourceArgs
sourcepub fn builder() -> ImplicitDataDiskFromSourceArgsBuilder
pub fn builder() -> ImplicitDataDiskFromSourceArgsBuilder
Create an instance of ImplicitDataDiskFromSourceArgs
using the builder syntax
Trait Implementations§
source§impl Clone for ImplicitDataDiskFromSourceArgs
impl Clone for ImplicitDataDiskFromSourceArgs
source§fn clone(&self) -> ImplicitDataDiskFromSourceArgs
fn clone(&self) -> ImplicitDataDiskFromSourceArgs
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 ImplicitDataDiskFromSourceArgs
impl RefUnwindSafe for ImplicitDataDiskFromSourceArgs
impl Send for ImplicitDataDiskFromSourceArgs
impl Sync for ImplicitDataDiskFromSourceArgs
impl Unpin for ImplicitDataDiskFromSourceArgs
impl UnwindSafe for ImplicitDataDiskFromSourceArgs
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
)