resource_usages
Creates, updates, deletes, gets or lists a resource_usages
resource.
Overview
Name | resource_usages |
Type | Resource |
Id | azure.cdn.resource_usages |
Fields
The following fields are returned by SELECT
queries:
- list
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
currentValue | integer (int32) | Actual value of usage on the specified resource type. |
limit | integer (int32) | 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. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId | 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 |
---|---|---|
subscriptionId | string | Azure Subscription ID. |
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_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;