你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JobScheduleOperationsExtensions.Update 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
汇报指定作业计划的属性。
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 服务将删除现有计划。 对作业计划的更改仅影响更新后计划创建的作业;当前运行的作业不受影响。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈