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.
counterValueinteger (int64)Gets 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_accountselectresourceGroupName, automationAccountName, subscriptionId$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
automationAccountNamestringThe name of the automation account.
resourceGroupNamestringName of an Azure Resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$filterstringThe filter to apply on the operation.

SELECT examples

Retrieve the statistics for the account.

SELECT
id,
counterProperty,
counterValue,
endTime,
startTime
FROM azure.automation.statistics
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND automationAccountName = '{{ automationAccountName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
;