AutomationAccountOperationsExtensions.ListByResourceGroupAsync Method

Definition

Retrieve a list of accounts within a given resource group. http://aka.ms/azureautomationsdk/automationaccountoperations

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

Parameters

operations
IAutomationAccountOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to