Skip to main content

statistics

Creates, updates, deletes, gets or lists a statistics resource.

Overview

Namestatistics
TypeResource
Idazure.automation.statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringGets the id.
counterPropertystringGets the property value of the statistic.
counterValueintegerGets the value of the statistic.
endTimestring (date-time)Gets the endTime of the statistic.
startTimestring (date-time)Gets the startTime of the statistic.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_automation_accountselectresource_group_name, automation_account_name, subscription_id$filterRetrieve the statistics for the account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
automation_account_namestringThe name of the automation account. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Default value is None.

SELECT examples

Retrieve the statistics for the account.

SELECT
id,
counterProperty,
counterValue,
endTime,
startTime
FROM azure.automation.statistics
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND automation_account_name = '{{ automation_account_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;