Share via


AutomationAccountResource.GetStatistics(String, CancellationToken) 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.Pageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics> GetStatistics (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStatistics : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics>
override this.GetStatistics : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.Models.AutomationAccountStatistics>
Public Overridable Function GetStatistics (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutomationAccountStatistics)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to