az sig gallery-application version
Manage gallery application version.
Commands
Name | Description | Type | Status |
---|---|---|---|
az sig gallery-application version create |
Create a gallery Application Version. |
Core | GA |
az sig gallery-application version delete |
Delete a gallery application version. |
Core | GA |
az sig gallery-application version list |
List gallery application versions. |
Core | GA |
az sig gallery-application version show |
Get information about a gallery application version. |
Core | GA |
az sig gallery-application version update |
Update a gallery Application Version. |
Core | GA |
az sig gallery-application version wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az sig gallery-application version create
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]
Examples
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
Required Parameters
The name of the gallery Application.
Gallery name.
The path and arguments to install the gallery application.
The name of the gallery Application Version.
The mediaLink of the artifact, must be a readable storage page blob.
The path and arguments to remove the gallery application.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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".
The default configuration link of the artifact, must be a readable storage page blob.
The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
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.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The target regions where the Image Version isgoing to be replicated to. This property is updatable. Expected value: json-string/json-file/@json-file.
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.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sig gallery-application version delete
Delete a gallery application version.
az sig gallery-application version delete [--application-name]
[--gallery-application-version-name]
[--gallery-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Optional Parameters
The name of the gallery application.
The name of the gallery application version.
Gallery name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sig gallery-application version list
List gallery application versions.
az sig gallery-application version list --application-name
--gallery-name
--resource-group
Required Parameters
The name of the gallery application.
Gallery name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sig gallery-application version show
Get information about a gallery application version.
az sig gallery-application version show [--application-name]
[--expand {ReplicationStatus}]
[--gallery-application-version-name]
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
Optional Parameters
The name of the gallery application.
The expand expression to apply on the operation. "ReplicationStatus" Default value is None.
The name of the gallery application version.
Gallery name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sig gallery-application version update
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]
Examples
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"
Required Parameters
The name of the gallery Application.
Gallery name.
The name of the gallery Application Version.
The mediaLink of the artifact, must be a readable storage page blob.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The default configuration link of the artifact, must be a readable storage page blob.
The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Do not wait for the long-running operation to finish.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
The target regions where the Image Version isgoing to be replicated to. This property is updatable. Expected value: json-string/json-file/@json-file.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az sig gallery-application version wait
Place the CLI in a waiting state until a condition is met.
az sig gallery-application version wait [--application-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--expand {ReplicationStatus}]
[--gallery-application-version-name]
[--gallery-name]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Optional Parameters
The name of the gallery application.
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
The expand expression to apply on the operation. "ReplicationStatus" Default value is None.
The name of the gallery application version.
Gallery name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.