JobSchedules.update 方法

定义

重载

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.

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.

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.

public void update(String jobScheduleId, JobScheduleUpdateParameter jobScheduleUpdateParameter)

参数

jobScheduleId
String

The ID of the job schedule to update.

jobScheduleUpdateParameter
JobScheduleUpdateParameter

The parameters for the request.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

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.

public void update(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

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

适用于