Profiles - List Resource Usage
Ellenőrzi a végpontok kvótáját és tényleges használatát a megadott Azure Front Door Standard vagy Azure Front Door Premium- vagy CDN-profil alatt.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkResourceUsage?api-version=2025-04-15
URI-paraméterek
| Name | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
profile
|
path | True |
string |
Az Azure Front Door Standard vagy az Azure Front Door Premium vagy CDN profil neve, amely egyedi az erőforráscsoporton belül. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket. |
|
subscription
|
path | True |
string (uuid) |
A cél-előfizetés azonosítója. Az értéknek UUID-nek kell lennie. |
|
api-version
|
query | True |
string minLength: 1 |
A művelethez használandó API-verzió. |
Válaszok
| Name | Típus | Description |
|---|---|---|
| 200 OK |
OKÉ. A kérés sikeres volt. |
|
| Other Status Codes |
CDN-hibaválasz, amely leírja, hogy miért nem sikerült a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2-folyamat.
Típus:
oauth2
Folyamat:
implicit
Engedélyezési URL:
https://login.microsoftonline.com/common/oauth2/authorize
Hatókörök
| Name | Description |
|---|---|
| user_impersonation | a felhasználói fiók megszemélyesítése |
Példák
Profiles_ListResourceUsage
Mintakérelem
POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/checkResourceUsage?api-version=2025-04-15
Mintaválasz
{
"value": [
{
"resourceType": "endpoint",
"unit": "count",
"currentValue": 0,
"limit": 25
}
]
}
Definíciók
| Name | Description |
|---|---|
|
Error |
Az erőforrás-kezelési hiba további információi. |
|
Error |
A hiba részletei. |
|
Error |
Hibaválasz |
|
Resource |
Az erőforrás-használati API-k ellenőrzése. |
|
Resource |
Az erőforrás-használati API-k ellenőrzése. |
|
Resource |
A használat egysége. pl. darabszám. |
ErrorAdditionalInfo
Az erőforrás-kezelési hiba további információi.
| Name | Típus | Description |
|---|---|---|
| info |
object |
A további információk. |
| type |
string |
A további információtípus. |
ErrorDetail
A hiba részletei.
| Name | Típus | Description |
|---|---|---|
| additionalInfo |
A hiba további információi. |
|
| code |
string |
A hibakód. |
| details |
A hiba részletei. |
|
| message |
string |
A hibaüzenet. |
| target |
string |
A hibacél. |
ErrorResponse
Hibaválasz
| Name | Típus | Description |
|---|---|---|
| error |
A hibaobjektum. |
ResourceUsage
Az erőforrás-használati API-k ellenőrzése.
| Name | Típus | Description |
|---|---|---|
| currentValue |
integer (int32) |
A megadott erőforrástípus tényleges használati értéke. |
| limit |
integer (int32) |
A megadott erőforrástípus kvótája. |
| resourceType |
string |
Az erőforrás típusa, amelyhez a használat meg van adva. |
| unit |
A használat egysége. pl. darabszám. |
ResourceUsageListResult
Az erőforrás-használati API-k ellenőrzése.
| Name | Típus | Description |
|---|---|---|
| nextLink |
string |
URL-cím az egyéni tartomány következő objektumkészletének lekéréséhez, ha vannak ilyenek. |
| value |
Az erőforrás-használatok listája. |
ResourceUsageUnit
A használat egysége. pl. darabszám.
| Érték | Description |
|---|---|
| count |