共用方式為


HybridRunbookWorkerGroupOperationsExtensions.ListByAutomationAccountAsync 方法

定義

擷取混合式 Runbook 背景工作角色群組的清單。 http://aka.ms/azureautomationsdk/hybridrunbookworkergroupoperations

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

參數

operations
IHybridRunbookWorkerGroupOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

odataQuery
ODataQuery<HybridRunbookWorkerGroup>

要套用至作業的 OData 參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於