az batch pool node-counts

Get node counts for Batch pools.

Commands

Name Description Type Status
az batch pool node-counts list

Gets the number of Compute Nodes in each state, grouped by Pool.

Core GA

az batch pool node-counts list

Gets the number of Compute Nodes in each state, grouped by Pool.

Note that the numbers returned may not always be up to date. If you need exact node counts, use a list query.

az batch pool node-counts list [--account-endpoint]
                               [--account-key]
                               [--account-name]
                               [--filter]

Optional Parameters

--account-endpoint

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

--account-key

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

--account-name

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

--filter

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

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.