JobScheduleOperationsExtensions.PatchAsync メソッド

定義

指定したジョブ スケジュールのプロパティを更新します。

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

パラメーター

operations
IJobScheduleOperations

この拡張メソッドの操作グループ。

jobScheduleId
String

更新するジョブ スケジュールの ID。

jobSchedulePatchParameter
JobSchedulePatchParameter

要求のパラメーター。

jobSchedulePatchOptions
JobSchedulePatchOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

これにより、要求で指定されたジョブ スケジュール プロパティのみが置き換えられます。 たとえば、この要求で schedule プロパティが指定されていない場合、Batch サービスは既存のスケジュールを保持します。 ジョブ スケジュールの変更は、更新が行われた後にスケジュールによって作成されたジョブにのみ影響します。現在実行中のジョブは影響を受けません。

適用対象