Diagnostics - List Site Analyses Slot
Beschrijving voor Siteanalyse ophalen
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses?api-version=2024-04-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
diagnostic
|
path | True |
string |
Diagnostische categorie |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Naam van de resourcegroep waartoe de resource behoort. |
site
|
path | True |
string |
Sitenaam |
slot
|
path | True |
string |
Sitenaam |
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 |
Voorbeelden
List App Analyses |
List App Slot Analyses |
List App Analyses
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/appanalysis",
"name": "appanalysis",
"properties": {
"description": "Determine causes of availability loss as well as solutions for these problems"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/apprestartanalyses",
"name": "apprestartanalysis",
"properties": {
"description": "Find the reasons that your app restarted"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/memoryanalysis",
"name": "memoryanalysis",
"properties": {
"description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/tcpconnectionsanalysis",
"name": "tcpconnectionsanalysis",
"properties": {
"description": "Analyze port usage and find out if a high number of connections is causing problems for your web app"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/diagnostics/availability/analyses/perfanalysis",
"name": "perfanalysis",
"properties": {
"description": "Determine causes of performance degredation as well as solutions for these problems"
}
}
]
}
List App Slot Analyses
Voorbeeldaanvraag
Voorbeeldrespons
{
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/appanalysis",
"name": "appanalysis",
"properties": {
"description": "Determine causes of availability loss as well as solutions for these problems"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/apprestartanalyses",
"name": "apprestartanalysis",
"properties": {
"description": "Find the reasons that your app restarted"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/memoryanalysis",
"name": "memoryanalysis",
"properties": {
"description": "Detect issues with memory as well as suggest ways to troubleshoot memory problems"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/tcpconnectionsanalysis",
"name": "tcpconnectionsanalysis",
"properties": {
"description": "Analyze port usage and find out if a high number of connections is causing problems for your web app"
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses/perfanalysis",
"name": "perfanalysis",
"properties": {
"description": "Determine causes of performance degredation as well as solutions for these problems"
}
}
]
}
Definities
Name | Description |
---|---|
Analysis |
Definitie van analyse |
Default |
Foutreactie van App Service. |
Details | |
Diagnostic |
Verzameling diagnostische analyses |
Error |
Foutmodel. |
AnalysisDefinition
Definitie van analyse
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.description |
string |
Beschrijving van de analyse |
type |
string |
Resourcetype. |
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. |
DiagnosticAnalysisCollection
Verzameling diagnostische analyses
Name | Type | Description |
---|---|---|
nextLink |
string |
Koppeling naar de volgende pagina met resources. |
value |
Verzameling resources. |
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. |