Tasks Interface
public interface Tasks
An instance of this class provides access to all the operations defined in Tasks.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract void |
add(String jobId, TaskAddParameter task)
Adds a Task to the specified Job. |
abstract void |
add(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
Adds a Task to the specified Job. |
abstract rx.Observable<Void> |
addAsync(String jobId, TaskAddParameter task)
Adds a Task to the specified Job. |
abstract rx.Observable<Void> |
addAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
Adds a Task to the specified Job. |
abstract com.microsoft.rest.ServiceFuture<Void> |
addAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions, ServiceCallback<Void> serviceCallback)
Adds a Task to the specified Job. |
abstract com.microsoft.rest.ServiceFuture<Void> |
addAsync(String jobId, TaskAddParameter task, ServiceCallback<Void> serviceCallback)
Adds a Task to the specified Job. |
abstract
Task |
addCollection(String jobId, List<TaskAddParameter> value)
Adds a collection of Tasks to the specified Job. |
abstract
Task |
addCollection(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of Tasks to the specified Job. |
abstract
rx.Observable<Task |
addCollectionAsync(String jobId, List<TaskAddParameter> value)
Adds a collection of Tasks to the specified Job. |
abstract
rx.Observable<Task |
addCollectionAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of Tasks to the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<Task |
addCollectionAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions, ServiceCallback<TaskAddCollectionResult> serviceCallback)
Adds a collection of Tasks to the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<Task |
addCollectionAsync(String jobId, List<TaskAddParameter> value, ServiceCallback<TaskAddCollectionResult> serviceCallback)
Adds a collection of Tasks to the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Task |
addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value)
Adds a collection of Tasks to the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Task |
addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value, TaskAddCollectionOptions taskAddCollectionOptions)
Adds a collection of Tasks to the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
addWithServiceResponseAsync(String jobId, TaskAddParameter task)
Adds a Task to the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
addWithServiceResponseAsync(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
Adds a Task to the specified Job. |
abstract void |
delete(String jobId, String taskId)
Deletes a Task from the specified Job. |
abstract void |
delete(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
Deletes a Task from the specified Job. |
abstract rx.Observable<Void> |
deleteAsync(String jobId, String taskId)
Deletes a Task from the specified Job. |
abstract rx.Observable<Void> |
deleteAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
Deletes a Task from the specified Job. |
abstract com.microsoft.rest.ServiceFuture<Void> |
deleteAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions, ServiceCallback<Void> serviceCallback)
Deletes a Task from the specified Job. |
abstract com.microsoft.rest.ServiceFuture<Void> |
deleteAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
Deletes a Task from the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
deleteWithServiceResponseAsync(String jobId, String taskId)
Deletes a Task from the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
deleteWithServiceResponseAsync(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
Deletes a Task from the specified Job. |
abstract
Cloud |
get(String jobId, String taskId)
Gets information about the specified Task. |
abstract
Cloud |
get(String jobId, String taskId, TaskGetOptions taskGetOptions)
Gets information about the specified Task. |
abstract
rx.Observable<Cloud |
getAsync(String jobId, String taskId)
Gets information about the specified Task. |
abstract
rx.Observable<Cloud |
getAsync(String jobId, String taskId, TaskGetOptions taskGetOptions)
Gets information about the specified Task. |
abstract
com.microsoft.rest.ServiceFuture<Cloud |
getAsync(String jobId, String taskId, TaskGetOptions taskGetOptions, ServiceCallback<CloudTask> serviceCallback)
Gets information about the specified Task. |
abstract
com.microsoft.rest.ServiceFuture<Cloud |
getAsync(String jobId, String taskId, ServiceCallback<CloudTask> serviceCallback)
Gets information about the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Cloud |
getWithServiceResponseAsync(String jobId, String taskId)
Gets information about the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Cloud |
getWithServiceResponseAsync(String jobId, String taskId, TaskGetOptions taskGetOptions)
Gets information about the specified Task. |
abstract
com.microsoft.azure.PagedList<Cloud |
list(String jobId)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.azure.PagedList<Cloud |
list(String jobId, TaskListOptions taskListOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.azure.Page<Cloud |
listAsync(String jobId)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<List<Cloud |
listAsync(String jobId, ListOperationCallback<CloudTask> serviceCallback)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.azure.Page<Cloud |
listAsync(String jobId, TaskListOptions taskListOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<List<Cloud |
listAsync(String jobId, TaskListOptions taskListOptions, ListOperationCallback<CloudTask> serviceCallback)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.azure.PagedList<Cloud |
listNext(String nextPageLink)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.azure.PagedList<Cloud |
listNext(String nextPageLink, TaskListNextOptions taskListNextOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.azure.Page<Cloud |
listNextAsync(String nextPageLink)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.azure.Page<Cloud |
listNextAsync(String nextPageLink, TaskListNextOptions taskListNextOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<List<Cloud |
listNextAsync(String nextPageLink, TaskListNextOptions taskListNextOptions, ServiceFuture<List<CloudTask>> serviceFuture, ListOperationCallback<CloudTask> serviceCallback)
Lists all of the Tasks that are associated with the specified Job. |
abstract
com.microsoft.rest.ServiceFuture<List<Cloud |
listNextAsync(String nextPageLink, ServiceFuture<List<CloudTask>> serviceFuture, ListOperationCallback<CloudTask> serviceCallback)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Cloud |
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Cloud |
listNextWithServiceResponseAsync(String nextPageLink, TaskListNextOptions taskListNextOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract
Cloud |
listSubtasks(String jobId, String taskId)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
Cloud |
listSubtasks(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
rx.Observable<Cloud |
listSubtasksAsync(String jobId, String taskId)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
rx.Observable<Cloud |
listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
com.microsoft.rest.ServiceFuture<Cloud |
listSubtasksAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions, ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
com.microsoft.rest.ServiceFuture<Cloud |
listSubtasksAsync(String jobId, String taskId, ServiceCallback<CloudTaskListSubtasksResult> serviceCallback)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Cloud |
listSubtasksWithServiceResponseAsync(String jobId, String taskId)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Cloud |
listSubtasksWithServiceResponseAsync(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
Lists all of the subtasks that are associated with the specified multi-instance Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Cloud |
listWithServiceResponseAsync(String jobId)
Lists all of the Tasks that are associated with the specified Job. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<Cloud |
listWithServiceResponseAsync(String jobId, TaskListOptions taskListOptions)
Lists all of the Tasks that are associated with the specified Job. |
abstract void |
reactivate(String jobId, String taskId)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract void |
reactivate(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract rx.Observable<Void> |
reactivateAsync(String jobId, String taskId)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract rx.Observable<Void> |
reactivateAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract com.microsoft.rest.ServiceFuture<Void> |
reactivateAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions, ServiceCallback<Void> serviceCallback)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract com.microsoft.rest.ServiceFuture<Void> |
reactivateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
reactivateWithServiceResponseAsync(String jobId, String taskId)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
reactivateWithServiceResponseAsync(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. |
abstract void |
terminate(String jobId, String taskId)
Terminates the specified Task. |
abstract void |
terminate(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
Terminates the specified Task. |
abstract rx.Observable<Void> |
terminateAsync(String jobId, String taskId)
Terminates the specified Task. |
abstract rx.Observable<Void> |
terminateAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
Terminates the specified Task. |
abstract com.microsoft.rest.ServiceFuture<Void> |
terminateAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions, ServiceCallback<Void> serviceCallback)
Terminates the specified Task. |
abstract com.microsoft.rest.ServiceFuture<Void> |
terminateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
Terminates the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
terminateWithServiceResponseAsync(String jobId, String taskId)
Terminates the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
terminateWithServiceResponseAsync(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
Terminates the specified Task. |
abstract void |
update(String jobId, String taskId)
Updates the properties of the specified Task. |
abstract void |
update(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task. |
abstract rx.Observable<Void> |
updateAsync(String jobId, String taskId)
Updates the properties of the specified Task. |
abstract rx.Observable<Void> |
updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task. |
abstract com.microsoft.rest.ServiceFuture<Void> |
updateAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions, ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Task. |
abstract com.microsoft.rest.ServiceFuture<Void> |
updateAsync(String jobId, String taskId, ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
updateWithServiceResponseAsync(String jobId, String taskId)
Updates the properties of the specified Task. |
abstract
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,Task |
updateWithServiceResponseAsync(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task. |
Method Details
add
public abstract void add(String jobId, TaskAddParameter task)
Adds a Task to the specified Job. 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.
Parameters:
add
public abstract void add(String jobId, TaskAddParameter task, TaskAddOptions taskAddOptions)
Adds a Task to the specified Job. 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.
Parameters:
addAsync
public abstract Observable
Adds a Task to the specified Job. 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.
Parameters:
Returns:
addAsync
public abstract Observable
Adds a Task to the specified Job. 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.
Parameters:
Returns:
addAsync
public abstract ServiceFuture
Adds a Task to the specified Job. 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.
Parameters:
Returns:
addAsync
public abstract ServiceFuture
Adds a Task to the specified Job. 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.
Parameters:
Returns:
addCollection
public abstract TaskAddCollectionResult addCollection(String jobId, List
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollection
public abstract TaskAddCollectionResult addCollection(String jobId, List
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionAsync
public abstract Observable
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionAsync
public abstract Observable
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionAsync
public abstract ServiceFuture
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionAsync
public abstract ServiceFuture
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionWithServiceResponseAsync
public abstract Observable<>
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addCollectionWithServiceResponseAsync
public abstract Observable<>
Adds a collection of Tasks to the specified Job. Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. 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.
Parameters:
Returns:
addWithServiceResponseAsync
public abstract Observable<>
Adds a Task to the specified Job. 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.
Parameters:
Returns:
addWithServiceResponseAsync
public abstract Observable<>
Adds a Task to the specified Job. 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.
Parameters:
Returns:
delete
public abstract void delete(String jobId, String taskId)
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
delete
public abstract void delete(String jobId, String taskId, TaskDeleteOptions taskDeleteOptions)
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
deleteAsync
public abstract Observable
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
deleteAsync
public abstract Observable
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
deleteAsync
public abstract ServiceFuture
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
deleteAsync
public abstract ServiceFuture
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
deleteWithServiceResponseAsync
public abstract Observable<>
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
deleteWithServiceResponseAsync
public abstract Observable<>
Deletes a Task from the specified Job. When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.
Parameters:
Returns:
get
public abstract CloudTask get(String jobId, String taskId)
Gets information about the specified Task. 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.
Parameters:
Returns:
get
public abstract CloudTask get(String jobId, String taskId, TaskGetOptions taskGetOptions)
Gets information about the specified Task. 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.
Parameters:
Returns:
getAsync
public abstract Observable
Gets information about the specified Task. 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.
Parameters:
Returns:
getAsync
public abstract Observable
Gets information about the specified Task. 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.
Parameters:
Returns:
getAsync
public abstract ServiceFuture
Gets information about the specified Task. 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.
Parameters:
Returns:
getAsync
public abstract ServiceFuture
Gets information about the specified Task. 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.
Parameters:
Returns:
getWithServiceResponseAsync
public abstract Observable<>
Gets information about the specified Task. 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.
Parameters:
Returns:
getWithServiceResponseAsync
public abstract Observable<>
Gets information about the specified Task. 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.
Parameters:
Returns:
list
public abstract PagedList
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.
Parameters:
Returns:
list
public abstract PagedList
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.
Parameters:
Returns:
listAsync
public abstract Observable<>
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.
Parameters:
Returns:
listAsync
public abstract ServiceFuture<>
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.
Parameters:
Returns:
listAsync
public abstract Observable<>
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.
Parameters:
Returns:
listAsync
public abstract ServiceFuture<>
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.
Parameters:
Returns:
listNext
public abstract PagedList
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.
Parameters:
Returns:
listNext
public abstract PagedList
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.
Parameters:
Returns:
listNextAsync
public abstract Observable<>
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.
Parameters:
Returns:
listNextAsync
public abstract Observable<>
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.
Parameters:
Returns:
listNextAsync
public abstract ServiceFuture<>
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.
Parameters:
Returns:
listNextAsync
public abstract ServiceFuture<>
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.
Parameters:
Returns:
listNextWithServiceResponseAsync
public abstract Observable<><>
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.
Parameters:
Returns:
listNextWithServiceResponseAsync
public abstract Observable<><>
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.
Parameters:
Returns:
listSubtasks
public abstract CloudTaskListSubtasksResult listSubtasks(String jobId, String taskId)
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.
Parameters:
Returns:
listSubtasks
public abstract CloudTaskListSubtasksResult listSubtasks(String jobId, String taskId, TaskListSubtasksOptions taskListSubtasksOptions)
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.
Parameters:
Returns:
listSubtasksAsync
public abstract Observable
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.
Parameters:
Returns:
listSubtasksAsync
public abstract Observable
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.
Parameters:
Returns:
listSubtasksAsync
public abstract ServiceFuture
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.
Parameters:
Returns:
listSubtasksAsync
public abstract ServiceFuture
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.
Parameters:
Returns:
listSubtasksWithServiceResponseAsync
public abstract Observable<>
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.
Parameters:
Returns:
listSubtasksWithServiceResponseAsync
public abstract Observable<>
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.
Parameters:
Returns:
listWithServiceResponseAsync
public abstract Observable<><>
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.
Parameters:
Returns:
listWithServiceResponseAsync
public abstract Observable<><>
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.
Parameters:
Returns:
reactivate
public abstract void reactivate(String jobId, String taskId)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
reactivate
public abstract void reactivate(String jobId, String taskId, TaskReactivateOptions taskReactivateOptions)
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
reactivateAsync
public abstract Observable
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
reactivateAsync
public abstract Observable
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
reactivateAsync
public abstract ServiceFuture
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
reactivateAsync
public abstract ServiceFuture
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
reactivateWithServiceResponseAsync
public abstract Observable<>
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
reactivateWithServiceResponseAsync
public abstract Observable<>
Reactivates a Task, allowing it to run again even if its retry count has been exhausted. Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).
Parameters:
Returns:
terminate
public abstract void terminate(String jobId, String taskId)
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
terminate
public abstract void terminate(String jobId, String taskId, TaskTerminateOptions taskTerminateOptions)
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
terminateAsync
public abstract Observable
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
terminateAsync
public abstract Observable
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
terminateAsync
public abstract ServiceFuture
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
terminateAsync
public abstract ServiceFuture
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
terminateWithServiceResponseAsync
public abstract Observable<>
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
terminateWithServiceResponseAsync
public abstract Observable<>
Terminates the specified Task. When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.
Parameters:
Returns:
update
public abstract void update(String jobId, String taskId)
Updates the properties of the specified Task.
Parameters:
update
public abstract void update(String jobId, String taskId, TaskConstraints constraints, TaskUpdateOptions taskUpdateOptions)
Updates the properties of the specified Task.
Parameters:
updateAsync
public abstract Observable
Updates the properties of the specified Task.
Parameters:
Returns:
updateAsync
public abstract Observable
Updates the properties of the specified Task.
Parameters:
Returns:
updateAsync
public abstract ServiceFuture
Updates the properties of the specified Task.
Parameters:
Returns:
updateAsync
public abstract ServiceFuture
Updates the properties of the specified Task.
Parameters:
Returns:
updateWithServiceResponseAsync
public abstract Observable<>
Updates the properties of the specified Task.
Parameters:
Returns:
updateWithServiceResponseAsync
public abstract Observable<>
Updates the properties of the specified Task.
Parameters:
Returns:
Applies to
Azure SDK for Java