Web Apps - List Usages Slot
Beschrijving voor Haalt de quotumgebruiksgegevens van een app (of implementatiesite, indien opgegeven) op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages?api-version=2023-12-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages?api-version=2023-12-01&$filter={$filter}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
Naam van de implementatiesite. Als er geen site is opgegeven, haalt de API quotumgegevens van de productiesite op. |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
$filter
|
query |
string |
Alleen informatie retourneren die is opgegeven in het filter (met behulp van de OData-syntaxis). Bijvoorbeeld: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minuut |Dag]'. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Definities
Name | Description |
---|---|
Csm |
Gebruik van de quotumresource. |
Csm |
Verzameling van CSM-gebruiksquota. |
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Localizable |
Lokaliseerbaar tekenreeksobject met de naam en een gelokaliseerde waarde. |
CsmUsageQuota
Gebruik van de quotumresource.
Name | Type | Description |
---|---|---|
currentValue |
integer |
De huidige waarde van de resourceteller. |
limit |
integer |
De resourcelimiet. |
name |
Quotumnaam. |
|
nextResetTime |
string |
Volgende resettijd voor de resourceteller. |
unit |
string |
Maateenheden voor de quotumresource. |
CsmUsageQuotaCollection
Verzameling van CSM-gebruiksquota.
Name | Type | Description |
---|---|---|
nextLink |
string |
Koppeling naar de volgende pagina met resources. |
value |
Verzameling resources. |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
LocalizableString
Lokaliseerbaar tekenreeksobject met de naam en een gelokaliseerde waarde.
Name | Type | Description |
---|---|---|
localizedValue |
string |
Gelokaliseerde naam. |
value |
string |
Niet-gelokaliseerde naam. |