Share via


az azurestackhci galleryimage

Note

This reference is part of the azurestackhci extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az azurestackhci galleryimage command. Learn more about extensions.

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image' instead of 'az azurestackhci galleryimage'.

Commands

Name Description Type Status
az azurestackhci galleryimage create

Please use 'az azurestackhci image create' instead of 'az azurestackhci galleryimage create'.

Extension Experimental
az azurestackhci galleryimage delete

Please use 'az azurestackhci image delete' instead of 'az azurestackhci galleryimage delete'.

Extension Experimental
az azurestackhci galleryimage list

Please use 'az azurestackhci image list' instead of 'az azurestackhci galleryimage list'.

Extension Experimental
az azurestackhci galleryimage show

Please use 'az azurestackhci image show' instead of 'az azurestackhci galleryimage show'.

Extension Experimental
az azurestackhci galleryimage update

Please use 'az azurestackhci image update' instead of 'az azurestackhci galleryimage update'.

Extension Experimental

az azurestackhci galleryimage create

Experimental

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image create' instead of 'az azurestackhci galleryimage create'.

az azurestackhci galleryimage create --name
                                     --resource-group
                                     [--extended-location]
                                     [--image-path]
                                     [--location]
                                     [--offer]
                                     [--os-type {Linux, Windows}]
                                     [--publisher]
                                     [--sku]
                                     [--storagepath-id]
                                     [--tags]
                                     [--version]

Required Parameters

--name

Name of the gallery image.

--resource-group -g

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

Optional Parameters

--extended-location

Usage: --extended-location type=XX name=XX

type: The extended location type. name: The extended location name.

--image-path

Location of the image the gallery image should be created from.

--location -l

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

--offer

Offer for Marketplace image.

--os-type

OS Type.

Accepted values: Linux, Windows
--publisher

Publisher for Marketplace image.

--sku

Sku for Marketplace image.

--storagepath-id

Azure ID of the Storage Path which is used to store the Gallery Images.

--tags

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

--version

Version for Marketplace image.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az azurestackhci galleryimage delete

Experimental

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image delete' instead of 'az azurestackhci galleryimage delete'.

az azurestackhci galleryimage delete [--ids]
                                     [--name]
                                     [--resource-group]
                                     [--subscription]
                                     [--yes]

Optional Parameters

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

--name

Name of the gallery image.

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

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az azurestackhci galleryimage list

Experimental

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image list' instead of 'az azurestackhci galleryimage list'.

az azurestackhci galleryimage list [--resource-group]

Optional Parameters

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az azurestackhci galleryimage show

Experimental

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image show' instead of 'az azurestackhci galleryimage show'.

az azurestackhci galleryimage show [--ids]
                                   [--name]
                                   [--resource-group]
                                   [--subscription]

Optional Parameters

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

--name

Name of the gallery image.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az azurestackhci galleryimage update

Experimental

Command group 'azurestackhci' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Please use 'az azurestackhci image update' instead of 'az azurestackhci galleryimage update'.

az azurestackhci galleryimage update [--ids]
                                     [--name]
                                     [--resource-group]
                                     [--subscription]
                                     [--tags]

Optional Parameters

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

--name

Name of the gallery image.

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

--tags

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

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

--verbose

Increase logging verbosity. Use --debug for full debug logs.