az sig
Manage shared image gallery.
Commands
az sig create |
Create a share image gallery. |
az sig delete |
Delete a Shared Image Gallery. |
az sig image-definition |
Create an image definition. |
az sig image-definition create |
Create a gallery image definition. |
az sig image-definition delete |
Delete a gallery image. |
az sig image-definition list |
List gallery image definitions in a gallery. |
az sig image-definition show |
Retrieves information about a gallery image definition. |
az sig image-definition update |
Update a share image defintiion. |
az sig image-version |
Create a new version from an image defintion. |
az sig image-version create |
Create a new image version. |
az sig image-version delete |
Delete a gallery image version. |
az sig image-version list |
List gallery image versions in a gallery image definition. |
az sig image-version show |
Retrieves information about a gallery image version. |
az sig image-version update |
Update a share image version. |
az sig image-version wait |
Wait for image version related operation. |
az sig list |
List share image galleries. |
az sig show |
Retrieves information about a Shared Image Gallery. |
az sig update |
Update a share image gallery. |
az sig create
Create a share image gallery.
az sig create --gallery-name
--resource-group
[--description]
[--location]
[--subscription]
[--tags]
Examples
create a share image gallery. (autogenerated)
az sig create --gallery-name MyGallery --resource-group MyResourceGroup
Required Parameters
Gallery name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The description of the gallery.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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.
Increase logging verbosity. Use --debug for full debug logs.
az sig delete
Delete a Shared Image Gallery.
az sig delete --gallery-name
--resource-group
[--subscription]
Required Parameters
Gallery name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az sig list
List share image galleries.
az sig list [--query-examples]
[--resource-group]
[--subscription]
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az sig show
Retrieves information about a Shared Image Gallery.
az sig show [--gallery-name]
[--ids]
[--query-examples]
[--resource-group]
[--subscription]
Optional Parameters
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.
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az sig update
Update a share image gallery.
az sig update --gallery-name
--resource-group
[--add]
[--force-string]
[--remove]
[--set]
[--subscription]
Examples
update a share image gallery. (autogenerated)
az sig update --gallery-name mygallery --resource-group myresourcegroup --set publishingProfile.excludeFromLatest=true
Required Parameters
Gallery name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.