resource_usage
Creates, updates, deletes, gets or lists a resource_usage resource.
Overview
| Name | resource_usage |
| Type | Resource |
| Id | azure.cdn.resource_usage |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
currentValue | integer | Actual value of usage on the specified resource type. |
limit | integer | Quota of the specified resource type. |
resourceType | string | Resource type for which the usage is provided. |
unit | string | Unit of the usage. e.g. count. "count" (count) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscription_id | Check the quota and actual usage of the CDN profiles under the given subscription. |
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 |
|---|---|---|
subscription_id | string |
SELECT examples
- list
Check the quota and actual usage of the CDN profiles under the given subscription.
SELECT
currentValue,
limit,
resourceType,
unit
FROM azure.cdn.resource_usage
WHERE subscription_id = '{{ subscription_id }}' -- required
;