Skip to main content

resource_usage

Creates, updates, deletes, gets or lists a resource_usage resource.

Overview

Nameresource_usage
TypeResource
Idazure.cdn.resource_usage

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
currentValueintegerActual value of usage on the specified resource type.
limitintegerQuota of the specified resource type.
resourceTypestringResource type for which the usage is provided.
unitstringUnit of the usage. e.g. count. "count" (count)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscription_idCheck 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.

NameDatatypeDescription
subscription_idstring

SELECT examples

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
;