Diagnostics - List Site Detector Responses Slot
列出站点检测器响应的说明
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors?api-version=2024-11-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
资源所属的资源组的名称。 |
site
|
path | True |
string |
站点名称 |
slot
|
path | True |
string |
槽名称 |
subscription
|
path | True |
string |
Azure 订阅 ID。 这是 GUID 格式的字符串(例如 000000000-0000-0000-0000-00000000000000)。 |
api-version
|
query | True |
string |
API 版本 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
好的 |
|
Other Status Codes |
应用服务错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Get App Detector Responses |
Get App Slot Detector Responses |
Get App Detector Responses
示例请求
示例响应
{
"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
示例请求
示例响应
{
"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": []
}
}
]
}
定义
名称 | 说明 |
---|---|
Data |
数据提供程序的其他配置 |
Data |
列定义 |
Data |
定义列和原始行值的数据表 |
Default |
应用服务错误响应。 |
Details | |
Detector |
检测器的定义 |
Detector |
表示来自检测器的响应的类 |
Detector |
检测器响应的集合 |
Detector |
此检测器是否为分析检测器。 |
Diagnostic |
具有呈现说明的数据集 |
Error |
错误模型。 |
Insight |
检测器生成的最严重见解的级别。 |
Key |
|
Query |
话语查询的结果。 |
Query |
建议的话语,其中检测器可以适用 |
Rendering |
有关呈现数据的说明 |
Rendering |
呈现类型 |
Sample |
示例话语。 |
Status |
确定检测器生成的最严重见解的状态。 |
Support |
定义唯一的支持主题 |
DataProviderMetadata
数据提供程序的其他配置
名称 | 类型 | 说明 |
---|---|---|
propertyBag |
数据提供程序的设置 |
|
providerName |
string |
DataTableResponseColumn
列定义
名称 | 类型 | 说明 |
---|---|---|
columnName |
string |
列的名称 |
columnType |
string |
列名称 |
dataType |
string |
类似于“String”或“Int32”的数据类型。 |
DataTableResponseObject
定义列和原始行值的数据表
名称 | 类型 | 说明 |
---|---|---|
columns |
数据类型为列的列表 |
|
rows |
string[] |
原始行值 |
tableName |
string |
表名称 |
DefaultErrorResponse
应用服务错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
错误模型。 |
Details
名称 | 类型 | 说明 |
---|---|---|
code |
string |
标准化字符串,以编程方式标识错误。 |
message |
string |
详细的错误说明和调试信息。 |
target |
string |
详细的错误说明和调试信息。 |
DetectorInfo
检测器的定义
名称 | 类型 | 说明 |
---|---|---|
analysisType |
string[] |
此检测器应应用于的分析类型。 |
author |
string |
检测器的作者。 |
category |
string |
问题类别。 这用于组织检测器组。 |
description |
string |
检测器及其用途的简短说明。 |
id |
string |
检测器的 ID |
name |
string |
检测器的名称 |
score |
number (float) |
定义检测器的分数,以支持基于 ML 的匹配。 |
supportTopicList |
启用此检测器的支持主题列表。 |
|
type |
此检测器是否为分析检测器。 |
DetectorResponse
表示来自检测器的响应的类
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源 ID。 |
kind |
string |
资源类型。 |
name |
string |
资源名称。 |
properties.dataProvidersMetadata |
UI 要使用的不同数据提供程序的其他配置 |
|
properties.dataset |
数据集 |
|
properties.metadata |
检测器的元数据 |
|
properties.status |
指示最严重见解的状态。 |
|
properties.suggestedUtterances |
建议的话语,其中检测器适用。 |
|
type |
string |
资源类型。 |
DetectorResponseCollection
检测器响应的集合
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
链接到下一页的资源。 |
value |
资源集合。 |
DetectorType
此检测器是否为分析检测器。
值 | 说明 |
---|---|
Analysis | |
CategoryOverview | |
Detector |
DiagnosticData
具有呈现说明的数据集
名称 | 类型 | 说明 |
---|---|---|
renderingProperties |
描述如何呈现表的属性 |
|
table |
表窗体中的数据 |
Error
错误模型。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
标准化字符串,以编程方式标识错误。 |
details |
Details[] |
详细错误。 |
innererror |
string |
调试错误的详细信息。 |
message |
string |
详细的错误说明和调试信息。 |
target |
string |
详细的错误说明和调试信息。 |
InsightStatus
检测器生成的最严重见解的级别。
值 | 说明 |
---|---|
Critical | |
Info | |
None | |
Success | |
Warning |
KeyValuePair[String,Object]
名称 | 类型 | 说明 |
---|---|---|
key |
string |
|
value |
object |
QueryUtterancesResult
话语查询的结果。
名称 | 类型 | 说明 |
---|---|---|
sampleUtterance |
示例话语。 |
|
score |
number (float) |
示例话语的评分。 |
QueryUtterancesResults
建议的话语,其中检测器可以适用
名称 | 类型 | 说明 |
---|---|---|
query |
string |
搜索查询。 |
results |
搜索查询的话语结果数组。 |
Rendering
有关呈现数据的说明
名称 | 类型 | 说明 |
---|---|---|
description |
string |
有助于解释的数据的说明 |
title |
string |
数据标题 |
type |
呈现类型 |
RenderingType
呈现类型
值 | 说明 |
---|---|
AppInsight | |
AppInsightEnablement | |
Card | |
ChangeAnalysisOnboarding | |
ChangeSets | |
ChangesView | |
DataSummary | |
DependencyGraph | |
Detector | |
DownTime | |
DropDown | |
DynamicInsight | |
Form | |
Guage | |
Insights | |
Markdown | |
NoGraph | |
PieChart | |
SearchComponent | |
Solution | |
SummaryCard | |
Table | |
TimeSeries | |
TimeSeriesPerInstance |
SampleUtterance
示例话语。
名称 | 类型 | 说明 |
---|---|---|
links |
string[] |
示例话语的链接属性。 |
qid |
string |
示例话语的问题 ID(对于 stackoverflow 问题标题)。 |
text |
string |
示例话语的文本属性。 |
Status
确定检测器生成的最严重见解的状态。
名称 | 类型 | 说明 |
---|---|---|
message |
string |
描述性消息。 |
statusId |
检测器生成的最严重见解的级别。 |
SupportTopic
定义唯一的支持主题
名称 | 类型 | 说明 |
---|---|---|
id |
string |
支持主题 ID |
pesId |
string |
唯一资源 ID |