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: key[=value] [key[=value] ...]. 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 [--query-examples]
            [--resource-group]
            [--subscription]

Optional Parameters

--query-examples

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.

--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]
            [--query-examples]
            [--resource-group]
            [--subscription]

Optional Parameters

--gallery-name -r

Gallery name.

--ids

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.

--query-examples

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.

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

Examples

update a share image gallery. (autogenerated)

az sig update --gallery-name mygallery --resource-group myresourcegroup --set publishingProfile.excludeFromLatest=true

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.