共用方式為


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

傳回

適用於