Share via


Diagnostics - List Site Detector Responses Slot

Description for List Site Detector Responses

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors?api-version=2023-12-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

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

Name of the resource group to which the resource belongs.

siteName
path True

string

Site Name

slot
path True

string

Slot Name

subscriptionId
path True

string

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

api-version
query True

string

API Version

Responses

Name Type Description
200 OK

DetectorResponseCollection

OK

Other Status Codes

DefaultErrorResponse

App Service error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get App Detector Responses
Get App Slot Detector Responses

Get App Detector Responses

Sample request

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

Sample response

{
  "value": [
    {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/detectors/runtimeavailability",
      "name": "runtimeavailability",
      "properties": {
        "metadata": {
          "description": "This detector analyzes the requests to your application.",
          "category": "Availability and Performance"
        },
        "dataset": []
      }
    }
  ]
}

Get App Slot Detector Responses

Sample request

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

Sample response

{
  "value": [
    {
      "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/sites/SampleApp/slots/staging/detectors/runtimeavailability",
      "name": "runtimeavailability",
      "properties": {
        "metadata": {
          "description": "This detector analyzes the requests to your application.",
          "category": "Availability and Performance"
        },
        "dataset": []
      }
    }
  ]
}

Definitions

Name Description
DataProviderMetadata

Additional configuration for a data providers

DataTableResponseColumn

Column definition

DataTableResponseObject

Data Table which defines columns and raw row values

DefaultErrorResponse

App Service error response.

Details
DetectorInfo

Definition of Detector

DetectorResponse

Class representing Response from Detector

DetectorResponseCollection

Collection of detector responses

DetectorType

Whether this detector is an Analysis Detector or not.

DiagnosticData

Set of data with rendering instructions

Error

Error model.

InsightStatus

Level of the most severe insight generated by the detector.

KeyValuePair[String,Object]
QueryUtterancesResult

Result for utterances query.

QueryUtterancesResults

Suggested utterances where the detector can be applicable

Rendering

Instructions for rendering the data

RenderingType

Rendering Type

SampleUtterance

Sample utterance.

Status

Identify the status of the most severe insight generated by the detector.

SupportTopic

Defines a unique Support Topic

DataProviderMetadata

Additional configuration for a data providers

Name Type Description
propertyBag

KeyValuePair[String,Object][]

Settings for the data provider

providerName

string

DataTableResponseColumn

Column definition

Name Type Description
columnName

string

Name of the column

columnType

string

Column Type

dataType

string

Data type which looks like 'String' or 'Int32'.

DataTableResponseObject

Data Table which defines columns and raw row values

Name Type Description
columns

DataTableResponseColumn[]

List of columns with data types

rows

string[]

Raw row values

tableName

string

Name of the table

DefaultErrorResponse

App Service error response.

Name Type Description
error

Error

Error model.

Details

Name Type Description
code

string

Standardized string to programmatically identify the error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

DetectorInfo

Definition of Detector

Name Type Description
analysisType

string[]

Analysis Types for which this detector should apply to.

author

string

Author of the detector.

category

string

Problem category. This serves for organizing group for detectors.

description

string

Short description of the detector and its purpose.

id

string

Id of detector

name

string

Name of detector

score

number (float)

Defines score of a detector to power ML based matching.

supportTopicList

SupportTopic[]

List of Support Topics for which this detector is enabled.

type

DetectorType

Whether this detector is an Analysis Detector or not.

DetectorResponse

Class representing Response from Detector

Name Type Description
id

string

Resource Id.

kind

string

Kind of resource.

name

string

Resource Name.

properties.dataProvidersMetadata

DataProviderMetadata[]

Additional configuration for different data providers to be used by the UI

properties.dataset

DiagnosticData[]

Data Set

properties.metadata

DetectorInfo

metadata for the detector

properties.status

Status

Indicates status of the most severe insight.

properties.suggestedUtterances

QueryUtterancesResults

Suggested utterances where the detector can be applicable.

type

string

Resource type.

DetectorResponseCollection

Collection of detector responses

Name Type Description
nextLink

string

Link to next page of resources.

value

DetectorResponse[]

Collection of resources.

DetectorType

Whether this detector is an Analysis Detector or not.

Value Description
Detector
Analysis
CategoryOverview

DiagnosticData

Set of data with rendering instructions

Name Type Description
renderingProperties

Rendering

Properties that describe how the table should be rendered

table

DataTableResponseObject

Data in table form

Error

Error model.

Name Type Description
code

string

Standardized string to programmatically identify the error.

details

Details[]

Detailed errors.

innererror

string

More information to debug error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

InsightStatus

Level of the most severe insight generated by the detector.

Value Description
Critical
Warning
Info
Success
None

KeyValuePair[String,Object]

Name Type Description
key

string

value

object

QueryUtterancesResult

Result for utterances query.

Name Type Description
sampleUtterance

SampleUtterance

A sample utterance.

score

number (float)

Score of a sample utterance.

QueryUtterancesResults

Suggested utterances where the detector can be applicable

Name Type Description
query

string

Search Query.

results

QueryUtterancesResult[]

Array of utterance results for search query.

Rendering

Instructions for rendering the data

Name Type Description
description

string

Description of the data that will help it be interpreted

title

string

Title of data

type

RenderingType

Rendering Type

RenderingType

Rendering Type

Value Description
NoGraph
Table
TimeSeries
TimeSeriesPerInstance
PieChart
DataSummary
Email
Insights
DynamicInsight
Markdown
Detector
DropDown
Card
Solution
Guage
Form
ChangeSets
ChangeAnalysisOnboarding
ChangesView
AppInsight
DependencyGraph
DownTime
SummaryCard
SearchComponent
AppInsightEnablement

SampleUtterance

Sample utterance.

Name Type Description
links

string[]

Links attribute of sample utterance.

qid

string

Question id of sample utterance (for stackoverflow questions titles).

text

string

Text attribute of sample utterance.

Status

Identify the status of the most severe insight generated by the detector.

Name Type Description
message

string

Descriptive message.

statusId

InsightStatus

Level of the most severe insight generated by the detector.

SupportTopic

Defines a unique Support Topic

Name Type Description
id

string

Support Topic Id

pesId

string

Unique resource Id