az sig gallery-application version

Manage gallery application version.

Commands

az sig gallery-application version create

Create a gallery Application Version.

az sig gallery-application version delete

Delete a gallery Application Version.

az sig gallery-application version list

List gallery Application Versions in a gallery Application Definition.

az sig gallery-application version show

Retrieves information about a gallery Application Version.

az sig gallery-application version update

Update a gallery Application Version.

Create a gallery Application Version.

az sig gallery-application version create --application-name
                                          --gallery-name
                                          --install-command
                                          --name
                                          --package-file-link
                                          --remove-command
                                          --resource-group
                                          [--config-file-name]
                                          [--default-file-link]
                                          [--end-of-life-date]
                                          [--exclude-from {false, true}]
                                          [--location]
                                          [--no-wait]
                                          [--package-file-name]
                                          [--tags]
                                          [--target-regions]
                                          [--update-command]

Create a simple gallery Application Version.

az sig gallery-application version create --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob}  --install-command installCommand  --remove-command removeCommand
--application-name

The name of the gallery Application.

--gallery-name -r

Gallery name.

--install-command

The path and arguments to install the gallery application.

--name --version-name -n

The name of the gallery Application Version.

--package-file-link

The mediaLink of the artifact, must be a readable storage page blob.

--remove-command

The path and arguments to remove the gallery application.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--config-file-name

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".

--default-file-link

The default configuration link of the artifact, must be a readable storage page blob.

--end-of-life-date

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

--exclude-from

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

accepted values: false, true
--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

--package-file-name

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.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--target-regions

The target regions where the Image Version isgoing to be replicated to. This property is updatable. Expected value: json-string/json-file/@json-file.

--update-command

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.

Delete a gallery Application Version.

az sig gallery-application version delete --application-name
                                          --gallery-name
                                          --name
                                          --resource-group
                                          [--no-wait]
                                          [--yes]
--application-name

The name of the gallery Application.

--gallery-name -r

Gallery name.

--name --version-name -n

The name of the gallery Application Version.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--no-wait

Do not wait for the long-running operation to finish.

--yes -y

Do not prompt for confirmation.

List gallery Application Versions in a gallery Application Definition.

az sig gallery-application version list --application-name
                                        --gallery-name
                                        --resource-group
--application-name

The name of the gallery Application.

--gallery-name -r

Gallery name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Retrieves information about a gallery Application Version.

az sig gallery-application version show --application-name
                                        --gallery-name
                                        --name
                                        --resource-group
                                        [--expand]
--application-name

The name of the gallery Application.

--gallery-name -r

Gallery name.

--name --version-name -n

The name of the gallery Application Version.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--expand

The expand expression to apply on the operation. "ReplicationStatus" Default value is None.

Update a gallery Application Version.

az sig gallery-application version update --application-name
                                          --gallery-name
                                          --name
                                          --package-file-link
                                          --resource-group
                                          [--default-file-link]
                                          [--end-of-life-date]
                                          [--exclude-from {false, true}]
                                          [--location]
                                          [--no-wait]
                                          [--tags]
                                          [--target-regions]

Update a simple gallery Application Version.

az sig gallery-application version update --gallery-name myGalleryName --application-name myGalleryApplicationName -n 1.0.0 -g myResourceGroup --package-file-link https://{myStorageAccount}.blob.core.windows.net/{myStorageContainer}/{myStorageBlob} --end-of-life-date "2050-07-01T07:00:00Z"
--application-name

The name of the gallery Application.

--gallery-name -r

Gallery name.

--name --version-name -n

The name of the gallery Application Version.

--package-file-link

The mediaLink of the artifact, must be a readable storage page blob.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--default-file-link

The default configuration link of the artifact, must be a readable storage page blob.

--end-of-life-date

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

--exclude-from

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

accepted values: false, true
--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--no-wait

Do not wait for the long-running operation to finish.

--tags

Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.

--target-regions

The target regions where the Image Version isgoing to be replicated to. This property is updatable. Expected value: json-string/json-file/@json-file.