Share via


HybridRunbookWorkerGroupOperationsExtensions.ListByAutomationAccountAsync Method

Definition

Retrieve a list of hybrid runbook worker groups. 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))

Parameters

operations
IHybridRunbookWorkerGroupOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

odataQuery
ODataQuery<HybridRunbookWorkerGroup>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to