Share via


StatisticsOperationsExtensions.ListByAutomationAccountAsync Method

Definition

Retrieve the statistics for the account. http://aka.ms/azureautomationsdk/statisticsoperations

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Automation.Models.Statistics>> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.IStatisticsOperations operations, string resourceGroupName, string automationAccountName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.IStatisticsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Automation.Models.Statistics>>
<Extension()>
Public Function ListByAutomationAccountAsync (operations As IStatisticsOperations, resourceGroupName As String, automationAccountName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Statistics))

Parameters

operations
IStatisticsOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to