Share via


CreateTask interface

Methods

get(ListTasksParameters)

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.

post(CreateTaskParameters)

The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.

Method Details

get(ListTasksParameters)

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.

function get(options?: ListTasksParameters): StreamableMethod<ListTasks200Response | ListTasksDefaultResponse>

Parameters

Returns

post(CreateTaskParameters)

The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.

function post(options: CreateTaskParameters): StreamableMethod<CreateTask201Response | CreateTaskDefaultResponse>

Parameters

Returns