Freigeben über


Diagnostics - List Site Analyses Slot

Beschreibung für "Websiteanalysen abrufen"

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses?api-version=2024-11-01

URI-Parameter

Name In Erforderlich Typ Beschreibung
diagnosticCategory
path True

string

Diagnosekategorie

resourceGroupName
path True

string

minLength: 1
maxLength: 90
pattern: ^[-\w\._\(\)]+[^\.]$

Name der Ressourcengruppe, zu der die Ressource gehört.

siteName
path True

string

Seitenname

slot
path True

string

Slotname

subscriptionId
path True

string

die Azure-Abonnement-ID Dies ist eine GUID-formatierte Zeichenfolge (z. B. 0000000-0000-0000-0000-000000000000).

api-version
query True

string

API-Version

Antworten

Name Typ Beschreibung
200 OK

DiagnosticAnalysisCollection

OKAY

Other Status Codes

DefaultErrorResponse

Fehlerantwort des App-Diensts.

Sicherheit

azure_auth

Azure Active Directory OAuth2-Fluss

Typ: oauth2
Ablauf: implicit
Autorisierungs-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiche

Name Beschreibung
user_impersonation Identitätswechsel ihres Benutzerkontos

Beispiele

List App Analyses
List App Slot Analyses

List App Analyses

Beispielanforderung

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/Production/diagnostics/availability/analyses?api-version=2024-11-01

Beispiel für eine Antwort

{
  "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

Beispielanforderung

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/diagnostics/availability/analyses?api-version=2024-11-01

Beispiel für eine Antwort

{
  "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"
      }
    }
  ]
}

Definitionen

Name Beschreibung
AnalysisDefinition

Definition der Analyse

DefaultErrorResponse

Fehlerantwort des App-Diensts.

Details
DiagnosticAnalysisCollection

Sammlung von Diagnoseanalysen

Error

Fehlermodell.

AnalysisDefinition

Definition der Analyse

Name Typ Beschreibung
id

string

Ressourcen-ID.

kind

string

Art der Ressource.

name

string

Ressourcenname.

properties.description

string

Beschreibung der Analyse

type

string

Ressourcentyp.

DefaultErrorResponse

Fehlerantwort des App-Diensts.

Name Typ Beschreibung
error

Error

Fehlermodell.

Details

Name Typ Beschreibung
code

string

Standardisierte Zeichenfolge, um den Fehler programmgesteuert zu identifizieren.

message

string

Detaillierte Fehlerbeschreibung und Debuginformationen.

target

string

Detaillierte Fehlerbeschreibung und Debuginformationen.

DiagnosticAnalysisCollection

Sammlung von Diagnoseanalysen

Name Typ Beschreibung
nextLink

string

Link zur nächsten Seite von Ressourcen.

value

AnalysisDefinition[]

Sammlung von Ressourcen.

Error

Fehlermodell.

Name Typ Beschreibung
code

string

Standardisierte Zeichenfolge, um den Fehler programmgesteuert zu identifizieren.

details

Details[]

Detaillierte Fehler.

innererror

string

Weitere Informationen zum Debuggen von Fehlern.

message

string

Detaillierte Fehlerbeschreibung und Debuginformationen.

target

string

Detaillierte Fehlerbeschreibung und Debuginformationen.