JobSchedules.disableWithServiceResponseAsync 方法
定义
重载
disableWithServiceResponseAsync(String jobScheduleId) |
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
|
disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions) |
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
|
disableWithServiceResponseAsync(String jobScheduleId)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
public Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId)
参数
- jobScheduleId
- String
The ID of the job schedule to disable.
返回
Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>>
the ServiceResponseWithHeaders object if successful.
例外
IllegalArgumentException
thrown if parameters fail the validation
disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
Disables a job schedule. No new jobs will be created until the job schedule is enabled again.
public Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>> disableWithServiceResponseAsync(String jobScheduleId, JobScheduleDisableOptions jobScheduleDisableOptions)
参数
- jobScheduleId
- String
The ID of the job schedule to disable.
- jobScheduleDisableOptions
- JobScheduleDisableOptions
Additional parameters for the operation
返回
Observable<ServiceResponseWithHeaders<Void, JobScheduleDisableHeaders>>
the ServiceResponseWithHeaders object if successful.
例外
IllegalArgumentException
thrown if parameters fail the validation