다음을 통해 공유


Diagnostics - Get Hosting Environment Detector Response

호스팅 환경 감지기 응답 가져오기에 대한 설명

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}?api-version=2024-04-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}?startTime={startTime}&endTime={endTime}&timeGrain={timeGrain}&api-version=2024-04-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
detectorName
path True

string

Detector 리소스 이름

name
path True

string

App Service Environment 이름

resourceGroupName
path True

string

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

리소스가 속한 리소스 그룹의 이름입니다.

subscriptionId
path True

string

Azure 구독 ID입니다. GUID 형식 문자열입니다(예: 000000000-0000-0000-0000-0000000000000).

api-version
query True

string

API 버전

endTime
query

string (date-time)

종료 시간

startTime
query

string (date-time)

시작 시간

timeGrain
query

string

pattern: PT[1-9][0-9]+[SMH]

시간 조직

응답

Name 형식 Description
200 OK

DetectorResponse

그래

Other Status Codes

DefaultErrorResponse

App Service 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Get App Service Environment Detector Responses

샘플 요청

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/Sample-WestUSResourceGroup/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability?api-version=2024-04-01

샘플 응답

{
  "id": "/subscriptions/ef90e930-9d7f-4a60-8a99-748e0eea69de/resourceGroups/Build2015DemoRG/providers/Microsoft.Web/hostingEnvironments/SampleAppServiceEnvironment/detectors/runtimeavailability",
  "name": "runtimeavailability",
  "properties": {
    "metadata": {
      "description": "This detector analyzes all the requests to all applications running on this app service environment.",
      "category": "Availability and Performance"
    },
    "dataset": [
      {
        "table": {
          "tableName": "Table_0",
          "columns": [
            {
              "columnName": "PreciseTimeStamp",
              "dataType": "DateTime",
              "columnType": "datetime"
            },
            {
              "columnName": "count_Http2xx",
              "dataType": "Int64",
              "columnType": "long"
            },
            {
              "columnName": "count_Http3xx",
              "dataType": "Int64",
              "columnType": "long"
            },
            {
              "columnName": "count_Http4xx",
              "dataType": "Int64",
              "columnType": "long"
            },
            {
              "columnName": "count_Http5xx",
              "dataType": "Int64",
              "columnType": "long"
            }
          ],
          "rows": [
            [
              "2018-03-27T00:25:00Z",
              "772705",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T00:30:00Z",
              "787069",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T00:35:00Z",
              "781627",
              "0",
              "1",
              "0"
            ],
            [
              "2018-03-27T00:40:00Z",
              "785017",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T00:45:00Z",
              "783518",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T00:50:00Z",
              "785783",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T00:55:00Z",
              "772874",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T01:00:00Z",
              "787162",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T01:05:00Z",
              "782036",
              "0",
              "0",
              "0"
            ],
            [
              "2018-03-27T01:10:00Z",
              "784642",
              "0",
              "0",
              "0"
            ]
          ]
        },
        "renderingProperties": {
          "title": "Requests by Status Code",
          "description": "This detector breaks down the number of requests that your apps on this app service environment received for each status code."
        }
      }
    ]
  }
}

정의

Name Description
DataProviderMetadata

데이터 공급자에 대한 추가 구성

DataTableResponseColumn

열 정의

DataTableResponseObject

열 및 원시 행 값을 정의하는 데이터 테이블

DefaultErrorResponse

App Service 오류 응답입니다.

Details
DetectorInfo

감지기의 정의

DetectorResponse

Detector의 응답을 나타내는 클래스

DetectorType

이 탐지기가 Analysis Detector인지 여부입니다.

DiagnosticData

렌더링 지침이 포함된 데이터 집합

Error

오류 모델입니다.

InsightStatus

탐지기에서 생성된 가장 심각한 인사이트 수준입니다.

KeyValuePair[String,Object]
QueryUtterancesResult

발화 쿼리의 결과입니다.

QueryUtterancesResults

감지기를 적용할 수 있는 제안된 발화

Rendering

데이터 렌더링 지침

RenderingType

렌더링 형식

SampleUtterance

샘플 발화.

Status

탐지기에서 생성된 가장 심각한 인사이트의 상태를 식별합니다.

SupportTopic

고유한 지원 항목을 정의합니다.

DataProviderMetadata

데이터 공급자에 대한 추가 구성

Name 형식 Description
propertyBag

KeyValuePair[String,Object][]

데이터 공급자에 대한 설정

providerName

string

DataTableResponseColumn

열 정의

Name 형식 Description
columnName

string

열의 이름

columnType

string

열 형식

dataType

string

'String' 또는 'Int32'와 같은 데이터 형식입니다.

DataTableResponseObject

열 및 원시 행 값을 정의하는 데이터 테이블

Name 형식 Description
columns

DataTableResponseColumn[]

데이터 형식이 있는 열 목록

rows

string[]

원시 행 값

tableName

string

테이블의 이름

DefaultErrorResponse

App Service 오류 응답입니다.

Name 형식 Description
error

Error

오류 모델입니다.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

DetectorInfo

감지기의 정의

Name 형식 Description
analysisType

string[]

이 탐지기가 적용되어야 하는 분석 유형입니다.

author

string

탐지기의 작성자입니다.

category

string

문제 범주입니다. 이것은 검출기에 대한 그룹을 구성하는 데 사용됩니다.

description

string

탐지기 및 그 목적에 대한 간단한 설명입니다.

id

string

탐지기의 ID

name

string

탐지기 이름

score

number (float)

ML 기반 일치를 구동하는 탐지기의 점수를 정의합니다.

supportTopicList

SupportTopic[]

이 탐지기가 사용되는 지원 항목 목록입니다.

type

DetectorType

이 탐지기가 Analysis Detector인지 여부입니다.

DetectorResponse

Detector의 응답을 나타내는 클래스

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

name

string

리소스 이름입니다.

properties.dataProvidersMetadata

DataProviderMetadata[]

UI에서 사용할 다른 데이터 공급자에 대한 추가 구성

properties.dataset

DiagnosticData[]

데이터 세트

properties.metadata

DetectorInfo

감지기에 대한 메타데이터

properties.status

Status

가장 심각한 인사이트의 상태를 나타냅니다.

properties.suggestedUtterances

QueryUtterancesResults

감지기를 적용할 수 있는 제안된 발화입니다.

type

string

리소스 종류입니다.

DetectorType

이 탐지기가 Analysis Detector인지 여부입니다.

Description
Analysis
CategoryOverview
Detector

DiagnosticData

렌더링 지침이 포함된 데이터 집합

Name 형식 Description
renderingProperties

Rendering

테이블을 렌더링하는 방법을 설명하는 속성

table

DataTableResponseObject

테이블 형식의 데이터

Error

오류 모델입니다.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

InsightStatus

탐지기에서 생성된 가장 심각한 인사이트 수준입니다.

Description
Critical
Info
None
Success
Warning

KeyValuePair[String,Object]

Name 형식 Description
key

string

value

object

QueryUtterancesResult

발화 쿼리의 결과입니다.

Name 형식 Description
sampleUtterance

SampleUtterance

샘플 발화입니다.

score

number (float)

샘플 발화의 점수입니다.

QueryUtterancesResults

감지기를 적용할 수 있는 제안된 발화

Name 형식 Description
query

string

쿼리를 검색합니다.

results

QueryUtterancesResult[]

검색 쿼리에 대한 발화 결과의 배열입니다.

Rendering

데이터 렌더링 지침

Name 형식 Description
description

string

해석에 도움이 되는 데이터에 대한 설명

title

string

데이터 제목

type

RenderingType

렌더링 형식

RenderingType

렌더링 형식

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

SampleUtterance

샘플 발화.

Name 형식 Description
links

string[]

샘플 발화의 특성을 연결합니다.

qid

string

샘플 발화의 질문 ID입니다(stackoverflow 질문 제목용).

text

string

샘플 발화의 텍스트 특성입니다.

Status

탐지기에서 생성된 가장 심각한 인사이트의 상태를 식별합니다.

Name 형식 Description
message

string

설명 메시지입니다.

statusId

InsightStatus

탐지기에서 생성된 가장 심각한 인사이트 수준입니다.

SupportTopic

고유한 지원 항목을 정의합니다.

Name 형식 Description
id

string

지원 항목 ID

pesId

string

고유 리소스 ID