JobSchedules.updateWithServiceResponseAsync 方法

定义

重载

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.

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.

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.

public Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

参数

jobScheduleId
String

The ID of the job schedule to update.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

The parameters for the request.

返回

Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

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.

public Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>> updateWithServiceResponseAsync(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter, JobScheduleUpdateOptions jobScheduleUpdateOptions)

参数

jobScheduleId
String

The ID of the job schedule to update.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

The parameters for the request.

jobScheduleUpdateOptions
JobScheduleUpdateOptions

Additional parameters for the operation

返回

Observable<ServiceResponseWithHeaders<Void, JobScheduleUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

适用于