Share via


AutomationAccountResource.GetStatisticsAsync Method

Definition

Retrieve the statistics for the account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/statistics
  • Operation Id: Statistics_ListByAutomationAccount
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics> GetStatisticsAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStatisticsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics>
override this.GetStatisticsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics>
Public Overridable Function GetStatisticsAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationAccountStatistics)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomationAccountStatistics that may take multiple service requests to iterate over.

Applies to