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

JobScheduleOperationsExtensions.Update 方法

定义

汇报指定作业计划的属性。

public static Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateHeaders Update (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateParameter jobScheduleUpdateParameter, Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateOptions jobScheduleUpdateOptions = default);
static member Update : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateParameter * Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateOptions -> Microsoft.Azure.Batch.Protocol.Models.JobScheduleUpdateHeaders
<Extension()>
Public Function Update (operations As IJobScheduleOperations, jobScheduleId As String, jobScheduleUpdateParameter As JobScheduleUpdateParameter, Optional jobScheduleUpdateOptions As JobScheduleUpdateOptions = Nothing) As JobScheduleUpdateHeaders

参数

operations
IJobScheduleOperations

此扩展方法的操作组。

jobScheduleId
String

要更新的作业计划的 ID。

jobScheduleUpdateParameter
JobScheduleUpdateParameter

请求的参数。

jobScheduleUpdateOptions
JobScheduleUpdateOptions

操作的其他参数

返回

注解

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

适用于