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

AutomationJobScheduleCollection.GetAsync(Guid, CancellationToken) 方法

定义

检索作业计划名称标识的作业计划。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
  • 操作IdJobSchedule_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>> GetAsync (Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>>
Public Overridable Function GetAsync (jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationJobScheduleResource))

参数

jobScheduleId
Guid

作业计划名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于