Skip to main content

afd_endpoints_resource_usages

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

Overview

Nameafd_endpoints_resource_usages
TypeResource
Idazure.cdn.afd_endpoints_resource_usages

Fields

NameDatatypeDescription
idstringResource identifier.
nameobjectThe usage names.
currentValueintegerThe current value of the usage.
limitintegerThe limit of usage.
unitstringAn enum describing the unit of measurement.

Methods

NameAccessible byRequired ParamsDescription
listSELECTendpointName, profileName, resourceGroupName, subscriptionIdChecks the quota and actual usage of endpoints under the given Azure Front Door profile.

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