Class JobsImpl
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.implementation.JobsImpl
-
-
Constructor Summary
Constructors Constructor Description JobsImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of JobsImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(JobAddParameter job)
Adds a Job to the specified Account.void
add(JobAddParameter job, JobAddOptions jobAddOptions)
Adds a Job to the specified Account.rx.Observable<Void>
addAsync(JobAddParameter job)
Adds a Job to the specified Account.rx.Observable<Void>
addAsync(JobAddParameter job, JobAddOptions jobAddOptions)
Adds a Job to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(JobAddParameter job, JobAddOptions jobAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(JobAddParameter job, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>>
addWithServiceResponseAsync(JobAddParameter job)
Adds a Job to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>>
addWithServiceResponseAsync(JobAddParameter job, JobAddOptions jobAddOptions)
Adds a Job to the specified Account.void
delete(String jobId)
Deletes a Job.void
delete(String jobId, JobDeleteOptions jobDeleteOptions)
Deletes a Job.rx.Observable<Void>
deleteAsync(String jobId)
Deletes a Job.rx.Observable<Void>
deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions)
Deletes a Job.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Job.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>>
deleteWithServiceResponseAsync(String jobId)
Deletes a Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>>
deleteWithServiceResponseAsync(String jobId, JobDeleteOptions jobDeleteOptions)
Deletes a Job.void
disable(String jobId, DisableJobOption disableTasks)
Disables the specified Job, preventing new Tasks from running.void
disable(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)
Disables the specified Job, preventing new Tasks from running.rx.Observable<Void>
disableAsync(String jobId, DisableJobOption disableTasks)
Disables the specified Job, preventing new Tasks from running.rx.Observable<Void>
disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)
Disables the specified Job, preventing new Tasks from running.com.microsoft.rest.ServiceFuture<Void>
disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables the specified Job, preventing new Tasks from running.com.microsoft.rest.ServiceFuture<Void>
disableAsync(String jobId, DisableJobOption disableTasks, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables the specified Job, preventing new Tasks from running.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>>
disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks)
Disables the specified Job, preventing new Tasks from running.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>>
disableWithServiceResponseAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)
Disables the specified Job, preventing new Tasks from running.void
enable(String jobId)
Enables the specified Job, allowing new Tasks to run.void
enable(String jobId, JobEnableOptions jobEnableOptions)
Enables the specified Job, allowing new Tasks to run.rx.Observable<Void>
enableAsync(String jobId)
Enables the specified Job, allowing new Tasks to run.rx.Observable<Void>
enableAsync(String jobId, JobEnableOptions jobEnableOptions)
Enables the specified Job, allowing new Tasks to run.com.microsoft.rest.ServiceFuture<Void>
enableAsync(String jobId, JobEnableOptions jobEnableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables the specified Job, allowing new Tasks to run.com.microsoft.rest.ServiceFuture<Void>
enableAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables the specified Job, allowing new Tasks to run.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>>
enableWithServiceResponseAsync(String jobId)
Enables the specified Job, allowing new Tasks to run.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>>
enableWithServiceResponseAsync(String jobId, JobEnableOptions jobEnableOptions)
Enables the specified Job, allowing new Tasks to run.CloudJob
get(String jobId)
Gets information about the specified Job.CloudJob
get(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.rx.Observable<CloudJob>
getAsync(String jobId)
Gets information about the specified Job.rx.Observable<CloudJob>
getAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.com.microsoft.rest.ServiceFuture<CloudJob>
getAsync(String jobId, JobGetOptions jobGetOptions, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.com.microsoft.rest.ServiceFuture<CloudJob>
getAsync(String jobId, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.TaskCountsResult
getTaskCounts(String jobId)
Gets the Task counts for the specified Job.TaskCountsResult
getTaskCounts(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)
Gets the Task counts for the specified Job.rx.Observable<TaskCountsResult>
getTaskCountsAsync(String jobId)
Gets the Task counts for the specified Job.rx.Observable<TaskCountsResult>
getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)
Gets the Task counts for the specified Job.com.microsoft.rest.ServiceFuture<TaskCountsResult>
getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, com.microsoft.rest.ServiceCallback<TaskCountsResult> serviceCallback)
Gets the Task counts for the specified Job.com.microsoft.rest.ServiceFuture<TaskCountsResult>
getTaskCountsAsync(String jobId, com.microsoft.rest.ServiceCallback<TaskCountsResult> serviceCallback)
Gets the Task counts for the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>>
getTaskCountsWithServiceResponseAsync(String jobId)
Gets the Task counts for the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>>
getTaskCountsWithServiceResponseAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)
Gets the Task counts for the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>>
getWithServiceResponseAsync(String jobId)
Gets information about the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>>
getWithServiceResponseAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.com.microsoft.azure.PagedList<CloudJob>
list()
Lists all of the Jobs in the specified Account.com.microsoft.azure.PagedList<CloudJob>
list(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listAsync()
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listAsync(JobListOptions jobListOptions, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listAsync(com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.com.microsoft.azure.PagedList<CloudJob>
listFromJobSchedule(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.azure.PagedList<CloudJob>
listFromJobSchedule(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listFromJobScheduleAsync(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listFromJobScheduleAsync(String jobScheduleId, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.azure.PagedList<CloudJob>
listFromJobScheduleNext(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.azure.PagedList<CloudJob>
listFromJobScheduleNext(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listFromJobScheduleNextAsync(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listFromJobScheduleNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>>
listFromJobScheduleNextSinglePageAsync(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>>
listFromJobScheduleNextSinglePageAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.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.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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>>
listFromJobScheduleSinglePageAsync(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>>
listFromJobScheduleSinglePageAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.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.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.com.microsoft.azure.PagedList<CloudJob>
listNext(String nextPageLink)
Lists all of the Jobs in the specified Account.com.microsoft.azure.PagedList<CloudJob>
listNext(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listNextAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJob>>
listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJob>>
listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listNextSinglePageAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listNextSinglePageAsync(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.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.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.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.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.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.com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>>
listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions, com.microsoft.azure.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.com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>>
listPreparationAndReleaseTaskStatusAsync(String jobId, com.microsoft.azure.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.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.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.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.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.com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>>
listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions, com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, com.microsoft.azure.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.com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>>
listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, com.microsoft.azure.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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>>
listPreparationAndReleaseTaskStatusNextSinglePageAsync(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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>>
listPreparationAndReleaseTaskStatusNextSinglePageAsync(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.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.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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>>
listPreparationAndReleaseTaskStatusSinglePageAsync(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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>>
listPreparationAndReleaseTaskStatusSinglePageAsync(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.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.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.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listSinglePageAsync()
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listSinglePageAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listWithServiceResponseAsync()
Lists all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>>
listWithServiceResponseAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.void
patch(String jobId, JobPatchParameter jobPatchParameter)
Updates the properties of the specified Job.void
patch(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)
Updates the properties of the specified Job.rx.Observable<Void>
patchAsync(String jobId, JobPatchParameter jobPatchParameter)
Updates the properties of the specified Job.rx.Observable<Void>
patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)
Updates the properties of the specified Job.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String jobId, JobPatchParameter jobPatchParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>>
patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter)
Updates the properties of the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>>
patchWithServiceResponseAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)
Updates the properties of the specified Job.void
terminate(String jobId)
Terminates the specified Job, marking it as completed.void
terminate(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)
Terminates the specified Job, marking it as completed.rx.Observable<Void>
terminateAsync(String jobId)
Terminates the specified Job, marking it as completed.com.microsoft.rest.ServiceFuture<Void>
terminateAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates the specified Job, marking it as completed.rx.Observable<Void>
terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)
Terminates the specified Job, marking it as completed.com.microsoft.rest.ServiceFuture<Void>
terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates the specified Job, marking it as completed.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>>
terminateWithServiceResponseAsync(String jobId)
Terminates the specified Job, marking it as completed.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>>
terminateWithServiceResponseAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)
Terminates the specified Job, marking it as completed.void
update(String jobId, JobUpdateParameter jobUpdateParameter)
Updates the properties of the specified Job.void
update(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)
Updates the properties of the specified Job.rx.Observable<Void>
updateAsync(String jobId, JobUpdateParameter jobUpdateParameter)
Updates the properties of the specified Job.rx.Observable<Void>
updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)
Updates the properties of the specified Job.com.microsoft.rest.ServiceFuture<Void>
updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job.com.microsoft.rest.ServiceFuture<Void>
updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>>
updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)
Updates the properties of the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>>
updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)
Updates the properties of the specified Job.
-
-
-
Constructor Detail
-
JobsImpl
public JobsImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of JobsImpl.- Parameters:
retrofit
- the Retrofit instance built from a Retrofit Builder.client
- the instance of the service client containing this operation class.
-
-
Method Detail
-
delete
public 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.- Specified by:
delete
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
public com.microsoft.rest.ServiceFuture<Void> deleteAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
deleteAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
public rx.Observable<Void> 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.- Specified by:
deleteAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>> 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.- Specified by:
deleteWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
public 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.- Specified by:
delete
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.jobDeleteOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteAsync
public com.microsoft.rest.ServiceFuture<Void> deleteAsync(String jobId, JobDeleteOptions jobDeleteOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
deleteAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.jobDeleteOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteAsync
public rx.Observable<Void> 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.- Specified by:
deleteAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.jobDeleteOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDeleteHeaders>> 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.- Specified by:
deleteWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to delete.jobDeleteOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
public CloudJob get(String jobId)
Gets information about the specified Job.- Specified by:
get
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the CloudJob object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
public com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.- Specified by:
getAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
public rx.Observable<CloudJob> getAsync(String jobId)
Gets information about the specified Job.- Specified by:
getAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId)
Gets information about the specified Job.- Specified by:
getWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
public CloudJob get(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Specified by:
get
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the CloudJob object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getAsync
public com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.- Specified by:
getAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
public rx.Observable<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Specified by:
getAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Specified by:
getWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
public 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.- Specified by:
patch
in interfaceJobs
- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobPatchParameter
- The parameters for the request.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
patchAsync
public com.microsoft.rest.ServiceFuture<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
patchAsync
in interfaceJobs
- 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchAsync
public rx.Observable<Void> 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.- Specified by:
patchAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>> 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.- Specified by:
patchWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
public 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.- Specified by:
patch
in interfaceJobs
- 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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
patchAsync
public com.microsoft.rest.ServiceFuture<Void> patchAsync(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
patchAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobPatchParameter
- The parameters for the request.jobPatchOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchAsync
public rx.Observable<Void> 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.- Specified by:
patchAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patchWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobPatchHeaders>> 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.- Specified by:
patchWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
public 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.- Specified by:
update
in interfaceJobs
- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobUpdateParameter
- The parameters for the request.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateAsync
public com.microsoft.rest.ServiceFuture<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
updateAsync
in interfaceJobs
- 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateAsync
public rx.Observable<Void> 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.- Specified by:
updateAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>> 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.- Specified by:
updateWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
public 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.- Specified by:
update
in interfaceJobs
- 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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
updateAsync
public com.microsoft.rest.ServiceFuture<Void> updateAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
updateAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobUpdateParameter
- The parameters for the request.jobUpdateOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateAsync
public rx.Observable<Void> 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.- Specified by:
updateAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
updateWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobUpdateHeaders>> 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.- Specified by:
updateWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disable
public 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.- Specified by:
disable
in interfaceJobs
- 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'- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
disableAsync
public com.microsoft.rest.ServiceFuture<Void> disableAsync(String jobId, DisableJobOption disableTasks, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
disableAsync
in interfaceJobs
- 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAsync
public rx.Observable<Void> 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.- Specified by:
disableAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>> 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.- Specified by:
disableWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disable
public 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.- Specified by:
disable
in interfaceJobs
- 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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
disableAsync
public com.microsoft.rest.ServiceFuture<Void> disableAsync(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
disableAsync
in interfaceJobs
- 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableAsync
public rx.Observable<Void> 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.- Specified by:
disableAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobDisableHeaders>> 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.- Specified by:
disableWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enable
public 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.- Specified by:
enable
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
enableAsync
public com.microsoft.rest.ServiceFuture<Void> enableAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
enableAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAsync
public rx.Observable<Void> 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.- Specified by:
enableAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>> 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.- Specified by:
enableWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enable
public 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.- Specified by:
enable
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.jobEnableOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
enableAsync
public com.microsoft.rest.ServiceFuture<Void> enableAsync(String jobId, JobEnableOptions jobEnableOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
enableAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.jobEnableOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableAsync
public rx.Observable<Void> 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.- Specified by:
enableAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.jobEnableOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobEnableHeaders>> 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.- Specified by:
enableWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to enable.jobEnableOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminate
public 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.- Specified by:
terminate
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to terminate.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
terminateAsync
public com.microsoft.rest.ServiceFuture<Void> terminateAsync(String jobId, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
terminateAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to terminate.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateAsync
public rx.Observable<Void> 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.- Specified by:
terminateAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to terminate.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>> 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.- Specified by:
terminateWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job to terminate.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminate
public 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.- Specified by:
terminate
in interfaceJobs
- 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- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
terminateAsync
public com.microsoft.rest.ServiceFuture<Void> terminateAsync(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
terminateAsync
in interfaceJobs
- 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 operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateAsync
public rx.Observable<Void> 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.- Specified by:
terminateAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobTerminateHeaders>> 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.- Specified by:
terminateWithServiceResponseAsync
in interfaceJobs
- 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. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
public 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.- Specified by:
add
in interfaceJobs
- Parameters:
job
- The Job to be added.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
public com.microsoft.rest.ServiceFuture<Void> addAsync(JobAddParameter job, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
addAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
public rx.Observable<Void> 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.- Specified by:
addAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>> 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.- Specified by:
addWithServiceResponseAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
public 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.- Specified by:
add
in interfaceJobs
- Parameters:
job
- The Job to be added.jobAddOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
addAsync
public com.microsoft.rest.ServiceFuture<Void> addAsync(JobAddParameter job, JobAddOptions jobAddOptions, com.microsoft.rest.ServiceCallback<Void> 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.- Specified by:
addAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.jobAddOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addAsync
public rx.Observable<Void> 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.- Specified by:
addAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.jobAddOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobAddHeaders>> 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.- Specified by:
addWithServiceResponseAsync
in interfaceJobs
- Parameters:
job
- The Job to be added.jobAddOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public com.microsoft.azure.PagedList<CloudJob> list()
Lists all of the Jobs in the specified Account.- Specified by:
list
in interfaceJobs
- Returns:
- the PagedList<CloudJob> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- Specified by:
listAsync
in interfaceJobs
- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync()
Lists all of the Jobs in the specified Account.- Specified by:
listAsync
in interfaceJobs
- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync()
Lists all of the Jobs in the specified Account.- Specified by:
listWithServiceResponseAsync
in interfaceJobs
- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listSinglePageAsync()
Lists all of the Jobs in the specified Account.- Returns:
- the PagedList<CloudJob> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
public com.microsoft.azure.PagedList<CloudJob> list(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Specified by:
list
in interfaceJobs
- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJob> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(JobListOptions jobListOptions, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- Specified by:
listAsync
in interfaceJobs
- Parameters:
jobListOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Specified by:
listAsync
in interfaceJobs
- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Specified by:
listWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listSinglePageAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account. ServiceResponseWithHeaders, JobListHeaders> * @param jobListOptions Additional parameters for the operation - Returns:
- the PagedList<CloudJob> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobSchedule
public com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobSchedule
in interfaceJobs
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromJobScheduleAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleAsync
in interfaceJobs
- 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 - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleWithServiceResponseAsync
public 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.- Specified by:
listFromJobScheduleWithServiceResponseAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleSinglePageAsync(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 wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobSchedule
public com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobSchedule
in interfaceJobs
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromJobScheduleAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleAsync
in interfaceJobs
- Parameters:
jobScheduleId
- The ID of the Job Schedule from which you want to get a list of Jobs.jobListFromJobScheduleOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleWithServiceResponseAsync
public 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.- Specified by:
listFromJobScheduleWithServiceResponseAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleSinglePageAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule. ServiceResponseWithHeaders, JobListFromJobScheduleHeaders> * @param jobScheduleId The ID of the Job Schedule from which you want to get a list of Jobs. ServiceResponseWithHeaders , JobListFromJobScheduleHeaders> * @param jobListFromJobScheduleOptions Additional parameters for the operation - Returns:
- the PagedList<CloudJob> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatus
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatus
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listPreparationAndReleaseTaskStatusAsync
public com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId, com.microsoft.azure.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. 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.- Specified by:
listPreparationAndReleaseTaskStatusAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusWithServiceResponseAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusSinglePageAsync(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 wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatus
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatus
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobListPreparationAndReleaseTaskStatusOptions
- Additional parameters for the operation- Returns:
- the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listPreparationAndReleaseTaskStatusAsync
public com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusAsync(String jobId, JobListPreparationAndReleaseTaskStatusOptions jobListPreparationAndReleaseTaskStatusOptions, com.microsoft.azure.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. 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.- Specified by:
listPreparationAndReleaseTaskStatusAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobListPreparationAndReleaseTaskStatusOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobListPreparationAndReleaseTaskStatusOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusWithServiceResponseAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobListPreparationAndReleaseTaskStatusOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusSinglePageAsync(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. ServiceResponseWithHeaders, JobListPreparationAndReleaseTaskStatusHeaders> * @param jobId The ID of the Job. ServiceResponseWithHeaders , JobListPreparationAndReleaseTaskStatusHeaders> * @param jobListPreparationAndReleaseTaskStatusOptions Additional parameters for the operation - Returns:
- the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCounts
public 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.- Specified by:
getTaskCounts
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the TaskCountsResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getTaskCountsAsync
public com.microsoft.rest.ServiceFuture<TaskCountsResult> getTaskCountsAsync(String jobId, com.microsoft.rest.ServiceCallback<TaskCountsResult> 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.- Specified by:
getTaskCountsAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsAsync
public rx.Observable<TaskCountsResult> 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.- Specified by:
getTaskCountsAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the TaskCountsResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>> 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.- Specified by:
getTaskCountsWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the TaskCountsResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCounts
public 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.- Specified by:
getTaskCounts
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the TaskCountsResult object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getTaskCountsAsync
public com.microsoft.rest.ServiceFuture<TaskCountsResult> getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, com.microsoft.rest.ServiceCallback<TaskCountsResult> 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.- Specified by:
getTaskCountsAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsAsync
public rx.Observable<TaskCountsResult> 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.- Specified by:
getTaskCountsAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the observable to the TaskCountsResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCountsResult,JobGetTaskCountsHeaders>> 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.- Specified by:
getTaskCountsWithServiceResponseAsync
in interfaceJobs
- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the observable to the TaskCountsResult object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
public com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink)
Lists all of the Jobs in the specified Account.- Specified by:
listNext
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CloudJob> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- Specified by:
listNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.- Specified by:
listNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.- Specified by:
listNextWithServiceResponseAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextSinglePageAsync(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 wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
public com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.- Specified by:
listNext
in interfaceJobs
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listNextAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- Specified by:
listNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.- Specified by:
listNextAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
public 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.- Specified by:
listNextWithServiceResponseAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextSinglePageAsync(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account. ServiceResponseWithHeaders, JobListHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , JobListHeaders> * @param jobListNextOptions Additional parameters for the operation - Returns:
- the PagedList<CloudJob> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNext
public com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNext
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CloudJob> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromJobScheduleNextAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextWithServiceResponseAsync
public 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.- Specified by:
listFromJobScheduleNextWithServiceResponseAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextSinglePageAsync(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 wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNext
public com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNext
in interfaceJobs
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromJobScheduleNextAsync
public com.microsoft.rest.ServiceFuture<List<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJob>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListFromJobScheduleNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextAsync
public rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Specified by:
listFromJobScheduleNextAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextWithServiceResponseAsync
public 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.- Specified by:
listFromJobScheduleNextWithServiceResponseAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListFromJobScheduleHeaders>> listFromJobScheduleNextSinglePageAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule. ServiceResponseWithHeaders, JobListFromJobScheduleHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , JobListFromJobScheduleHeaders> * @param jobListFromJobScheduleNextOptions Additional parameters for the operation - Returns:
- the PagedList<CloudJob> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNext
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNext
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listPreparationAndReleaseTaskStatusNextAsync
public com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, com.microsoft.azure.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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextSinglePageAsync(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 wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNext
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNext
in interfaceJobs
- 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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listPreparationAndReleaseTaskStatusNextAsync
public com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> listPreparationAndReleaseTaskStatusNextAsync(String nextPageLink, JobListPreparationAndReleaseTaskStatusNextOptions jobListPreparationAndReleaseTaskStatusNextOptions, com.microsoft.rest.ServiceFuture<List<JobPreparationAndReleaseTaskExecutionInformation>> serviceFuture, com.microsoft.azure.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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextAsync
in interfaceJobs
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListPreparationAndReleaseTaskStatusNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync
public 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. 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.- Specified by:
listPreparationAndReleaseTaskStatusNextWithServiceResponseAsync
in interfaceJobs
- 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
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<JobPreparationAndReleaseTaskExecutionInformation>,JobListPreparationAndReleaseTaskStatusHeaders>> listPreparationAndReleaseTaskStatusNextSinglePageAsync(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. ServiceResponseWithHeaders, JobListPreparationAndReleaseTaskStatusHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , JobListPreparationAndReleaseTaskStatusHeaders> * @param jobListPreparationAndReleaseTaskStatusNextOptions Additional parameters for the operation - Returns:
- the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-