다음을 통해 공유


Components - Get

Application Insights 구성 요소를 반환합니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}?api-version=2015-05-01

URI 매개 변수

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

string

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

resourceName
path True

string

Application Insights 구성 요소 리소스의 이름입니다.

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

ApplicationInsightsComponent

Application Insights 구성 요소 정의입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow.

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

범위

Name Description
user_impersonation 사용자 계정 가장

예제

ComponentGet

샘플 요청

GET https://management.azure.com/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component?api-version=2015-05-01

샘플 응답

{
  "id": "/subscriptions/subid/resourceGroups/my-resource-group/providers/Microsoft.Insights/components/my-component",
  "name": "my-component",
  "type": "Microsoft.Insights/components",
  "location": "South Central US",
  "tags": "",
  "kind": "web",
  "properties": {
    "ApplicationId": "my-component",
    "AppId": "887f4bfd-b5fd-40d7-9fc3-123456789abc",
    "Application_Type": "web",
    "Flow_Type": "Bluefield",
    "Request_Source": "rest",
    "InstrumentationKey": "bc095013-3cf2-45ac-ab47-123456789abc",
    "CreationDate": "2017-01-24T01:05:38.5934061+00:00",
    "TenantId": "f438d567-7177-4fe1-a5e3-123456789abc",
    "HockeyAppId": "",
    "HockeyAppToken": "",
    "provisioningState": "Succeeded",
    "SamplingPercentage": 100,
    "RetentionInDays": 90,
    "ConnectionString": "InstrumentationKey=bc095013-3cf2-45ac-ab47-123456789abc",
    "DisableIpMasking": false,
    "ImmediatePurgeDataOn30Days": false,
    "IngestionMode": "ApplicationInsights"
  }
}

정의

Name Description
ApplicationInsightsComponent

Application Insights 구성 요소 정의입니다.

ApplicationType

모니터링되는 애플리케이션의 유형입니다.

FlowType

Application Insights 시스템에서 이 구성 요소가 만든 흐름의 종류를 확인하는 데 사용됩니다. REST API를 통해 구성 요소를 만들/업데이트할 때 'Bluefield'로 설정해야 합니다.

IngestionMode

수집의 흐름을 나타냅니다.

PrivateLinkScopedResource

프라이빗 링크는 리소스 참조를 scope.

RequestSource

이 Application Insights 구성 요소를 만든 도구에 대해 설명합니다. 이 API를 사용하는 고객은 이를 기본 'rest'로 설정해야 합니다.

ApplicationInsightsComponent

Application Insights 구성 요소 정의입니다.

Name 형식 Default value Description
id

string

Azure 리소스 ID

kind

string

UI를 사용자 지정하는 데 사용되는 이 구성 요소가 참조하는 애플리케이션의 종류입니다. 이 값은 자유형 문자열이며, 값은 일반적으로 웹, ios, 기타, store, java, phone 중 하나여야 합니다.

location

string

리소스 위치

name

string

Azure 리소스 이름

properties.AppId

string

Application Insights 애플리케이션의 고유 ID입니다.

properties.ApplicationId

string

애플리케이션의 고유 ID입니다. 이 필드는 '이름' 필드를 미러링하며 변경할 수 없습니다.

properties.Application_Type

ApplicationType

web

모니터링되는 애플리케이션의 유형입니다.

properties.ConnectionString

string

Application Insights 구성 요소 연결 문자열.

properties.CreationDate

string

Application Insights 구성 요소의 생성 날짜(ISO 8601 형식)입니다.

properties.DisableIpMasking

boolean

IP 마스킹을 사용하지 않도록 설정합니다.

properties.Flow_Type

FlowType

Bluefield

Application Insights 시스템에서 이 구성 요소가 만든 흐름의 종류를 확인하는 데 사용됩니다. REST API를 통해 구성 요소를 만들/업데이트할 때 'Bluefield'로 설정해야 합니다.

properties.HockeyAppId

string

HockeyApp과의 통신에 사용되는 HockeyApp에 새 애플리케이션을 추가할 때 생성된 고유 애플리케이션 ID입니다.

properties.HockeyAppToken

string

Application Insights와 HockeyApp 간의 통신을 인증하는 데 사용되는 토큰입니다.

properties.ImmediatePurgeDataOn30Days

boolean

30일 후에 즉시 데이터를 제거합니다.

properties.IngestionMode

IngestionMode

ApplicationInsights

수집의 흐름을 나타냅니다.

properties.InstrumentationKey

string

Application Insights 계측 키. 애플리케이션이 Azure 애플리케이션 Insights로 전송된 모든 원격 분석의 대상을 식별하는 데 사용할 수 있는 읽기 전용 값입니다. 이 값은 각 새 Application Insights 구성 요소를 생성할 때 제공됩니다.

properties.PrivateLinkScopedResources

PrivateLinkScopedResource[]

연결된 프라이빗 링크 scope 리소스 목록입니다.

properties.Request_Source

RequestSource

rest

이 Application Insights 구성 요소를 만든 도구에 대해 설명합니다. 이 API를 사용하는 고객은 이를 기본 'rest'로 설정해야 합니다.

properties.RetentionInDays

integer

90

보존 기간(일)입니다.

properties.SamplingPercentage

number

Application Insights 원격 분석에 대해 샘플링되는 모니터링되는 애플리케이션에서 생성되는 데이터의 백분율입니다.

properties.TenantId

string

Azure 테넌트 ID.

properties.provisioningState

string

이 구성 요소의 현재 상태: 가 정의된 리소스 그룹 내에서 프로비전되었는지 여부입니다. 사용자는 이 값을 변경할 수 없지만 이 값을 읽을 수 있습니다. 값에는 Succeeded, Deploying, Canceled 및 Failed가 포함됩니다.

tags

object

리소스 태그

type

string

Azure 리소스 종류

ApplicationType

모니터링되는 애플리케이션의 유형입니다.

Name 형식 Description
other

string

web

string

FlowType

Application Insights 시스템에서 이 구성 요소가 만든 흐름의 종류를 확인하는 데 사용됩니다. REST API를 통해 구성 요소를 만들/업데이트할 때 'Bluefield'로 설정해야 합니다.

Name 형식 Description
Bluefield

string

IngestionMode

수집의 흐름을 나타냅니다.

Name 형식 Description
ApplicationInsights

string

ApplicationInsightsWithDiagnosticSettings

string

LogAnalytics

string

PrivateLinkScopedResource

프라이빗 링크는 리소스 참조를 scope.

Name 형식 Description
ResourceId

string

프라이빗 링크 scope 리소스의 전체 리소스 ID입니다.

ScopeId

string

프라이빗 링크는 고유 식별자를 scope.

RequestSource

이 Application Insights 구성 요소를 만든 도구에 대해 설명합니다. 이 API를 사용하는 고객은 이를 기본 'rest'로 설정해야 합니다.

Name 형식 Description
rest

string