pub struct ImageArgs {
pub data_disks: Output<Option<Vec<ImageDataDisk>>>,
pub hyper_v_generation: Output<Option<String>>,
pub location: Output<Option<String>>,
pub name: Output<Option<String>>,
pub os_disk: Output<Option<ImageOsDisk>>,
pub resource_group_name: Output<String>,
pub source_virtual_machine_id: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub zone_resilient: Output<Option<bool>>,
}
Fields§
§data_disks: Output<Option<Vec<ImageDataDisk>>>
One or more data_disk
blocks as defined below.
hyper_v_generation: Output<Option<String>>
The HyperVGenerationType of the VirtualMachine created from the image as V1
, V2
. Defaults to V1
. Changing this forces a new resource to be created.
Note:
zone_resilient
can only be set totrue
if the image is stored in a region that supports availability zones.
location: Output<Option<String>>
Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
name: Output<Option<String>>
Specifies the name of the image. Changing this forces a new resource to be created.
os_disk: Output<Option<ImageOsDisk>>
One or more os_disk
blocks as defined below. Changing this forces a new resource to be created.
resource_group_name: Output<String>
The name of the resource group in which to create the image. Changing this forces a new resource to be created.
source_virtual_machine_id: Output<Option<String>>
The Virtual Machine ID from which to create the image.
A mapping of tags to assign to the resource.
zone_resilient: Output<Option<bool>>
Is zone resiliency enabled? Defaults to false
. Changing this forces a new resource to be created.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageArgs
impl RefUnwindSafe for ImageArgs
impl Send for ImageArgs
impl Sync for ImageArgs
impl Unpin for ImageArgs
impl UnwindSafe for ImageArgs
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
)