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

JobScheduleOperationsExtensions.GetAsync 方法

定义

重载

GetAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

检索由作业计划名称标识的作业计划。 http://aka.ms/azureautomationsdk/jobscheduleoperations

GetAsync(IJobScheduleOperations, String, String, Guid)

GetAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)

检索由作业计划名称标识的作业计划。 http://aka.ms/azureautomationsdk/jobscheduleoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule> GetAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccountName As String, jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobSchedule)

参数

operations
IJobScheduleOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 资源组的名称。

automationAccountName
String

自动化帐户的名称。

jobScheduleId
Guid

作业计划名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于

GetAsync(IJobScheduleOperations, String, String, Guid)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccount, Guid jobScheduleName);
static member GetAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleGetResponse>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccount As String, jobScheduleName As Guid) As Task(Of JobScheduleGetResponse)

参数

resourceGroupName
String
automationAccount
String
jobScheduleName
Guid

返回

适用于