Skip to main content

rule_sets_resource_usages

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

Overview

Namerule_sets_resource_usages
TypeResource
Idazure.cdn.rule_sets_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, ruleSetName, 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.
ruleSetNamestringName of the rule set under the profile which is unique globally.
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.rule_sets_resource_usages
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND profileName = '{{ profileName }}' -- required
AND ruleSetName = '{{ ruleSetName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;