statistics
Creates, updates, deletes, gets or lists a statistics
resource.
Overview
Name | statistics |
Type | Resource |
Id | azure.automation.statistics |
Fields
The following fields are returned by SELECT
queries:
- list_by_automation_account
Name | Datatype | Description |
---|---|---|
id | string | Gets the id. |
counterProperty | string | Gets the property value of the statistic. |
counterValue | integer (int64) | Gets the value of the statistic. |
endTime | string (date-time) | Gets the endTime of the statistic. |
startTime | string (date-time) | Gets the startTime of the statistic. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_automation_account | select | resourceGroupName , automationAccountName , subscriptionId | $filter | Retrieve 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.
Name | Datatype | Description |
---|---|---|
automationAccountName | string | The name of the automation account. |
resourceGroupName | string | Name of an Azure Resource group. |
subscriptionId | string | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
$filter | string | The filter to apply on the operation. |
SELECT
examples
- list_by_automation_account
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 }}'
;