pub struct SharedImageVersionResult {Show 15 fields
pub blob_uri: Output<Option<String>>,
pub deletion_of_replicated_locations_enabled: Output<Option<bool>>,
pub end_of_life_date: Output<Option<String>>,
pub exclude_from_latest: Output<Option<bool>>,
pub gallery_name: Output<String>,
pub image_name: Output<String>,
pub location: Output<String>,
pub managed_image_id: Output<Option<String>>,
pub name: Output<String>,
pub os_disk_snapshot_id: Output<Option<String>>,
pub replication_mode: Output<Option<String>>,
pub resource_group_name: Output<String>,
pub storage_account_id: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub target_regions: Output<Vec<SharedImageVersionTargetRegion>>,
}
Fields§
§blob_uri: Output<Option<String>>
URI of the Azure Storage Blob used to create the Image Version. Changing this forces a new resource to be created.
NOTE: You must specify exact one of
blob_uri
,managed_image_id
andos_disk_snapshot_id
.
NOTE:
blob_uri
andstorage_account_id
must be specified together
deletion_of_replicated_locations_enabled: Output<Option<bool>>
Specifies whether this Shared Image Version can be deleted from the Azure Regions this is replicated to. Defaults to false
. Changing this forces a new resource to be created.
end_of_life_date: Output<Option<String>>
The end of life date in RFC3339 format of the Image Version.
exclude_from_latest: Output<Option<bool>>
Should this Image Version be excluded from the latest
filter? If set to true
this Image Version won’t be returned for the latest
version. Defaults to false
.
gallery_name: Output<String>
The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
image_name: Output<String>
The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
location: Output<String>
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
managed_image_id: Output<Option<String>>
The ID of the Managed Image or Virtual Machine ID which should be used for this Shared Image Version. Changing this forces a new resource to be created.
NOTE: The ID can be sourced from the
azure.compute.Image
data source or resource
NOTE: You must specify exact one of
blob_uri
,managed_image_id
andos_disk_snapshot_id
.
name: Output<String>
The version number for this Image Version, such as 1.0.0
. Changing this forces a new resource to be created.
os_disk_snapshot_id: Output<Option<String>>
The ID of the OS disk snapshot which should be used for this Shared Image Version. Changing this forces a new resource to be created.
NOTE: You must specify exact one of
blob_uri
,managed_image_id
andos_disk_snapshot_id
.
replication_mode: Output<Option<String>>
Mode to be used for replication. Possible values are Full
and Shallow
. Defaults to Full
. Changing this forces a new resource to be created.
resource_group_name: Output<String>
The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
storage_account_id: Output<Option<String>>
The ID of the Storage Account where the Blob exists. Changing this forces a new resource to be created.
NOTE:
blob_uri
andstorage_account_id
must be specified together
A collection of tags which should be applied to this resource.
target_regions: Output<Vec<SharedImageVersionTargetRegion>>
One or more target_region
blocks as documented below.