JobOperationsExtensions.Patch(IJobOperations, String, JobPatchParameter, JobPatchOptions) Method

Definition

Updates the properties of the specified job.

public static Microsoft.Azure.Batch.Protocol.Models.JobPatchHeaders Patch (this Microsoft.Azure.Batch.Protocol.IJobOperations operations, string jobId, Microsoft.Azure.Batch.Protocol.Models.JobPatchParameter jobPatchParameter, Microsoft.Azure.Batch.Protocol.Models.JobPatchOptions jobPatchOptions = null);
static member Patch : Microsoft.Azure.Batch.Protocol.IJobOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobPatchParameter * Microsoft.Azure.Batch.Protocol.Models.JobPatchOptions -> Microsoft.Azure.Batch.Protocol.Models.JobPatchHeaders

Parameters

operations
IJobOperations

The operations group for this extension method.

jobId
System.String

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

jobPatchParameter
JobPatchParameter

The parameters for the request.

jobPatchOptions
JobPatchOptions

Additional parameters for the operation

Returns

JobPatchHeaders

Remarks

This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.

Applies to