endpoints_resource_usages
Creates, updates, deletes, gets or lists an endpoints_resource_usages
resource.
Overview
Name | endpoints_resource_usages |
Type | Resource |
Id | azure.cdn.endpoints_resource_usages |
Fields
The following fields are returned by SELECT
queries:
- list
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
currentValue | integer (int32) | Actual value of usage on the specified resource type. |
limit | integer (int32) | Quota of the specified resource type. |
resourceType | string | Resource type for which the usage is provided. |
unit | string | Unit of the usage. e.g. count. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , profileName , endpointName , subscriptionId | Checks 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.
Name | Datatype | Description |
---|---|---|
endpointName | string | Name of the endpoint under the profile which is unique globally. |
profileName | string | Name of the CDN profile which is unique within the resource group. |
resourceGroupName | string | Name of the Resource group within the Azure subscription. |
subscriptionId | string | Azure Subscription ID. |
SELECT
examples
- list
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
;