Skip to main content

endpoints_resource_usages

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

Overview

Nameendpoints_resource_usages
TypeResource
Idazure.cdn.endpoints_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
listselectresourceGroupName, profileName, endpointName, subscriptionIdChecks the quota and usage of geo filters and custom domains under the given endpoint.

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
endpointNamestringName of the endpoint under the profile which is unique globally.
profileNamestringName of the CDN profile which is unique within the resource group.
resourceGroupNamestringName of the Resource group within the Azure subscription.
subscriptionIdstringAzure Subscription ID.

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 resourceGroupName = '{{ resourceGroupName }}' -- required
AND profileName = '{{ profileName }}' -- required
AND endpointName = '{{ endpointName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;