你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JobScheduleOperations.GetJobSchedule 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指定的 CloudJobSchedule。
public Microsoft.Azure.Batch.CloudJobSchedule GetJobSchedule(string jobScheduleId, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetJobSchedule : string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.CloudJobSchedule
Public Function GetJobSchedule (jobScheduleId As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As CloudJobSchedule
参数
- jobScheduleId
- String
要获取的作业计划的 ID。
- detailLevel
- DetailLevel
一个 DetailLevel ,用于控制从服务检索哪些属性。
- additionalBehaviors
- IEnumerable<BatchClientBehavior>
应用于 和 detailLevel
之后的 Batch 服务请求的CustomBehaviors实例集合BatchClientBehavior。
返回
一个 ,CloudJobSchedule包含有关指定Azure Batch作业计划的信息。
注解
这是一个阻止操作。 有关非阻塞等效项,请参阅 GetJobScheduleAsync(String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken)。