Skip to main content

resource_usages

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

Overview

Nameresource_usages
TypeResource
Idazure.cdn.resource_usages

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
currentValueinteger (int32)Actual value of usage on the specified resource type.
limitinteger (int32)Quota of the specified resource type.
resourceTypestringResource type for which the usage is provided.
unitstringUnit of the usage. e.g. count.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionIdCheck 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
subscriptionIdstringAzure Subscription ID.

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_usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;