az batch pool supported-images

Query information on VM images supported by Azure Batch service.

Commands

Name Description Type Status
az batch pool supported-images list

Lists all Virtual Machine Images supported by the Azure Batch service.

Core GA

az batch pool supported-images list

Lists all Virtual Machine Images supported by the Azure Batch service.

This command needs a Batch account. Select one with 'az batch account login', or pass --account-name and --account-endpoint (and --account-key for Shared Key authentication).

az batch pool supported-images list [--account-endpoint]
                                    [--account-key]
                                    [--account-name]
                                    [--filter]

Examples

List the images supported by the Batch account selected with 'az batch account login'.

az batch pool supported-images list

List the images supported by a Batch account, using your 'az login' credentials (Microsoft Entra ID).

az batch pool supported-images list --account-name mybatchaccount --account-endpoint https://mybatchaccount.eastus.batch.azure.com

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-endpoint

Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.

Property Value
Parameter group: Batch Account Arguments
--account-key

Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.

Property Value
Parameter group: Batch Account Arguments
--account-name

Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.

Property Value
Parameter group: Batch Account Arguments
--filter

An OData $filter clause. For more information on constructing this filter,see https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch.

Property Value
Parameter group: Pre-condition and Query Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False