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 -r

Gallery name.

--resource-group -g

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

Optional Parameters

--description

The description of the gallery.

--location -l

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tags

Space-separated tags in 'key[=value]' format. Use "" to clear existing tags.

az sig delete

Delete a Shared Image Gallery.

az sig delete --gallery-name
--resource-group
[--subscription]

Required Parameters

--gallery-name -r

Gallery name.

--resource-group -g

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

Optional Parameters

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sig list

List share image galleries.

az sig list [--resource-group]
[--subscription]

Optional Parameters

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sig show

Retrieves information about a Shared Image Gallery.

az sig show [--gallery-name]
[--ids]
[--resource-group]
[--subscription]

Optional Parameters

--gallery-name -r

Gallery name.

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--resource-group -g

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az sig update

Update a share image gallery.

az sig update --gallery-name
--resource-group
[--add]
[--force-string]
[--remove]
[--set]
[--subscription]

Required Parameters

--gallery-name -r

Gallery name.

--resource-group -g

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

Optional Parameters

--add

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

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

--remove

Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.