az batch task subtask

Manage subtask information of a Batch task.

Commands

az batch task subtask list

Lists all of the subtasks that are associated with the specified multi-instance Task.

az batch task subtask list

Lists all of the subtasks that are associated with the specified multi-instance Task.

If the Task is not a multi-instance Task then this returns an empty collection.

az batch task subtask list --job-id
                           --task-id
                           [--account-endpoint]
                           [--account-key]
                           [--account-name]
                           [--query-examples]
                           [--select]
                           [--subscription]

Required Parameters

--job-id

The ID of the Job.

--task-id

The ID of the Task.

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.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--select

An OData $select clause.

--subscription

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