az vmss extension image

Find the available VM extensions for a subscription and region.

Commands

az vmss extension image list List the information on available extensions.
az vmss extension image list-names Gets a list of virtual machine extension image types.
az vmss extension image list-versions Gets a list of virtual machine extension image versions.
az vmss extension image show Gets a virtual machine extension image.

az vmss extension image list

List the information on available extensions.

az vmss extension image list [--latest]
[--location]
[--name]
[--publisher]
[--subscription]
[--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.

--location -l

Image location.

--name -n

Image name.

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

az vmss extension image list-names

Gets a list of virtual machine extension image types.

az vmss extension image list-names --location
--publisher
[--subscription]

Required Parameters

--location -l

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

--publisher -p

Image publisher name.

Optional Parameters

--subscription

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

az vmss extension image list-versions

Gets a list of virtual machine extension image versions.

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

Required Parameters

--location -l

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

--name -n

Name of the extension.

--publisher -p

Image publisher name.

Optional Parameters

--filter

The filter to apply on the operation.

--orderby

The $orderby odata query option.

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

az vmss extension image show

Gets a virtual machine extension image.

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

Required Parameters

--location -l

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

--name -n

Name of the extension.

--publisher -p

Image publisher name.

--version

Extension version.

Optional Parameters

--subscription

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