Jobs.updateWithServiceResponseAsync Method

Definition

Overloads

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)
Parameters
jobId
String

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

jobUpdateParameter
JobUpdateParameter

The parameters for the request.

Returns
Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

Exceptions
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)
Parameters
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

Returns
Observable<ServiceResponseWithHeaders<Void, JobUpdateHeaders>>

the ServiceResponseWithHeaders object if successful.

Exceptions
IllegalArgumentException

thrown if parameters fail the validation