usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.automation.usages |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Gets or sets the id of the resource. |
name | object | Definition of usage counter name. |
currentValue | number | Gets or sets the current usage value. |
limit | integer | Gets or sets max limit. -1 for unlimited |
throttleStatus | string | Gets or sets the throttle status. |
unit | string | Gets or sets the usage unit name. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_automation_account | SELECT | automationAccountName, resourceGroupName, subscriptionId | Retrieve the usage for the account id. |
SELECT
examples
Retrieve the usage for the account id.
SELECT
id,
name,
currentValue,
limit,
throttleStatus,
unit
FROM azure.automation.usages
WHERE automationAccountName = '{{ automationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';