Skip to main content

profiles_resource_usages

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

Overview

Nameprofiles_resource_usages
TypeResource
Idazure.cdn.profiles_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, subscriptionIdChecks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile.

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
profileNamestringName of the Azure Front Door Standard or Azure Front Door Premium or 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 actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile.

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