DscCompilationJobOperationsExtensions.GetAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetAsync(IDscCompilationJobOperations, String, String, Guid)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJobGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IDscCompilationJobOperations operations, string resourceGroupName, string automationAccount, Guid jobId);
static member GetAsync : Microsoft.Azure.Management.Automation.IDscCompilationJobOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJobGetResponse>
<Extension()>
Public Function GetAsync (operations As IDscCompilationJobOperations, resourceGroupName As String, automationAccount As String, jobId As Guid) As Task(Of DscCompilationJobGetResponse)
參數
- operations
- IDscCompilationJobOperations
- resourceGroupName
- String
- automationAccount
- String
- jobId
- Guid
傳回
適用於
GetAsync(IDscCompilationJobOperations, String, String, String, CancellationToken)
擷取作業識別碼所識別的 Dsc 組態編譯作業。 http://aka.ms/azureautomationsdk/dsccompilationjoboperations
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJob> GetAsync (this Microsoft.Azure.Management.Automation.IDscCompilationJobOperations operations, string resourceGroupName, string automationAccountName, string compilationJobName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IDscCompilationJobOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscCompilationJob>
<Extension()>
Public Function GetAsync (operations As IDscCompilationJobOperations, resourceGroupName As String, automationAccountName As String, compilationJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DscCompilationJob)
參數
- operations
- IDscCompilationJobOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
Azure 資源群組的名稱。
- automationAccountName
- String
自動化帳戶的名稱。
- compilationJobName
- String
DSC 組態識別碼。
- cancellationToken
- CancellationToken
取消語彙基元。