Share via


AutomationAccountOperationsExtensions.ListAsync Method

Definition

Overloads

ListAsync(IAutomationAccountOperations, CancellationToken)

Lists the Automation Accounts within an Azure subscription.

ListAsync(IAutomationAccountOperations, String)

ListAsync(IAutomationAccountOperations, CancellationToken)

Lists the Automation Accounts within an Azure subscription.

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

Parameters

operations
IAutomationAccountOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Retrieve a list of accounts within a given subscription.

Applies to

ListAsync(IAutomationAccountOperations, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse> ListAsync (this Microsoft.Azure.Management.Automation.IAutomationAccountOperations operations, string resourceGroupName);
static member ListAsync : Microsoft.Azure.Management.Automation.IAutomationAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.AutomationAccountListResponse>
<Extension()>
Public Function ListAsync (operations As IAutomationAccountOperations, resourceGroupName As String) As Task(Of AutomationAccountListResponse)

Parameters

resourceGroupName
String

Returns

Applies to