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 |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Name of the resource group to which the resource belongs. |
site
|
path | True |
string |
Site Name |
slot
|
path | True |
string |
Slot Name |
subscription
|
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 |
OK |
|
Other Status Codes |
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
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
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 |
---|---|
Data |
Additional configuration for a data providers |
Data |
Column definition |
Data |
Data Table which defines columns and raw row values |
Default |
App Service error response. |
Details | |
Detector |
Definition of Detector |
Detector |
Class representing Response from Detector |
Detector |
Collection of detector responses |
Detector |
Whether this detector is an Analysis Detector or not. |
Diagnostic |
Set of data with rendering instructions |
Error |
Error model. |
Insight |
Level of the most severe insight generated by the detector. |
Key |
|
Query |
Result for utterances query. |
Query |
Suggested utterances where the detector can be applicable |
Rendering |
Instructions for rendering the data |
Rendering |
Rendering Type |
Sample |
Sample utterance. |
Status |
Identify the status of the most severe insight generated by the detector. |
Support |
Defines a unique Support Topic |
DataProviderMetadata
Additional configuration for a data providers
Name | Type | Description |
---|---|---|
propertyBag |
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 |
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 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 |
List of Support Topics for which this detector is enabled. |
|
type |
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 |
Additional configuration for different data providers to be used by the UI |
|
properties.dataset |
Data Set |
|
properties.metadata |
metadata for the detector |
|
properties.status |
Indicates status of the most severe insight. |
|
properties.suggestedUtterances |
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 |
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 |
Properties that describe how the table should be rendered |
|
table |
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 |
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 |
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 |
Rendering Type |
RenderingType
Rendering Type
Value | Description |
---|---|
NoGraph | |
Table | |
TimeSeries | |
TimeSeriesPerInstance | |
PieChart | |
DataSummary | |
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 |
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 |