Skip to main content

endpoints_resource_usages

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

Overview

Nameendpoints_resource_usages
TypeResource
Idazure.cdn.endpoints_resource_usages

Fields

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.

Methods

NameAccessible byRequired ParamsDescription
listSELECTendpointName, profileName, resourceGroupName, subscriptionIdChecks the quota and usage of geo filters and custom domains under the given endpoint.

SELECT examples

Checks the quota and usage of geo filters and custom domains under the given endpoint.

SELECT
currentValue,
limit,
resourceType,
unit
FROM azure.cdn.endpoints_resource_usages
WHERE endpointName = '{{ endpointName }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';