Interface Jobs
-
- All Known Implementing Classes:
JobsImpl
public interface Jobs
An instance of this class provides access to all the operations defined in Jobs.
-
-
Method Summary
All Methods Instance Methods Abstract 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.JobStatistics
getAllLifetimeStatistics()
Gets lifetime summary statistics for all of the Jobs in the specified Account.JobStatistics
getAllLifetimeStatistics(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account.rx.Observable<JobStatistics>
getAllLifetimeStatisticsAsync()
Gets lifetime summary statistics for all of the Jobs in the specified Account.rx.Observable<JobStatistics>
getAllLifetimeStatisticsAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<JobStatistics>
getAllLifetimeStatisticsAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions, com.microsoft.rest.ServiceCallback<JobStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Jobs in the specified Account.com.microsoft.rest.ServiceFuture<JobStatistics>
getAllLifetimeStatisticsAsync(com.microsoft.rest.ServiceCallback<JobStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<JobStatistics,JobGetAllLifetimeStatisticsHeaders>>
getAllLifetimeStatisticsWithServiceResponseAsync()
Gets lifetime summary statistics for all of the Jobs in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<JobStatistics,JobGetAllLifetimeStatisticsHeaders>>
getAllLifetimeStatisticsWithServiceResponseAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account.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.TaskCounts
getTaskCounts(String jobId)
Gets the Task counts for the specified Job.TaskCounts
getTaskCounts(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)
Gets the Task counts for the specified Job.rx.Observable<TaskCounts>
getTaskCountsAsync(String jobId)
Gets the Task counts for the specified Job.rx.Observable<TaskCounts>
getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions)
Gets the Task counts for the specified Job.com.microsoft.rest.ServiceFuture<TaskCounts>
getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, com.microsoft.rest.ServiceCallback<TaskCounts> serviceCallback)
Gets the Task counts for the specified Job.com.microsoft.rest.ServiceFuture<TaskCounts>
getTaskCountsAsync(String jobId, com.microsoft.rest.ServiceCallback<TaskCounts> serviceCallback)
Gets the Task counts for the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCounts,JobGetTaskCountsHeaders>>
getTaskCountsWithServiceResponseAsync(String jobId)
Gets the Task counts for the specified Job.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCounts,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>>
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>>
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>>
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>>
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>>
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>>
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.
-
-
-
Method Detail
-
getAllLifetimeStatistics
JobStatistics getAllLifetimeStatistics()
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the JobStatistics 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
-
getAllLifetimeStatisticsAsync
com.microsoft.rest.ServiceFuture<JobStatistics> getAllLifetimeStatisticsAsync(com.microsoft.rest.ServiceCallback<JobStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsAsync
rx.Observable<JobStatistics> getAllLifetimeStatisticsAsync()
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the observable to the JobStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<JobStatistics,JobGetAllLifetimeStatisticsHeaders>> getAllLifetimeStatisticsWithServiceResponseAsync()
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Returns:
- the observable to the JobStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatistics
JobStatistics getAllLifetimeStatistics(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
jobGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the JobStatistics 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
-
getAllLifetimeStatisticsAsync
com.microsoft.rest.ServiceFuture<JobStatistics> getAllLifetimeStatisticsAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions, com.microsoft.rest.ServiceCallback<JobStatistics> serviceCallback)
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
jobGetAllLifetimeStatisticsOptions
- 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
-
getAllLifetimeStatisticsAsync
rx.Observable<JobStatistics> getAllLifetimeStatisticsAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
jobGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the observable to the JobStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAllLifetimeStatisticsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<JobStatistics,JobGetAllLifetimeStatisticsHeaders>> getAllLifetimeStatisticsWithServiceResponseAsync(JobGetAllLifetimeStatisticsOptions jobGetAllLifetimeStatisticsOptions)
Gets lifetime summary statistics for all of the Jobs in the specified Account. Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.- Parameters:
jobGetAllLifetimeStatisticsOptions
- Additional parameters for the operation- Returns:
- the observable to the JobStatistics object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
void delete(String jobId)
Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.- Parameters:
jobId
- The ID of the Job to delete.- 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
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.- 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
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.- Parameters:
jobId
- The ID of the Job to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
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.- Parameters:
jobId
- The ID of the Job to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
void delete(String jobId, JobDeleteOptions jobDeleteOptions)
Deletes a Job. Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.- Parameters:
jobId
- The ID of the Job to delete.jobDeleteOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
CloudJob get(String jobId)
Gets information about the specified Job.- 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
com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getAsync
rx.Observable<CloudJob> getAsync(String jobId)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
CloudJob get(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the CloudJob object if successful.
- 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
com.microsoft.rest.ServiceFuture<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions, com.microsoft.rest.ServiceCallback<CloudJob> serviceCallback)
Gets information about the specified Job.- 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
rx.Observable<CloudJob> getAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJob,JobGetHeaders>> getWithServiceResponseAsync(String jobId, JobGetOptions jobGetOptions)
Gets information about the specified Job.- Parameters:
jobId
- The ID of the Job.jobGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJob object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
void patch(String jobId, JobPatchParameter jobPatchParameter)
Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobPatchParameter
- The parameters for the request.- 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
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.- 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
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.- 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
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.- 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
void patch(String jobId, JobPatchParameter jobPatchParameter, JobPatchOptions jobPatchOptions)
Updates the properties of the specified Job. This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobPatchParameter
- The parameters for the request.jobPatchOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
void update(String jobId, JobUpdateParameter jobUpdateParameter)
Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobUpdateParameter
- The parameters for the request.- 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
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.- 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
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.- 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
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.- 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
void update(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)
Updates the properties of the specified Job. This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.- Parameters:
jobId
- The ID of the Job whose properties you want to update.jobUpdateParameter
- The parameters for the request.jobUpdateOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
void disable(String jobId, DisableJobOption disableTasks)
Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.- Parameters:
jobId
- The ID of the Job to disable.disableTasks
- What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'- 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
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.- 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
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.- 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
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.- 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
void disable(String jobId, DisableJobOption disableTasks, JobDisableOptions jobDisableOptions)
Disables the specified Job, preventing new Tasks from running. The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.- Parameters:
jobId
- The ID of the Job to disable.disableTasks
- What to do with active Tasks associated with the Job. Possible values include: 'requeue', 'terminate', 'wait'jobDisableOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
void enable(String jobId)
Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.- Parameters:
jobId
- The ID of the Job to enable.- 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
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.- 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
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.- Parameters:
jobId
- The ID of the Job to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableWithServiceResponseAsync
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.- Parameters:
jobId
- The ID of the Job to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enable
void enable(String jobId, JobEnableOptions jobEnableOptions)
Enables the specified Job, allowing new Tasks to run. When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.- Parameters:
jobId
- The ID of the Job to enable.jobEnableOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
void terminate(String jobId)
Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.- Parameters:
jobId
- The ID of the Job to terminate.- 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
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.- 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
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.- Parameters:
jobId
- The ID of the Job to terminate.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateWithServiceResponseAsync
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.- Parameters:
jobId
- The ID of the Job to terminate.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminate
void terminate(String jobId, String terminateReason, JobTerminateOptions jobTerminateOptions)
Terminates the specified Job, marking it as completed. When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.- Parameters:
jobId
- The ID of the Job to terminate.terminateReason
- The text you want to appear as the Job's TerminateReason. The default is 'UserTerminate'.jobTerminateOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
void add(JobAddParameter job)
Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.- Parameters:
job
- The Job to be added.- 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
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.- 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
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.- Parameters:
job
- The Job to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
addWithServiceResponseAsync
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.- Parameters:
job
- The Job to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
void add(JobAddParameter job, JobAddOptions jobAddOptions)
Adds a Job to the specified Account. The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.- Parameters:
job
- The Job to be added.jobAddOptions
- Additional parameters for the operation- 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
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.- 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
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.- 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
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.- 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
com.microsoft.azure.PagedList<CloudJob> list()
Lists all of the Jobs in the specified Account.- 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
com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- Parameters:
serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listAsync
rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync()
Lists all of the Jobs in the specified Account.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync()
Lists all of the Jobs in the specified Account.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<CloudJob> list(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJob> object if successful.
- 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
com.microsoft.rest.ServiceFuture<List<CloudJob>> listAsync(JobListOptions jobListOptions, com.microsoft.azure.ListOperationCallback<CloudJob> serviceCallback)
Lists all of the Jobs in the specified Account.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listWithServiceResponseAsync(JobListOptions jobListOptions)
Lists all of the Jobs in the specified Account.- Parameters:
jobListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobSchedule
com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule from which you want to get a list of Jobs.- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule from which you want to get a list of Jobs.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleWithServiceResponseAsync
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.- 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
-
listFromJobSchedule
com.microsoft.azure.PagedList<CloudJob> listFromJobSchedule(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule from which you want to get a list of Jobs.jobListFromJobScheduleOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleAsync(String jobScheduleId, JobListFromJobScheduleOptions jobListFromJobScheduleOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule from which you want to get a list of Jobs.jobListFromJobScheduleOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleWithServiceResponseAsync
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.- 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
-
listPreparationAndReleaseTaskStatus
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.- 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
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.- 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
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.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatusWithServiceResponseAsync
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.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the PagedList<JobPreparationAndReleaseTaskExecutionInformation> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listPreparationAndReleaseTaskStatus
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.- 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
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.- 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
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.- 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
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.- 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
-
getTaskCounts
TaskCounts 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.- Parameters:
jobId
- The ID of the Job.- Returns:
- the TaskCounts 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
com.microsoft.rest.ServiceFuture<TaskCounts> getTaskCountsAsync(String jobId, com.microsoft.rest.ServiceCallback<TaskCounts> 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.- 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
rx.Observable<TaskCounts> 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.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the TaskCounts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCounts,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.- Parameters:
jobId
- The ID of the Job.- Returns:
- the observable to the TaskCounts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCounts
TaskCounts 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.- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the TaskCounts 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
com.microsoft.rest.ServiceFuture<TaskCounts> getTaskCountsAsync(String jobId, JobGetTaskCountsOptions jobGetTaskCountsOptions, com.microsoft.rest.ServiceCallback<TaskCounts> 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.- 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
rx.Observable<TaskCounts> 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.- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the observable to the TaskCounts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getTaskCountsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<TaskCounts,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.- Parameters:
jobId
- The ID of the Job.jobGetTaskCountsOptions
- Additional parameters for the operation- Returns:
- the observable to the TaskCounts object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink)
Lists all of the Jobs in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJob>,JobListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Jobs in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudJob> listNext(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listNextAsync(String nextPageLink, JobListNextOptions jobListNextOptions)
Lists all of the Jobs in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
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.- 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
-
listFromJobScheduleNext
com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextWithServiceResponseAsync
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.- 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
-
listFromJobScheduleNext
com.microsoft.azure.PagedList<CloudJob> listFromJobScheduleNext(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListFromJobScheduleNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJob> object if successful.
- 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
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.- 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
rx.Observable<com.microsoft.azure.Page<CloudJob>> listFromJobScheduleNextAsync(String nextPageLink, JobListFromJobScheduleNextOptions jobListFromJobScheduleNextOptions)
Lists the Jobs that have been created under the specified Job Schedule.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobListFromJobScheduleNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJob> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromJobScheduleNextWithServiceResponseAsync
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.- 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
-
listPreparationAndReleaseTaskStatusNext
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.- 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
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.- 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
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.- 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
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.- 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
-
listPreparationAndReleaseTaskStatusNext
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.- 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
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.- 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
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.- 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
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.- 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
-
-