Web Apps - List Metric Definitions Slot
Hiermee worden alle metrische definities van een app (of implementatiesite, indien opgegeven) opgevraagd.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions?api-version=2018-02-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
name
|
path | True |
string |
Naam van de app. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Naam van de resourcegroep waartoe de resource behoort. |
|
slot
|
path | True |
string |
Naam van de implementatiesite. Als er geen site is opgegeven, krijgt de API metrische definities van de productiesite. |
|
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000000). |
|
api-version
|
query | True |
string |
API-versie |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
Foutreactie van App Service. |
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 |
|---|---|
|
Default |
Foutreactie van App Service. |
| Details | |
| Error |
Foutmodel. |
|
Resource |
Beschikbaarheid en retentie van metrische gegevens. |
|
Resource |
Metagegevens voor de metrische gegevens. |
|
Resource |
Verzameling metrische definities. |
DefaultErrorResponse
Foutreactie van App Service.
| Name | Type | Description |
|---|---|---|
| error |
Foutmodel. |
Details
| Name | Type | Description |
|---|---|---|
| code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
| message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
| target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
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 foutopsporingsgegevens. |
| target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsgegevens. |
ResourceMetricAvailability
Beschikbaarheid en retentie van metrische gegevens.
| Name | Type | Description |
|---|---|---|
| retention |
string |
Bewaarperiode voor de huidige tijdsinterval. |
| timeGrain |
string |
Tijdsinterval . |
ResourceMetricDefinition
Metagegevens voor de metrische gegevens.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource-id. |
| kind |
string |
Soort resource. |
| name |
string |
Resourcenaam. |
| properties.metricAvailabilities |
Lijst met tijdskorrels die worden ondersteund voor de metrische waarde, samen met de bewaarperiode. |
|
| properties.primaryAggregationType |
string |
Primair aggregatietype. |
| properties.properties |
object |
Eigenschappen van metrische resourcedefinities. |
| properties.resourceUri |
string |
Resource-URI. |
| properties.unit |
string |
Eenheid van de metriek. |
| type |
string |
Type bron |
ResourceMetricDefinitionCollection
Verzameling metrische definities.
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
Koppeling naar de volgende pagina met resources. |
| value |
Verzameling resources. |