你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

取消标记。

返回

注解

这将仅替换请求中指定的作业计划属性。 例如,如果未使用此请求指定计划属性,则 Batch 服务将保留现有计划。 对作业计划的更改仅影响更新后计划创建的作业;当前运行的作业不受影响。

适用于