usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.compute.usages |
Fields
Name | Datatype | Description |
---|---|---|
name | object | The Usage Names. |
currentValue | integer | The current usage of the resource. |
limit | integer | The maximum permitted usage of the resource. |
unit | string | An enum describing the unit of usage measurement. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | location, subscriptionId | Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. |
SELECT
examples
Gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.
SELECT
name,
currentValue,
limit,
unit
FROM azure.compute.usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';