Share via


az vmss extension image

Find the available VM extensions for a subscription and region.

Commands

Name Description Type Status
az vmss extension image list

List the information on available extensions.

Core GA
az vmss extension image list-names

List virtual machine extension image types.

Core GA
az vmss extension image list-versions

List virtual machine extension image versions.

Core GA
az vmss extension image show

Get a virtual machine extension image.

Core GA

az vmss extension image list

List the information on available extensions.

az vmss extension image list [--latest]
                             [--location]
                             [--name]
                             [--publisher]
                             [--version]

Examples

List the unique publishers for extensions.

az vmss extension image list --query "[].publisher" -o tsv | sort -u

Find extensions with "Docker" in the name.

az vmss extension image list --query "[].name" -o tsv | sort -u | grep Docker

List extension names where the publisher name starts with "Microsoft.Azure.App".

az vmss extension image list --query \
    "[?starts_with(publisher, 'Microsoft.Azure.App')].publisher" \
    -o tsv | sort -u | xargs -I{} az vmss extension image list-names --publisher {} -l westus

Optional Parameters

--latest

Show the latest version only.

Default value: False
--location -l

Image location.

--name -n

Image name.

--publisher -p

Image publisher name.

--version

Extension version.

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 vmss extension image list-names

List virtual machine extension image types.

az vmss extension image list-names [--ids]
                                   [--location]
                                   [--publisher]
                                   [--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.

--location -l

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

--publisher --publisher-name -p

Image publisher 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 vmss extension image list-versions

List virtual machine extension image versions.

az vmss extension image list-versions [--filter]
                                      [--ids]
                                      [--location]
                                      [--name]
                                      [--orderby]
                                      [--publisher]
                                      [--subscription]
                                      [--top]

Optional Parameters

--filter

The filter to apply on the operation. Default value is None.

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

--location -l

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

--name --type -n

Name of the extension.

--orderby

The $orderby odata query option.

--publisher --publisher-name -p

Image publisher name.

--subscription

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

--top

The $top odata query option.

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 vmss extension image show

Get a virtual machine extension image.

az vmss extension image show [--ids]
                             [--location]
                             [--name]
                             [--publisher]
                             [--subscription]
                             [--version]

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.

--location -l

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

--name --type -n

Name of the extension.

--publisher --publisher-name -p

Image publisher name.

--subscription

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

--version

Extension version.

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.