JobScheduleOperationsExtensions.Patch Method

Definition

Updates the properties of the specified Job Schedule.

public static Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchHeaders Patch (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchParameter jobSchedulePatchParameter, Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchOptions jobSchedulePatchOptions = default);
static member Patch : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchParameter * Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchOptions -> Microsoft.Azure.Batch.Protocol.Models.JobSchedulePatchHeaders
<Extension()>
Public Function Patch (operations As IJobScheduleOperations, jobScheduleId As String, jobSchedulePatchParameter As JobSchedulePatchParameter, Optional jobSchedulePatchOptions As JobSchedulePatchOptions = Nothing) As JobSchedulePatchHeaders

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

jobScheduleId
System.String

The ID of the Job Schedule to update.

jobSchedulePatchParameter
JobSchedulePatchParameter

The parameters for the request.

jobSchedulePatchOptions
JobSchedulePatchOptions

Additional parameters for the operation

Returns

JobSchedulePatchHeaders

Remarks

This replaces only the Job Schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep 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.

Applies to