Jobs Interface

public interface Jobs

An instance of this class provides access to all the operations defined in Jobs.

Method Summary

Modifier and Type Method and Description
abstract void add(JobAddParameter job)

Adds a Job to the specified Account.

abstract void add(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account.

abstract rx.Observable<Void> addAsync(JobAddParameter job)

Adds a Job to the specified Account.

abstract rx.Observable<Void> addAsync(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(JobAddParameter job, JobAddOptions jobAddOptions, ServiceCallback<Void> serviceCallback)

Adds a Job to the specified Account.

abstract com.microsoft.rest.ServiceFuture<Void> addAsync(JobAddParameter job, ServiceCallback<Void> serviceCallback)

Adds a Job to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>> addWithServiceResponseAsync(JobAddParameter job)

Adds a Job to the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>> addWithServiceResponseAsync(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account.

abstract void delete(String jobId)

Deletes a Job.

abstract void delete(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job.

abstract rx.Observable<Void> deleteAsync(String jobId)

Deletes a Job.

abstract rx.Observable<Void> deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions, ServiceCallback<Void> serviceCallback)

Deletes a Job.

abstract com.microsoft.rest.ServiceFuture<Void> deleteAsync(String jobId, ServiceCallback<Void> serviceCallback)

Deletes a Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>> deleteWithServiceResponseAsync(String jobId)

Deletes a Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>> deleteWithServiceResponseAsync(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job.

abstract void disable(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running.

abstract void disable(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running.

abstract rx.Observable<Void> disableAsync(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running.

abstract rx.Observable<Void> disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running.

abstract com.microsoft.rest.ServiceFuture<Void> disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions, ServiceCallback<Void> serviceCallback)

Disables the specified Job, preventing new Tasks from running.

abstract com.microsoft.rest.ServiceFuture<Void> disableAsync(String jobId, DisableJobOption disableTasks, ServiceCallback<Void> serviceCallback)

Disables the specified Job, preventing new Tasks from running.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>> disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>> disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running.

abstract void enable(String jobId)

Enables the specified Job, allowing new Tasks to run.

abstract void enable(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run.

abstract rx.Observable<Void> enableAsync(String jobId)

Enables the specified Job, allowing new Tasks to run.

abstract rx.Observable<Void> enableAsync(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run.

abstract com.microsoft.rest.ServiceFuture<Void> enableAsync(String jobId, JobEnableOptions jobEnableOptions, ServiceCallback<Void> serviceCallback)

Enables the specified Job, allowing new Tasks to run.

abstract com.microsoft.rest.ServiceFuture<Void> enableAsync(String jobId, ServiceCallback<Void> serviceCallback)

Enables the specified Job, allowing new Tasks to run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>> enableWithServiceResponseAsync(String jobId)

Enables the specified Job, allowing new Tasks to run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>> enableWithServiceResponseAsync(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run.

abstract CloudJob get(String jobId)

Gets information about the specified Job.

abstract CloudJob get(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

abstract rx.Observable<CloudJob> getAsync(String jobId)

Gets information about the specified Job.

abstract rx.Observable<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

abstract com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions, ServiceCallback<CloudJob> serviceCallback)

Gets information about the specified Job.

abstract com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, ServiceCallback<CloudJob> serviceCallback)

Gets information about the specified Job.

abstract TaskCountsResult getTaskCounts(String jobId)

Gets the Task counts for the specified Job.

abstract TaskCountsResult getTaskCounts(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job.

abstract rx.Observable<TaskCountsResult> getTaskCountsAsync(String jobId)

Gets the Task counts for the specified Job.

abstract rx.Observable<TaskCountsResult> getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job.

abstract com.microsoft.rest.ServiceFuture<TaskCountsResult> getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, ServiceCallback<TaskCountsResult> serviceCallback)

Gets the Task counts for the specified Job.

abstract com.microsoft.rest.ServiceFuture<TaskCountsResult> getTaskCountsAsync(String jobId, ServiceCallback<TaskCountsResult> serviceCallback)

Gets the Task counts for the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>> getTaskCountsWithServiceResponseAsync(String jobId)

Gets the Task counts for the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>> getTaskCountsWithServiceResponseAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId)

Gets information about the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

abstract com.microsoft.azure.PagedList<CloudJob> list()

Lists all of the Jobs in the specified Account.

abstract com.microsoft.azure.PagedList<CloudJob> list(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync()

Lists all of the Jobs in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(ListOperationCallback<CloudJob> serviceCallback)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(JobListOptions jobListOptions, ListOperationCallback<CloudJob> serviceCallback)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, ListOperationCallback<CloudJob> serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions, ListOperationCallback<CloudJob> serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions, ServiceFuture<List<CloudJob>> serviceFuture, ListOperationCallback<CloudJob> serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, ServiceFuture<List<CloudJob>> serviceFuture, ListOperationCallback<CloudJob> serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextWithServiceResponseAsync(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextWithServiceResponseAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleWithServiceResponseAsync(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleWithServiceResponseAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

abstract com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions, ServiceFuture<List<CloudJob>> serviceFuture, ListOperationCallback<CloudJob> serviceCallback)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.rest.ServiceFuture<List<CloudJob>> listNextAsync(String nextPageLink, ServiceFuture<List<CloudJob>> serviceFuture, ListOperationCallback<CloudJob> serviceCallback)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

abstract com.microsoft.azure.PagedList<JobPreparationAndReleaseTaskExecutionInformation> listPreparationAndReleaseTaskStatus(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.azure.PagedList<JobPreparationAndReleaseTaskExecutionInformation> listPreparationAndReleaseTaskStatus(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId, ListOperationCallback<JobPreparationAndReleaseTaskExecutionInformation> serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions, ListOperationCallback<JobPreparationAndReleaseTaskExecutionInformation> serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.azure.PagedList<JobPreparationAndReleaseTaskExecutionInformation> listPreparationAndReleaseTaskStatusNext(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.azure.PagedList<JobPreparationAndReleaseTaskExecutionInformation> listPreparationAndReleaseTaskStatusNext(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions, ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, ListOperationCallback<JobPreparationAndReleaseTaskExecutionInformation> serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, ListOperationCallback<JobPreparationAndReleaseTaskExecutionInformation> serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusWithServiceResponseAsync(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusWithServiceResponseAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync()

Lists all of the Jobs in the specified Account.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

abstract void patch(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job.

abstract void patch(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job.

abstract rx.Observable<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job.

abstract rx.Observable<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job.

abstract com.microsoft.rest.ServiceFuture<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Job.

abstract com.microsoft.rest.ServiceFuture<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>> patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>> patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job.

abstract void terminate(String jobId)

Terminates the specified Job, marking it as completed.

abstract void terminate(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed.

abstract rx.Observable<Void> terminateAsync(String jobId)

Terminates the specified Job, marking it as completed.

abstract com.microsoft.rest.ServiceFuture<Void> terminateAsync(String jobId, ServiceCallback<Void> serviceCallback)

Terminates the specified Job, marking it as completed.

abstract rx.Observable<Void> terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed.

abstract com.microsoft.rest.ServiceFuture<Void> terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions, ServiceCallback<Void> serviceCallback)

Terminates the specified Job, marking it as completed.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>> terminateWithServiceResponseAsync(String jobId)

Terminates the specified Job, marking it as completed.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>> terminateWithServiceResponseAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed.

abstract void update(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job.

abstract void update(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job.

abstract rx.Observable<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job.

abstract rx.Observable<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job.

abstract com.microsoft.rest.ServiceFuture<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Job.

abstract com.microsoft.rest.ServiceFuture<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, ServiceCallback<Void> serviceCallback)

Updates the properties of the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job.

abstract rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job.

Method Details

add

public abstract void add(JobAddParameter job)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.

add

public abstract void add(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.
jobAddOptions - Additional parameters for the operation

addAsync

public abstract Observable addAsync(JobAddParameter job)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract Observable addAsync(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.
jobAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

addAsync

public abstract ServiceFuture addAsync(JobAddParameter job, JobAddOptions jobAddOptions, ServiceCallback serviceCallback)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.
jobAddOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addAsync

public abstract ServiceFuture addAsync(JobAddParameter job, ServiceCallback serviceCallback)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

addWithServiceResponseAsync

public abstract Observable<>> addWithServiceResponseAsync(JobAddParameter job)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.

Returns:

the ServiceResponseWithHeaders object if successful.

addWithServiceResponseAsync

public abstract Observable<>> addWithServiceResponseAsync(JobAddParameter job, JobAddOptions jobAddOptions)

Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.

Parameters:

job - The Job to be added.
jobAddOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

delete

public abstract void delete(String jobId)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.

delete

public abstract void delete(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.
jobDeleteOptions - Additional parameters for the operation

deleteAsync

public abstract Observable deleteAsync(String jobId)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

deleteAsync

public abstract Observable deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.
jobDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

deleteAsync

public abstract ServiceFuture deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions, ServiceCallback serviceCallback)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.
jobDeleteOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

deleteAsync

public abstract ServiceFuture deleteAsync(String jobId, ServiceCallback serviceCallback)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

deleteWithServiceResponseAsync

public abstract Observable<>> deleteWithServiceResponseAsync(String jobId)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.

Returns:

the ServiceResponseWithHeaders object if successful.

deleteWithServiceResponseAsync

public abstract Observable<>> deleteWithServiceResponseAsync(String jobId, JobDeleteOptions jobDeleteOptions)

Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.

Parameters:

jobId - The ID of the Job to delete.
jobDeleteOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

disable

public abstract void disable(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'

disable

public abstract void disable(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'
jobDisableOptions - Additional parameters for the operation

disableAsync

public abstract Observable disableAsync(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'

Returns:

the ServiceResponseWithHeaders object if successful.

disableAsync

public abstract Observable disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'
jobDisableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

disableAsync

public abstract ServiceFuture disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions, ServiceCallback serviceCallback)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'
jobDisableOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

disableAsync

public abstract ServiceFuture disableAsync(String jobId, DisableJobOption disableTasks, ServiceCallback serviceCallback)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

disableWithServiceResponseAsync

public abstract Observable<>> disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'

Returns:

the ServiceResponseWithHeaders object if successful.

disableWithServiceResponseAsync

public abstract Observable<>> disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)

Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.

Parameters:

jobId - The ID of the Job to disable.
disableTasks - What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'
jobDisableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

enable

public abstract void enable(String jobId)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.

enable

public abstract void enable(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.
jobEnableOptions - Additional parameters for the operation

enableAsync

public abstract Observable enableAsync(String jobId)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.

Returns:

the ServiceResponseWithHeaders object if successful.

enableAsync

public abstract Observable enableAsync(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.
jobEnableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

enableAsync

public abstract ServiceFuture enableAsync(String jobId, JobEnableOptions jobEnableOptions, ServiceCallback serviceCallback)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.
jobEnableOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

enableAsync

public abstract ServiceFuture enableAsync(String jobId, ServiceCallback serviceCallback)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

enableWithServiceResponseAsync

public abstract Observable<>> enableWithServiceResponseAsync(String jobId)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.

Returns:

the ServiceResponseWithHeaders object if successful.

enableWithServiceResponseAsync

public abstract Observable<>> enableWithServiceResponseAsync(String jobId, JobEnableOptions jobEnableOptions)

Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.

Parameters:

jobId - The ID of the Job to enable.
jobEnableOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

get

public abstract CloudJob get(String jobId)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.

Returns:

the CloudJob object if successful.

get

public abstract CloudJob get(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.
jobGetOptions - Additional parameters for the operation

Returns:

the CloudJob object if successful.

getAsync

public abstract Observable getAsync(String jobId)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the CloudJob object

getAsync

public abstract Observable getAsync(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.
jobGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudJob object

getAsync

public abstract ServiceFuture getAsync(String jobId, JobGetOptions jobGetOptions, ServiceCallback serviceCallback)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.
jobGetOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getAsync

public abstract ServiceFuture getAsync(String jobId, ServiceCallback serviceCallback)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getTaskCounts

public abstract TaskCountsResult getTaskCounts(String jobId)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.

Returns:

the TaskCountsResult object if successful.

getTaskCounts

public abstract TaskCountsResult getTaskCounts(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.
jobGetTaskCountsOptions - Additional parameters for the operation

Returns:

the TaskCountsResult object if successful.

getTaskCountsAsync

public abstract Observable getTaskCountsAsync(String jobId)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the TaskCountsResult object

getTaskCountsAsync

public abstract Observable getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.
jobGetTaskCountsOptions - Additional parameters for the operation

Returns:

the observable to the TaskCountsResult object

getTaskCountsAsync

public abstract ServiceFuture getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, ServiceCallback serviceCallback)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.
jobGetTaskCountsOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getTaskCountsAsync

public abstract ServiceFuture getTaskCountsAsync(String jobId, ServiceCallback serviceCallback)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

getTaskCountsWithServiceResponseAsync

public abstract Observable<>> getTaskCountsWithServiceResponseAsync(String jobId)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the TaskCountsResult object

getTaskCountsWithServiceResponseAsync

public abstract Observable<>> getTaskCountsWithServiceResponseAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)

Gets the Task counts for the specified Job. Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running. Note that the numbers returned may not always be up to date. If you need exact task counts, use a list query.

Parameters:

jobId - The ID of the Job.
jobGetTaskCountsOptions - Additional parameters for the operation

Returns:

the observable to the TaskCountsResult object

getWithServiceResponseAsync

public abstract Observable<>> getWithServiceResponseAsync(String jobId)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the CloudJob object

getWithServiceResponseAsync

public abstract Observable<>> getWithServiceResponseAsync(String jobId, JobGetOptions jobGetOptions)

Gets information about the specified Job.

Parameters:

jobId - The ID of the Job.
jobGetOptions - Additional parameters for the operation

Returns:

the observable to the CloudJob object

list

public abstract PagedList list()

Lists all of the Jobs in the specified Account.

Returns:

the PagedList<CloudJob> object if successful.

list

public abstract PagedList list(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

Parameters:

jobListOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJob> object if successful.

listAsync

public abstract Observable<>> listAsync()

Lists all of the Jobs in the specified Account.

Returns:

the observable to the PagedList<CloudJob> object

listAsync

public abstract ServiceFuture<>> listAsync(ListOperationCallback serviceCallback)

Lists all of the Jobs in the specified Account.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listAsync

public abstract Observable<>> listAsync(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

Parameters:

jobListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listAsync

public abstract ServiceFuture<>> listAsync(JobListOptions jobListOptions, ListOperationCallback serviceCallback)

Lists all of the Jobs in the specified Account.

Parameters:

jobListOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listFromJobSchedule

public abstract PagedList listFromJobSchedule(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.

Returns:

the PagedList<CloudJob> object if successful.

listFromJobSchedule

public abstract PagedList listFromJobSchedule(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.
jobListFromJobScheduleOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJob> object if successful.

listFromJobScheduleAsync

public abstract Observable<>> listFromJobScheduleAsync(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleAsync

public abstract ServiceFuture<>> listFromJobScheduleAsync(String jobScheduleId, ListOperationCallback serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listFromJobScheduleAsync

public abstract Observable<>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.
jobListFromJobScheduleOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleAsync

public abstract ServiceFuture<>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions, ListOperationCallback serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.
jobListFromJobScheduleOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listFromJobScheduleNext

public abstract PagedList listFromJobScheduleNext(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<CloudJob> object if successful.

listFromJobScheduleNext

public abstract PagedList listFromJobScheduleNext(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListFromJobScheduleNextOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJob> object if successful.

listFromJobScheduleNextAsync

public abstract Observable<>> listFromJobScheduleNextAsync(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleNextAsync

public abstract Observable<>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListFromJobScheduleNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleNextAsync

public abstract ServiceFuture<>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListFromJobScheduleNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listFromJobScheduleNextAsync

public abstract ServiceFuture<>> listFromJobScheduleNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listFromJobScheduleNextWithServiceResponseAsync

public abstract Observable<><>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextWithServiceResponseAsync(String nextPageLink)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleNextWithServiceResponseAsync

public abstract Observable<><>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextWithServiceResponseAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListFromJobScheduleNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleWithServiceResponseAsync

public abstract Observable<><>,JobListFromJobScheduleHeaders>> listFromJobScheduleWithServiceResponseAsync(String jobScheduleId)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.

Returns:

the observable to the PagedList<CloudJob> object

listFromJobScheduleWithServiceResponseAsync

public abstract Observable<><>,JobListFromJobScheduleHeaders>> listFromJobScheduleWithServiceResponseAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)

Lists the Jobs that have been created under the specified Job Schedule.

Parameters:

jobScheduleId - The ID of the Job Schedule from which you want to get a list of Jobs.
jobListFromJobScheduleOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listNext

public abstract PagedList listNext(String nextPageLink)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<CloudJob> object if successful.

listNext

public abstract PagedList listNext(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListNextOptions - Additional parameters for the operation

Returns:

the PagedList<CloudJob> object if successful.

listNextAsync

public abstract Observable<>> listNextAsync(String nextPageLink)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJob> object

listNextAsync

public abstract Observable<>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextAsync

public abstract ServiceFuture<>> listNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listNextWithServiceResponseAsync

public abstract Observable<><>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<CloudJob> object

listNextWithServiceResponseAsync

public abstract Observable<><>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, JobListNextOptions jobListNextOptions)

Lists all of the Jobs in the specified Account.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

listPreparationAndReleaseTaskStatus

public abstract PagedList listPreparationAndReleaseTaskStatus(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.

Returns:

the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.

listPreparationAndReleaseTaskStatus

public abstract PagedList listPreparationAndReleaseTaskStatus(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.
jobListPreparationAndReleaseTaskStatusOptions - Additional parameters for the operation

Returns:

the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.

listPreparationAndReleaseTaskStatusAsync

public abstract Observable<>> listPreparationAndReleaseTaskStatusAsync(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusAsync

public abstract ServiceFuture<>> listPreparationAndReleaseTaskStatusAsync(String jobId, ListOperationCallback serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listPreparationAndReleaseTaskStatusAsync

public abstract Observable<>> listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.
jobListPreparationAndReleaseTaskStatusOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusAsync

public abstract ServiceFuture<>> listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions, ListOperationCallback serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.
jobListPreparationAndReleaseTaskStatusOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listPreparationAndReleaseTaskStatusNext

public abstract PagedList listPreparationAndReleaseTaskStatusNext(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.

listPreparationAndReleaseTaskStatusNext

public abstract PagedList listPreparationAndReleaseTaskStatusNext(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListPreparationAndReleaseTaskStatusNextOptions - Additional parameters for the operation

Returns:

the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.

listPreparationAndReleaseTaskStatusNextAsync

public abstract Observable<>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusNextAsync

public abstract Observable<>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListPreparationAndReleaseTaskStatusNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusNextAsync

public abstract ServiceFuture<>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListPreparationAndReleaseTaskStatusNextOptions - Additional parameters for the operation
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listPreparationAndReleaseTaskStatusNextAsync

public abstract ServiceFuture<>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, ServiceFuture<>> serviceFuture, ListOperationCallback serviceCallback)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync

public abstract Observable<><>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync(String nextPageLink)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync

public abstract Observable<><>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
jobListPreparationAndReleaseTaskStatusNextOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusWithServiceResponseAsync

public abstract Observable<><>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusWithServiceResponseAsync(String jobId)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listPreparationAndReleaseTaskStatusWithServiceResponseAsync

public abstract Observable<><>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusWithServiceResponseAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions)

Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run. This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.

Parameters:

jobId - The ID of the Job.
jobListPreparationAndReleaseTaskStatusOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object

listWithServiceResponseAsync

public abstract Observable<><>,JobListHeaders>> listWithServiceResponseAsync()

Lists all of the Jobs in the specified Account.

Returns:

the observable to the PagedList<CloudJob> object

listWithServiceResponseAsync

public abstract Observable<><>,JobListHeaders>> listWithServiceResponseAsync(JobListOptions jobListOptions)

Lists all of the Jobs in the specified Account.

Parameters:

jobListOptions - Additional parameters for the operation

Returns:

the observable to the PagedList<CloudJob> object

patch

public abstract void patch(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.

patch

public abstract void patch(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.
jobPatchOptions - Additional parameters for the operation

patchAsync

public abstract Observable patchAsync(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

patchAsync

public abstract Observable patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.
jobPatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

patchAsync

public abstract ServiceFuture patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions, ServiceCallback serviceCallback)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.
jobPatchOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

patchAsync

public abstract ServiceFuture patchAsync(String jobId, JobPatchParameter jobPatchParameter, ServiceCallback serviceCallback)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

patchWithServiceResponseAsync

public abstract Observable<>> patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

patchWithServiceResponseAsync

public abstract Observable<>> patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)

Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobPatchParameter - The parameters for the request.
jobPatchOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

terminate

public abstract void terminate(String jobId)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.

terminate

public abstract void terminate(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.
terminateReason - The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.
jobTerminateOptions - Additional parameters for the operation

terminateAsync

public abstract Observable terminateAsync(String jobId)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.

Returns:

the ServiceResponseWithHeaders object if successful.

terminateAsync

public abstract ServiceFuture terminateAsync(String jobId, ServiceCallback serviceCallback)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

terminateAsync

public abstract Observable terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.
terminateReason - The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.
jobTerminateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

terminateAsync

public abstract ServiceFuture terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions, ServiceCallback serviceCallback)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.
terminateReason - The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.
jobTerminateOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

terminateWithServiceResponseAsync

public abstract Observable<>> terminateWithServiceResponseAsync(String jobId)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.

Returns:

the ServiceResponseWithHeaders object if successful.

terminateWithServiceResponseAsync

public abstract Observable<>> terminateWithServiceResponseAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)

Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.

Parameters:

jobId - The ID of the Job to terminate.
terminateReason - The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.
jobTerminateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

update

public abstract void update(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.

update

public abstract void update(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.
jobUpdateOptions - Additional parameters for the operation

updateAsync

public abstract Observable updateAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

updateAsync

public abstract Observable updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.
jobUpdateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

updateAsync

public abstract ServiceFuture updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions, ServiceCallback serviceCallback)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.
jobUpdateOptions - Additional parameters for the operation
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

updateAsync

public abstract ServiceFuture updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, ServiceCallback serviceCallback)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

updateWithServiceResponseAsync

public abstract Observable<>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.

Returns:

the ServiceResponseWithHeaders object if successful.

updateWithServiceResponseAsync

public abstract Observable<>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

Parameters:

jobId - The ID of the Job whose properties you want to update.
jobUpdateParameter - The parameters for the request.
jobUpdateOptions - Additional parameters for the operation

Returns:

the ServiceResponseWithHeaders object if successful.

Applies to