共用方式為


DscCompilationJobOperationsExtensions.ListByAutomationAccountAsync 方法

定義

擷取 dsc 編譯作業的清單。 http://aka.ms/azureautomationsdk/compilationjoboperations

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.DscCompilationJob>> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.IDscCompilationJobOperations operations, string resourceGroupName, string automationAccountName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Automation.Models.DscCompilationJob> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.IDscCompilationJobOperations * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Automation.Models.DscCompilationJob> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.DscCompilationJob>>
<Extension()>
Public Function ListByAutomationAccountAsync (operations As IDscCompilationJobOperations, resourceGroupName As String, automationAccountName As String, Optional odataQuery As ODataQuery(Of DscCompilationJob) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DscCompilationJob))

參數

operations
IDscCompilationJobOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

odataQuery
ODataQuery<DscCompilationJob>

要套用至作業的 OData 參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於