az batch job task-counts
View the number of tasks and slots in a Batch job and their states.
Commands
Name | Description | Type | Status |
---|---|---|---|
az batch job task-counts show |
Gets the Task counts for the specified Job. |
Core | GA |
az batch job task-counts show
Gets the Task counts for the specified Job.
Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.
az batch job task-counts show --job-id
[--account-endpoint]
[--account-key]
[--account-name]
Required Parameters
The ID of the Job. Required.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Batch service endpoint. Alternatively, set by environment variable: AZURE_BATCH_ENDPOINT.
Property | Value |
---|---|
Parameter group: | Batch Account Arguments |
Batch account key. Alternatively, set by environment variable: AZURE_BATCH_ACCESS_KEY.
Property | Value |
---|---|
Parameter group: | Batch Account Arguments |
Batch account name. Alternatively, set by environment variable: AZURE_BATCH_ACCOUNT.
Property | Value |
---|---|
Parameter group: | Batch Account Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |