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 | 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 | resource_group_name, automation_account_name, subscription_id | $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 |
|---|---|---|
automation_account_name | string | The name of the automation account. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | The filter to apply on the operation. Default value is None. |
SELECT examples
- list_by_automation_account
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 }}'
;