Rule Sets - List Resource Usage
Ellenőrzi a végpontok kvótáját és tényleges használatát a megadott Azure Front Door-profilban.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/usages?api-version=2025-04-15
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
profile
|
path | True |
string minLength: 1maxLength: 260 pattern: ^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$ |
Az Azure Front Door Standard vagy az Azure Front Door Premium 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. |
rule
|
path | True |
string |
A profil alatt beállított szabály neve, amely globálisan egyedi. |
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 |
Az Azure Front Door hibaválasza, 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
RuleSets_ListResourceUsage
Mintakérelem
Mintaválasz
{
"value": [
{
"unit": "Count",
"currentValue": 0,
"limit": 25,
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/rulesets/ruleSet1/rules/rule1",
"name": {
"value": "rule",
"localizedValue": "rule"
}
}
]
}
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 |
Usage |
Az erőforrás-használatot ismerteti. |
Usage |
A használati nevek. |
Usages |
A lista használati műveletre adott válasza. |
Usage |
A mértékegységet leíró szá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. |
Usage
Az erőforrás-használatot ismerteti.
Name | Típus | Description |
---|---|---|
currentValue |
integer (int64) |
A használat aktuális értéke. |
id |
string |
Erőforrás-azonosító. |
limit |
integer (int64) |
A használat korlátja. |
name |
A használat típusának neve. |
|
unit |
A mértékegységet leíró szám. |
UsageName
A használati nevek.
Name | Típus | Description |
---|---|---|
localizedValue |
string |
Az erőforrás nevét leíró honosított sztring. |
value |
string |
Az erőforrás nevét leíró sztring. |
UsagesListResult
A lista használati műveletre adott válasza.
Name | Típus | Description |
---|---|---|
nextLink |
string |
URL-cím a következő találatkészlet lekéréséhez. |
value |
Usage[] |
Az erőforrás-használatok listája. |
UsageUnit
A mértékegységet leíró szám.
Érték | Description |
---|---|
Count |