Tasks.listWithServiceResponseAsync 方法

定义

重载

listWithServiceResponseAsync(final String jobId)

Lists all of the tasks that are associated with the specified job. 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.

listWithServiceResponseAsync(final String jobId, final TaskListOptions taskListOptions)

Lists all of the tasks that are associated with the specified job. 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.

listWithServiceResponseAsync(final String jobId)

Lists all of the tasks that are associated with the specified job. 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.

public Observable<ServiceResponseWithHeaders<Page<CloudTask>, TaskListHeaders>> listWithServiceResponseAsync(final String jobId)

参数

jobId
final String

The ID of the job.

返回

Observable<ServiceResponseWithHeaders<Page<CloudTask>, TaskListHeaders>>

the observable to the PagedList<CloudTask> object

例外

IllegalArgumentException

thrown if parameters fail the validation

listWithServiceResponseAsync(final String jobId, final TaskListOptions taskListOptions)

Lists all of the tasks that are associated with the specified job. 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.

public Observable<ServiceResponseWithHeaders<Page<CloudTask>, TaskListHeaders>> listWithServiceResponseAsync(final String jobId, final TaskListOptions taskListOptions)

参数

jobId
final String

The ID of the job.

taskListOptions
final TaskListOptions

Additional parameters for the operation

返回

Observable<ServiceResponseWithHeaders<Page<CloudTask>, TaskListHeaders>>

the observable to the PagedList<CloudTask> object

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于