TaskOperationsExtensions.List Method

Definition

Lists all of the Tasks that are associated with the specified Job.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudTask> List (this Microsoft.Azure.Batch.Protocol.ITaskOperations operations, string jobId, Microsoft.Azure.Batch.Protocol.Models.TaskListOptions taskListOptions = default);
static member List : Microsoft.Azure.Batch.Protocol.ITaskOperations * string * Microsoft.Azure.Batch.Protocol.Models.TaskListOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudTask>
<Extension()>
Public Function List (operations As ITaskOperations, jobId As String, Optional taskListOptions As TaskListOptions = Nothing) As IPage(Of CloudTask)

Parameters

operations
ITaskOperations

The operations group for this extension method.

jobId
String

The ID of the Job.

taskListOptions
TaskListOptions

Additional parameters for the operation

Returns

Remarks

For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.

Applies to