pub struct ImageResult {
pub data_disks: Output<Option<Vec<ImageDataDisk>>>,
pub hyper_v_generation: Output<Option<String>>,
pub location: Output<String>,
pub name: Output<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<String>
Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
name: Output<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.