A relative URI containing the resource ID of the disk encryption set.
string
lun
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
int (required)
EncryptionImages
Name
Description
Value
dataDiskImages
A list of encryption specifications for data disk images.
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
replicationMode
Optional parameter which specifies the mode to be used for replication. This property is not updatable.
'Full' 'Shallow'
settings
Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
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.
Contains the flag setting to hide an image when users specify version='latest'
bool
name
The name of the region.
string (required)
regionalReplicaCount
The number of replicas of the Image Version to be created per region. This property is updatable.
int
storageAccountType
Specifies the storage account type to be used to store the image. This property is not updatable.
'Premium_LRS' 'Standard_LRS' 'Standard_ZRS'
UserArtifactManage
Name
Description
Value
install
Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
string (required)
remove
Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
string (required)
update
Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
string
UserArtifactSettings
Name
Description
Value
configFileName
Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config".
string
packageFileName
Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.
string
UserArtifactSource
Name
Description
Value
defaultConfigurationLink
Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
string
mediaLink
Required. The mediaLink of the artifact, must be a readable storage page blob.
string (required)
ARM template resource definition
The galleries/applications/versions resource type can be deployed with operations that target:
A relative URI containing the resource ID of the disk encryption set.
string
lun
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
int (required)
EncryptionImages
Name
Description
Value
dataDiskImages
A list of encryption specifications for data disk images.
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
replicationMode
Optional parameter which specifies the mode to be used for replication. This property is not updatable.
'Full' 'Shallow'
settings
Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
Contains the flag setting to hide an image when users specify version='latest'
bool
name
The name of the region.
string (required)
regionalReplicaCount
The number of replicas of the Image Version to be created per region. This property is updatable.
int
storageAccountType
Specifies the storage account type to be used to store the image. This property is not updatable.
'Premium_LRS' 'Standard_LRS' 'Standard_ZRS'
UserArtifactManage
Name
Description
Value
install
Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
string (required)
remove
Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
string (required)
update
Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
string
UserArtifactSettings
Name
Description
Value
configFileName
Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config".
string
packageFileName
Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.
string
UserArtifactSource
Name
Description
Value
defaultConfigurationLink
Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
string
mediaLink
Required. The mediaLink of the artifact, must be a readable storage page blob.
string (required)
Terraform (AzAPI provider) resource definition
The galleries/applications/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/applications/versions resource, add the following Terraform to your template.
A relative URI containing the resource ID of the disk encryption set.
string
lun
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
int (required)
EncryptionImages
Name
Description
Value
dataDiskImages
A list of encryption specifications for data disk images.
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
replicationMode
Optional parameter which specifies the mode to be used for replication. This property is not updatable.
'Full' 'Shallow'
settings
Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
Contains the flag setting to hide an image when users specify version='latest'
bool
name
The name of the region.
string (required)
regionalReplicaCount
The number of replicas of the Image Version to be created per region. This property is updatable.
int
storageAccountType
Specifies the storage account type to be used to store the image. This property is not updatable.
'Premium_LRS' 'Standard_LRS' 'Standard_ZRS'
UserArtifactManage
Name
Description
Value
install
Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
string (required)
remove
Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
string (required)
update
Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
string
UserArtifactSettings
Name
Description
Value
configFileName
Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config".
string
packageFileName
Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.
string
UserArtifactSource
Name
Description
Value
defaultConfigurationLink
Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
string
mediaLink
Required. The mediaLink of the artifact, must be a readable storage page blob.