AFD Origin Groups - List Resource Usage
Checks the quota and actual usage of endpoints under the given Azure Front Door profile..
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/originGroups/{originGroupName}/usages?api-version=2023-05-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
origin
|
path | True |
string |
Name of the origin group which is unique within the endpoint. |
profile
|
path | True |
string |
Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. |
resource
|
path | True |
string |
Name of the Resource group within the Azure subscription. Regex pattern: |
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 2023-05-01. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
Azure Front Door 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
AFDOriginGroups_ListResourceUsage
Sample Request
POST https://management.azure.com/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/originGroups/origingroup1/usages?api-version=2023-05-01
Sample Response
{
"value": [
{
"unit": "Count",
"currentValue": 0,
"limit": 25,
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/origingroups/origingroup1/origins/origin1",
"name": {
"value": "origin",
"localizedValue": "origin"
}
}
]
}
Definitions
Name | Description |
---|---|
Afd |
Error response |
Error |
The resource management error additional info. |
Error |
The error detail. |
Usage |
Describes resource usage. |
Usage |
The usage names. |
Usages |
The list usages operation response. |
Usage |
An enum describing the unit of measurement. |
AfdErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
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. |
Usage
Describes resource usage.
Name | Type | Description |
---|---|---|
currentValue |
integer |
The current value of the usage. |
id |
string |
Resource identifier. |
limit |
integer |
The limit of usage. |
name |
The name of the type of usage. |
|
unit |
An enum describing the unit of measurement. |
UsageName
The usage names.
Name | Type | Description |
---|---|---|
localizedValue |
string |
A localized string describing the resource name. |
value |
string |
A string describing the resource name. |
UsagesListResult
The list usages operation response.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL to get the next set of results. |
value |
Usage[] |
The list of resource usages. |
UsageUnit
An enum describing the unit of measurement.
Name | Type | Description |
---|---|---|
Count |
string |