Profiles - List Resource Usage
Checks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkResourceUsage?api-version=2025-04-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
profile
|
path | True |
string |
Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
Name of the Resource group within the Azure subscription. |
subscription
|
path | True |
string |
Azure Subscription ID. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. Current version is 2025-04-15. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
CDN error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Profiles_ListResourceUsage
Sample request
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/checkResourceUsage?api-version=2025-04-15
Sample response
{
"value": [
{
"resourceType": "endpoint",
"unit": "count",
"currentValue": 0,
"limit": 25
}
]
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Resource |
Output of check resource usage API. |
Resource |
Output of check resource usage API. |
Resource |
Unit of the usage. e.g. count. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error detail. |
ResourceUsage
Output of check resource usage API.
Name | Type | 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 |
Unit of the usage. e.g. count. |
ResourceUsageListResult
Output of check resource usage API.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL to get the next set of custom domain objects if there are any. |
value |
List of resource usages. |
ResourceUsageUnit
Unit of the usage. e.g. count.
Value | Description |
---|---|
count |