Interface JobSchedules
-
- All Known Implementing Classes:
JobSchedulesImpl
public interface JobSchedules
An instance of this class provides access to all the operations defined in JobSchedules.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.rx.Observable<Void>
addAsync(JobScheduleAddParameter cloudJobSchedule)
Adds a Job Schedule to the specified Account.rx.Observable<Void>
addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a Job Schedule to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job Schedule to the specified Account.com.microsoft.rest.ServiceFuture<Void>
addAsync(JobScheduleAddParameter cloudJobSchedule, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job Schedule to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleAddHeaders>>
addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule)
Adds a Job Schedule to the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleAddHeaders>>
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.void
delete(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a Job Schedule from the specified Account.rx.Observable<Void>
deleteAsync(String jobScheduleId)
Deletes a Job Schedule from the specified Account.rx.Observable<Void>
deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a Job Schedule from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Job Schedule from the specified Account.com.microsoft.rest.ServiceFuture<Void>
deleteAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes a Job Schedule from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDeleteHeaders>>
deleteWithServiceResponseAsync(String jobScheduleId)
Deletes a Job Schedule from the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDeleteHeaders>>
deleteWithServiceResponseAsync(String jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions)
Deletes a Job Schedule from the specified Account.void
disable(String jobScheduleId)
Disables a Job Schedule.void
disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule.rx.Observable<Void>
disableAsync(String jobScheduleId)
Disables a Job Schedule.rx.Observable<Void>
disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
disableAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
disableAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDisableHeaders>>
disableWithServiceResponseAsync(String jobScheduleId)
Disables a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDisableHeaders>>
disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule.void
enable(String jobScheduleId)
Enables a Job Schedule.void
enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a Job Schedule.rx.Observable<Void>
enableAsync(String jobScheduleId)
Enables a Job Schedule.rx.Observable<Void>
enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
enableAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
enableAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleEnableHeaders>>
enableWithServiceResponseAsync(String jobScheduleId)
Enables a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleEnableHeaders>>
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.rx.Observable<Boolean>
existsAsync(String jobScheduleId)
Checks the specified Job Schedule exists.rx.Observable<Boolean>
existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified Job Schedule exists.com.microsoft.rest.ServiceFuture<Boolean>
existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Checks the specified Job Schedule exists.com.microsoft.rest.ServiceFuture<Boolean>
existsAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Checks the specified Job Schedule exists.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,JobScheduleExistsHeaders>>
existsWithServiceResponseAsync(String jobScheduleId)
Checks the specified Job Schedule exists.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,JobScheduleExistsHeaders>>
existsWithServiceResponseAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified Job Schedule exists.CloudJobSchedule
get(String jobScheduleId)
Gets information about the specified Job Schedule.CloudJobSchedule
get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.rx.Observable<CloudJobSchedule>
getAsync(String jobScheduleId)
Gets information about the specified Job Schedule.rx.Observable<CloudJobSchedule>
getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.com.microsoft.rest.ServiceFuture<CloudJobSchedule>
getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions, com.microsoft.rest.ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified Job Schedule.com.microsoft.rest.ServiceFuture<CloudJobSchedule>
getAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJobSchedule,JobScheduleGetHeaders>>
getWithServiceResponseAsync(String jobScheduleId)
Gets information about the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJobSchedule,JobScheduleGetHeaders>>
getWithServiceResponseAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.com.microsoft.azure.PagedList<CloudJobSchedule>
list()
Lists all of the Job Schedules in the specified Account.com.microsoft.azure.PagedList<CloudJobSchedule>
list(JobScheduleListOptions jobScheduleListOptions)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJobSchedule>>
listAsync()
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJobSchedule>>
listAsync(JobScheduleListOptions jobScheduleListOptions)
Lists all of the Job Schedules in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>>
listAsync(JobScheduleListOptions jobScheduleListOptions, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>>
listAsync(com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.com.microsoft.azure.PagedList<CloudJobSchedule>
listNext(String nextPageLink)
Lists all of the Job Schedules in the specified Account.com.microsoft.azure.PagedList<CloudJobSchedule>
listNext(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJobSchedule>>
listNextAsync(String nextPageLink)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.azure.Page<CloudJobSchedule>>
listNextAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>>
listNextAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>>
listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>>
listNextWithServiceResponseAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>>
listWithServiceResponseAsync()
Lists all of the Job Schedules in the specified Account.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>>
listWithServiceResponseAsync(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.void
patch(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified Job Schedule.rx.Observable<Void>
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified Job Schedule.rx.Observable<Void>
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified Job Schedule.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job Schedule.com.microsoft.rest.ServiceFuture<Void>
patchAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobSchedulePatchHeaders>>
patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter)
Updates the properties of the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobSchedulePatchHeaders>>
patchWithServiceResponseAsync(String jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions)
Updates the properties of the specified Job Schedule.void
terminate(String jobScheduleId)
Terminates a Job Schedule.void
terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.rx.Observable<Void>
terminateAsync(String jobScheduleId)
Terminates a Job Schedule.rx.Observable<Void>
terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
terminateAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates a Job Schedule.com.microsoft.rest.ServiceFuture<Void>
terminateAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleTerminateHeaders>>
terminateWithServiceResponseAsync(String jobScheduleId)
Terminates a Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleTerminateHeaders>>
terminateWithServiceResponseAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.void
update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified Job Schedule.void
update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified Job Schedule.rx.Observable<Void>
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified Job Schedule.rx.Observable<Void>
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified Job Schedule.com.microsoft.rest.ServiceFuture<Void>
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job Schedule.com.microsoft.rest.ServiceFuture<Void>
updateAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Updates the properties of the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleUpdateHeaders>>
updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)
Updates the properties of the specified Job Schedule.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleUpdateHeaders>>
updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)
Updates the properties of the specified Job Schedule.
-
-
-
Method Detail
-
exists
boolean exists(String jobScheduleId)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.- Returns:
- the boolean 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
-
existsAsync
com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsAsync
rx.Observable<Boolean> existsAsync(String jobScheduleId)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.- Returns:
- the observable to the boolean object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,JobScheduleExistsHeaders>> existsWithServiceResponseAsync(String jobScheduleId)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.- Returns:
- the observable to the boolean object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
exists
boolean exists(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.jobScheduleExistsOptions
- Additional parameters for the operation- Returns:
- the boolean 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
-
existsAsync
com.microsoft.rest.ServiceFuture<Boolean> existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions, com.microsoft.rest.ServiceCallback<Boolean> serviceCallback)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.jobScheduleExistsOptions
- 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
-
existsAsync
rx.Observable<Boolean> existsAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.jobScheduleExistsOptions
- Additional parameters for the operation- Returns:
- the observable to the boolean object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
existsWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Boolean,JobScheduleExistsHeaders>> existsWithServiceResponseAsync(String jobScheduleId, JobScheduleExistsOptions jobScheduleExistsOptions)
Checks the specified Job Schedule exists.- Parameters:
jobScheduleId
- The ID of the Job Schedule which you want to check.jobScheduleExistsOptions
- Additional parameters for the operation- Returns:
- the observable to the boolean object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
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:
jobScheduleId
- The ID of the Job Schedule 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 jobScheduleId, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule 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 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:
jobScheduleId
- The ID of the Job Schedule to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDeleteHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
delete
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:
jobScheduleId
- The ID of the Job Schedule to delete.jobScheduleDeleteOptions
- 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 jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to delete.jobScheduleDeleteOptions
- 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 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:
jobScheduleId
- The ID of the Job Schedule to delete.jobScheduleDeleteOptions
- 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,JobScheduleDeleteHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to delete.jobScheduleDeleteOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
CloudJobSchedule get(String jobScheduleId)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.- Returns:
- the CloudJobSchedule 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<CloudJobSchedule> getAsync(String jobScheduleId, com.microsoft.rest.ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.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<CloudJobSchedule> getAsync(String jobScheduleId)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.- Returns:
- the observable to the CloudJobSchedule object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJobSchedule,JobScheduleGetHeaders>> getWithServiceResponseAsync(String jobScheduleId)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.- Returns:
- the observable to the CloudJobSchedule object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
get
CloudJobSchedule get(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.jobScheduleGetOptions
- Additional parameters for the operation- Returns:
- the CloudJobSchedule 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<CloudJobSchedule> getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions, com.microsoft.rest.ServiceCallback<CloudJobSchedule> serviceCallback)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.jobScheduleGetOptions
- 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<CloudJobSchedule> getAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.jobScheduleGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJobSchedule object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<CloudJobSchedule,JobScheduleGetHeaders>> getWithServiceResponseAsync(String jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions)
Gets information about the specified Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to get.jobScheduleGetOptions
- Additional parameters for the operation- Returns:
- the observable to the CloudJobSchedule object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
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:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- 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 jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- 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 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:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- 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,JobSchedulePatchHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- The parameters for the request.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
patch
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:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- The parameters for the request.jobSchedulePatchOptions
- 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 jobScheduleId, JobSchedulePatchParameter jobSchedulePatchParameter, JobSchedulePatchOptions jobSchedulePatchOptions, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- The parameters for the request.jobSchedulePatchOptions
- 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 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:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- The parameters for the request.jobSchedulePatchOptions
- 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,JobSchedulePatchHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobSchedulePatchParameter
- The parameters for the request.jobSchedulePatchOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
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:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- 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 jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- 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 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:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- 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,JobScheduleUpdateHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- The parameters for the request.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
update
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:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- The parameters for the request.jobScheduleUpdateOptions
- 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 jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions, com.microsoft.rest.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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- The parameters for the request.jobScheduleUpdateOptions
- 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 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:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- The parameters for the request.jobScheduleUpdateOptions
- 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,JobScheduleUpdateHeaders>> 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.- Parameters:
jobScheduleId
- The ID of the Job Schedule to update.jobScheduleUpdateParameter
- The parameters for the request.jobScheduleUpdateOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disable
void disable(String jobScheduleId)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.- 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 jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.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 jobScheduleId)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disableWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
disable
void disable(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.jobScheduleDisableOptions
- 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 jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.jobScheduleDisableOptions
- 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 jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.jobScheduleDisableOptions
- 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,JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a Job Schedule. No new Jobs will be created until the Job Schedule is enabled again.- Parameters:
jobScheduleId
- The ID of the Job Schedule to disable.jobScheduleDisableOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enable
void enable(String jobScheduleId)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule 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 jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule 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 jobScheduleId)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enableWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleEnableHeaders>> enableWithServiceResponseAsync(String jobScheduleId)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
enable
void enable(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.jobScheduleEnableOptions
- 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 jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.jobScheduleEnableOptions
- 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 jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.jobScheduleEnableOptions
- 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,JobScheduleEnableHeaders>> enableWithServiceResponseAsync(String jobScheduleId, JobScheduleEnableOptions jobScheduleEnableOptions)
Enables a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to enable.jobScheduleEnableOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminate
void terminate(String jobScheduleId)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.- 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 jobScheduleId, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.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 jobScheduleId)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminateWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,JobScheduleTerminateHeaders>> terminateWithServiceResponseAsync(String jobScheduleId)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
terminate
void terminate(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.jobScheduleTerminateOptions
- 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 jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.jobScheduleTerminateOptions
- 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 jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.jobScheduleTerminateOptions
- 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,JobScheduleTerminateHeaders>> terminateWithServiceResponseAsync(String jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions)
Terminates a Job Schedule.- Parameters:
jobScheduleId
- The ID of the Job Schedule to terminates.jobScheduleTerminateOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
void add(JobScheduleAddParameter cloudJobSchedule)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule 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(JobScheduleAddParameter cloudJobSchedule, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule 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(JobScheduleAddParameter cloudJobSchedule)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule 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,JobScheduleAddHeaders>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule to be added.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
add
void add(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule to be added.jobScheduleAddOptions
- 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(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule to be added.jobScheduleAddOptions
- 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(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule to be added.jobScheduleAddOptions
- 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,JobScheduleAddHeaders>> addWithServiceResponseAsync(JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions)
Adds a Job Schedule to the specified Account.- Parameters:
cloudJobSchedule
- The Job Schedule to be added.jobScheduleAddOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<CloudJobSchedule> list()
Lists all of the Job Schedules in the specified Account.- Returns:
- the PagedList<CloudJobSchedule> 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<CloudJobSchedule>> listAsync(com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules 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<CloudJobSchedule>> listAsync()
Lists all of the Job Schedules in the specified Account.- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>> listWithServiceResponseAsync()
Lists all of the Job Schedules in the specified Account.- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
list
com.microsoft.azure.PagedList<CloudJobSchedule> list(JobScheduleListOptions jobScheduleListOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
jobScheduleListOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJobSchedule> 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<CloudJobSchedule>> listAsync(JobScheduleListOptions jobScheduleListOptions, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.- Parameters:
jobScheduleListOptions
- 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<CloudJobSchedule>> listAsync(JobScheduleListOptions jobScheduleListOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
jobScheduleListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>> listWithServiceResponseAsync(JobScheduleListOptions jobScheduleListOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
jobScheduleListOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudJobSchedule> listNext(String nextPageLink)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<CloudJobSchedule> 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<CloudJobSchedule>> listNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules 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<CloudJobSchedule>> listNextAsync(String nextPageLink)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>> listNextWithServiceResponseAsync(String nextPageLink)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNext
com.microsoft.azure.PagedList<CloudJobSchedule> listNext(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobScheduleListNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<CloudJobSchedule> 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<CloudJobSchedule>> listNextAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions, com.microsoft.rest.ServiceFuture<List<CloudJobSchedule>> serviceFuture, com.microsoft.azure.ListOperationCallback<CloudJobSchedule> serviceCallback)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobScheduleListNextOptions
- 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<CloudJobSchedule>> listNextAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobScheduleListNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listNextWithServiceResponseAsync
rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<CloudJobSchedule>,JobScheduleListHeaders>> listNextWithServiceResponseAsync(String nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions)
Lists all of the Job Schedules in the specified Account.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.jobScheduleListNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<CloudJobSchedule> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-