Jobs.updateWithServiceResponseAsync Method

定义

重载

updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified job. This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified job. This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)

Updates the properties of the specified job. This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

public Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter)
参数
jobId
String

The ID of the job whose properties you want to update.

jobUpdateParameter
JobUpdateParameter

The parameters for the request.

返回
Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

异常
IllegalArgumentException

thrown if parameters fail the validation

updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)

Updates the properties of the specified job. This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.

public Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>> updateWithServiceResponseAsync(String jobId, JobUpdateParameter jobUpdateParameter, JobUpdateOptions jobUpdateOptions)
参数
jobId
String

The ID of the job whose properties you want to update.

jobUpdateParameter
JobUpdateParameter

The parameters for the request.

jobUpdateOptions
JobUpdateOptions

Additional parameters for the operation

返回
Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

异常
IllegalArgumentException

thrown if parameters fail the validation

适用于