Skip to main content

statistics

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

Overview

Namestatistics
TypeResource
Idazure.automation.statistics

Fields

NameDatatypeDescription
idstringGets the id.
counterPropertystringGets the property value of the statistic.
counterValueintegerGets the value of the statistic.
endTimestringGets the endTime of the statistic.
startTimestringGets the startTime of the statistic.

Methods

NameAccessible byRequired ParamsDescription
list_by_automation_accountSELECTautomationAccountName, resourceGroupName, subscriptionIdRetrieve the statistics for the account.

SELECT examples

Retrieve the statistics for the account.

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