Endpoints - List Resource Usage
Controleert het quotum en het gebruik van geofilters en aangepaste domeinen onder het opgegeven eindpunt.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/checkResourceUsage?api-version=2024-02-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
Naam van het eindpunt onder het profiel dat wereldwijd uniek is. |
profile
|
path | True |
string |
Naam van het CDN-profiel dat uniek is binnen de resourcegroep. |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
Naam van de resourcegroep binnen het Azure-abonnement. |
subscription
|
path | True |
string |
Azure-abonnements-id. |
api-version
|
query | True |
string |
Versie van de API die moet worden gebruikt met de clientaanvraag. Huidige versie is 2024-02-01. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK. De aanvraag is voltooid. |
|
Other Status Codes |
CDN-foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Endpoints_ListResourceUsage
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"resourceType": "customdomain",
"unit": "count",
"currentValue": 1,
"limit": 20
},
{
"resourceType": "geofilter",
"unit": "count",
"currentValue": 0,
"limit": 25
}
]
}
Definities
Name | Description |
---|---|
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Resource |
Uitvoer van de API voor resourcegebruik controleren. |
Resource |
Uitvoer van de API voor resourcegebruik controleren. |
Resource |
Eenheid van het gebruik. bijvoorbeeld aantal. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
ResourceUsage
Uitvoer van de API voor resourcegebruik controleren.
Name | Type | Description |
---|---|---|
currentValue |
integer (int32) |
Werkelijke waarde van het gebruik voor het opgegeven resourcetype. |
limit |
integer (int32) |
Quotum van het opgegeven resourcetype. |
resourceType |
string |
Resourcetype waarvoor het gebruik is opgegeven. |
unit |
Eenheid van het gebruik. bijvoorbeeld aantal. |
ResourceUsageListResult
Uitvoer van de API voor resourcegebruik controleren.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL voor het ophalen van de volgende set aangepaste domeinobjecten, indien aanwezig. |
value |
Lijst met resourcegebruiken. |
ResourceUsageUnit
Eenheid van het gebruik. bijvoorbeeld aantal.
Waarde | Description |
---|---|
count |