The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
string
excludeFromLatest
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
bool
replicaCount
The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
int
source
The source image from which the Image Version is going to be created.
In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.
The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
string
excludeFromLatest
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
bool
replicaCount
The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
int
source
The source image from which the Image Version is going to be created.
This template allows you to create a simple Image Version in a Azure Compute Gallery. Please ensure that you have run the Azure Compute Gallery 101 Template and the Image Definition 101 Template before you deploy this.
Terraform (AzAPI provider) resource definition
The galleries/images/versions resource type can be deployed with operations that target:
Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Compute/galleries/images/versions resource, add the following Terraform to your template.
The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.
string
excludeFromLatest
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
bool
replicaCount
The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
int
source
The source image from which the Image Version is going to be created.