Skip to main content

afd_profiles_resource_usages

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

Overview

Nameafd_profiles_resource_usages
TypeResource
Idazure.cdn.afd_profiles_resource_usages

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstringResource identifier.
nameobjectThe name of the type of usage.
currentValueinteger (int64)The current value of the usage.
limitinteger (int64)The limit of usage.
unitstringAn enum describing the unit of measurement.

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 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 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 profile.

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