JobSchedules Interface
public interface JobSchedules
An instance of this class provides access to all the operations defined in JobSchedules.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
add(JobScheduleAddParameter cloudJobSchedule)
Adds a job schedule to the specified account. |
void |
add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a job schedule to the specified account. |
Observable<Void> |
addAsync(JobScheduleAddParameter cloudJobSchedule)
Adds a job schedule to the specified account. |
ServiceFuture<Void> |
addAsync(JobScheduleAddParameter cloudJobSchedule, final ServiceCallback<Void> serviceCallback)
Adds a job schedule to the specified account. |
Observable<Void> |
addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a job schedule to the specified account. |
ServiceFuture<Void> |
addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions, final ServiceCallback<Void> serviceCallback)
Adds a job schedule to the specified account. |
Observable<ServiceResponseWithHeaders<Void, Job |
addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule)
Adds a job schedule to the specified account. |
Observable<ServiceResponseWithHeaders<Void, Job |
addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a job schedule to the specified account. |
void |
delete(String jobScheduleId)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
void |
delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
Observable<Void> |
deleteAsync(String jobScheduleId)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
ServiceFuture<Void> |
deleteAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
Observable<Void> |
deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
ServiceFuture<Void> |
deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions, final ServiceCallback<Void> serviceCallback)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
Observable<ServiceResponseWithHeaders<Void, Job |
deleteWithServiceResponseAsync(String jobScheduleId)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
Observable<ServiceResponseWithHeaders<Void, Job |
deleteWithServiceResponseAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics. |
void |
disable(String jobScheduleId)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
void |
disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
Observable<Void> |
disableAsync(String jobScheduleId)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
ServiceFuture<Void> |
disableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
Observable<Void> |
disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
ServiceFuture<Void> |
disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, final ServiceCallback<Void> serviceCallback)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
Observable<ServiceResponseWithHeaders<Void, Job |
disableWithServiceResponseAsync(String jobScheduleId)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
Observable<ServiceResponseWithHeaders<Void, Job |
disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again. |
void |
enable(String jobScheduleId)
Enables a job schedule. |
void |
enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a job schedule. |
Observable<Void> |
enableAsync(String jobScheduleId)
Enables a job schedule. |
ServiceFuture<Void> |
enableAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)
Enables a job schedule. |
Observable<Void> |
enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a job schedule. |
ServiceFuture<Void> |
enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions, final ServiceCallback<Void> serviceCallback)
Enables a job schedule. |
Observable<ServiceResponseWithHeaders<Void, Job |
enableWithServiceResponseAsync(String jobScheduleId)
Enables a job schedule. |
Observable<ServiceResponseWithHeaders<Void, Job |
enableWithServiceResponseAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a job schedule. |
boolean |
exists(String jobScheduleId)
Checks the specified job schedule exists. |
boolean |
exists(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified job schedule exists. |
Observable<Boolean> |
existsAsync(String jobScheduleId)
Checks the specified job schedule exists. |
ServiceFuture<Boolean> |
existsAsync(String jobScheduleId, final ServiceCallback<Boolean> serviceCallback)
Checks the specified job schedule exists. |
Observable<Boolean> |
existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified job schedule exists. |
ServiceFuture<Boolean> |
existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions, final ServiceCallback<Boolean> serviceCallback)
Checks the specified job schedule exists. |
Observable<ServiceResponseWithHeaders<Boolean, Job |
existsWithServiceResponseAsync(String jobScheduleId)
Checks the specified job schedule exists. |
Observable<ServiceResponseWithHeaders<Boolean, Job |
existsWithServiceResponseAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified job schedule exists. |
Cloud |
get(String jobScheduleId)
Gets information about the specified job schedule. |
Cloud |
get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified job schedule. |
Observable<Cloud |
getAsync(String jobScheduleId)
Gets information about the specified job schedule. |
ServiceFuture<Cloud |
getAsync(String jobScheduleId, final ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified job schedule. |
Observable<Cloud |
getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified job schedule. |
ServiceFuture<Cloud |
getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions, final ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified job schedule. |
Observable<ServiceResponseWithHeaders<Cloud |
getWithServiceResponseAsync(String jobScheduleId)
Gets information about the specified job schedule. |
Observable<ServiceResponseWithHeaders<Cloud |
getWithServiceResponseAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified job schedule. |
PagedList<Cloud |
list()
Lists all of the job schedules in the specified account. |
PagedList<Cloud |
list(final JobScheduleListOptions jobScheduleListOptions)
Lists all of the job schedules in the specified account. |
Observable<Page<Cloud |
listAsync()
Lists all of the job schedules in the specified account. |
Observable<Page<Cloud |
listAsync(final JobScheduleListOptions jobScheduleListOptions)
Lists all of the job schedules in the specified account. |
ServiceFuture<List<Cloud |
listAsync(final JobScheduleListOptions jobScheduleListOptions, final ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the job schedules in the specified account. |
ServiceFuture<List<Cloud |
listAsync(final ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the job schedules in the specified account. |
PagedList<Cloud |
listNext(final String nextPageLink)
Lists all of the job schedules in the specified account. |
PagedList<Cloud |
listNext(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the job schedules in the specified account. |
Observable<Page<Cloud |
listNextAsync(final String nextPageLink)
Lists all of the job schedules in the specified account. |
Observable<Page<Cloud |
listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the job schedules in the specified account. |
ServiceFuture<List<Cloud |
listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions, final ServiceFuture<List<CloudJobSchedule>> serviceFuture, final ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the job schedules in the specified account. |
ServiceFuture<List<Cloud |
listNextAsync(final String nextPageLink, final ServiceFuture<List<CloudJobSchedule>> serviceFuture, final ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the job schedules in the specified account. |
Observable<ServiceResponseWithHeaders<Page<Cloud |
listNextWithServiceResponseAsync(final String nextPageLink)
Lists all of the job schedules in the specified account. |
Observable<ServiceResponseWithHeaders<Page<Cloud |
listNextWithServiceResponseAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the job schedules in the specified account. |
Observable<ServiceResponseWithHeaders<Page<Cloud |
listWithServiceResponseAsync()
Lists all of the job schedules in the specified account. |
Observable<ServiceResponseWithHeaders<Page<Cloud |
listWithServiceResponseAsync(final JobScheduleListOptions jobScheduleListOptions)
Lists all of the job schedules in the specified account. |
void |
patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
void |
patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<Void> |
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
ServiceFuture<Void> |
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, final ServiceCallback<Void> serviceCallback)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<Void> |
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
ServiceFuture<Void> |
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions, final ServiceCallback<Void> serviceCallback)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<ServiceResponseWithHeaders<Void, Job |
patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<ServiceResponseWithHeaders<Void, Job |
patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
void |
terminate(String jobScheduleId)
Terminates a job schedule. |
void |
terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a job schedule. |
Observable<Void> |
terminateAsync(String jobScheduleId)
Terminates a job schedule. |
ServiceFuture<Void> |
terminateAsync(String jobScheduleId, final ServiceCallback<Void> serviceCallback)
Terminates a job schedule. |
Observable<Void> |
terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a job schedule. |
ServiceFuture<Void> |
terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions, final ServiceCallback<Void> serviceCallback)
Terminates a job schedule. |
Observable<ServiceResponseWithHeaders<Void, Job |
terminateWithServiceResponseAsync(String jobScheduleId)
Terminates a job schedule. |
Observable<ServiceResponseWithHeaders<Void, Job |
terminateWithServiceResponseAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a job schedule. |
void |
update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
void |
update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<Void> |
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
ServiceFuture<Void> |
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, final ServiceCallback<Void> serviceCallback)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<Void> |
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
ServiceFuture<Void> |
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions, final ServiceCallback<Void> serviceCallback)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<ServiceResponseWithHeaders<Void, Job |
updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Observable<ServiceResponseWithHeaders<Void, Job |
updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected. |
Method Details
add
public void add(JobScheduleAddParameter cloudJobSchedule)
Adds a job schedule to the specified account.
Parameters:
Throws:
add
public void add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a job schedule to the specified account.
Parameters:
Throws:
addAsync
public Observable
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
addAsync
public ServiceFuture
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
addAsync
public Observable
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
addAsync
public ServiceFuture
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
addWithServiceResponseAsync
public Observable
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
addWithServiceResponseAsync
public Observable
Adds a job schedule to the specified account.
Parameters:
Returns:
Throws:
delete
public void delete(String jobScheduleId)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Throws:
delete
public void delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Throws:
deleteAsync
public Observable
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
deleteAsync
public Observable
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
deleteAsync
public ServiceFuture
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
deleteWithServiceResponseAsync
public Observable
Deletes a job schedule from the specified account. When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.
Parameters:
Returns:
Throws:
disable
public void disable(String jobScheduleId)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Throws:
disable
public void disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Throws:
disableAsync
public Observable
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
disableAsync
public ServiceFuture
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
disableAsync
public Observable
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
disableAsync
public ServiceFuture
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
disableWithServiceResponseAsync
public Observable
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
disableWithServiceResponseAsync
public Observable
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
Parameters:
Returns:
Throws:
enable
public void enable(String jobScheduleId)
Enables a job schedule.
Parameters:
Throws:
enable
public void enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a job schedule.
Parameters:
Throws:
enableAsync
public Observable
Enables a job schedule.
Parameters:
Returns:
Throws:
enableAsync
public ServiceFuture
Enables a job schedule.
Parameters:
Returns:
Throws:
enableAsync
public Observable
Enables a job schedule.
Parameters:
Returns:
Throws:
enableAsync
public ServiceFuture
Enables a job schedule.
Parameters:
Returns:
Throws:
enableWithServiceResponseAsync
public Observable
Enables a job schedule.
Parameters:
Returns:
Throws:
enableWithServiceResponseAsync
public Observable
Enables a job schedule.
Parameters:
Returns:
Throws:
exists
public boolean exists(String jobScheduleId)
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
exists
public boolean exists(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsAsync
public Observable
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsAsync
public ServiceFuture
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsAsync
public Observable
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsAsync
public ServiceFuture
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsWithServiceResponseAsync
public Observable
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
existsWithServiceResponseAsync
public Observable
Checks the specified job schedule exists.
Parameters:
Returns:
Throws:
get
public CloudJobSchedule get(String jobScheduleId)
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
get
public CloudJobSchedule get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getAsync
public Observable
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getAsync
public ServiceFuture
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getWithServiceResponseAsync
public Observable
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
getWithServiceResponseAsync
public Observable
Gets information about the specified job schedule.
Parameters:
Returns:
Throws:
list
public PagedList
Lists all of the job schedules in the specified account.
Returns:
Throws:
list
public PagedList
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listAsync
public Observable
Lists all of the job schedules in the specified account.
Returns:
Throws:
listAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listAsync
public ServiceFuture> listAsync(final JobScheduleListOptions jobScheduleListOptions, final ListOperationCallback
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listAsync
public ServiceFuture> listAsync(final ListOperationCallback
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNext
public PagedList
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNext
public PagedList
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextAsync
public ServiceFuture> listNextAsync(final String nextPageLink, final JobScheduleListNextOptions jobScheduleListNextOptions, final ServiceFuture
> serviceFuture, final ListOperationCallback
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextAsync
public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture
> serviceFuture, final ListOperationCallback
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextWithServiceResponseAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listNextWithServiceResponseAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
listWithServiceResponseAsync
public Observable
Lists all of the job schedules in the specified account.
Returns:
Throws:
listWithServiceResponseAsync
public Observable
Lists all of the job schedules in the specified account.
Parameters:
Returns:
Throws:
patch
public void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Throws:
patch
public void patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Throws:
patchAsync
public Observable
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
patchAsync
public ServiceFuture
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
patchAsync
public Observable
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
patchAsync
public ServiceFuture
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
patchWithServiceResponseAsync
public Observable
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
patchWithServiceResponseAsync
public Observable
Updates the properties of the specified job schedule. This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
terminate
public void terminate(String jobScheduleId)
Terminates a job schedule.
Parameters:
Throws:
terminate
public void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a job schedule.
Parameters:
Throws:
terminateAsync
public Observable
Terminates a job schedule.
Parameters:
Returns:
Throws:
terminateAsync
public ServiceFuture
Terminates a job schedule.
Parameters:
Returns:
Throws:
terminateAsync
public Observable
Terminates a job schedule.
Parameters:
Returns:
Throws:
terminateAsync
public ServiceFuture
Terminates a job schedule.
Parameters:
Returns:
Throws:
terminateWithServiceResponseAsync
public Observable
Terminates a job schedule.
Parameters:
Returns:
Throws:
terminateWithServiceResponseAsync
public Observable
Terminates a job schedule.
Parameters:
Returns:
Throws:
update
public void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Throws:
update
public void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Throws:
updateAsync
public Observable
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
updateAsync
public Observable
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
updateAsync
public ServiceFuture
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
updateWithServiceResponseAsync
public Observable
Updates the properties of the specified job schedule. This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.
Parameters:
Returns:
Throws:
Applies to
Azure SDK for Java