Delen via


Web Apps - List Usages

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}/usages?api-version=2023-12-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages?api-version=2023-12-01&$filter={$filter}

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

subscriptionId
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

CsmUsageQuotaCollection

OK

Other Status Codes

DefaultErrorResponse

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
CsmUsageQuota

Gebruik van de quotumresource.

CsmUsageQuotaCollection

Verzameling van CSM-gebruiksquota.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

LocalizableString

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

LocalizableString

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

CsmUsageQuota[]

Verzameling resources.

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

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.