Components interface
구성 요소를 나타내는 인터페이스입니다.
메서드
create |
Application Insights 구성 요소를 만들거나 업데이트합니다. 참고: Put 작업에서는 InstrumentationKey 또는 AppId에 대해 다른 값을 지정할 수 없습니다. |
delete(string, string, Components |
Application Insights 구성 요소를 삭제합니다. |
get(string, string, Components |
Application Insights 구성 요소를 반환합니다. |
get |
진행 중인 제거 작업의 상태를 가져옵니다. |
list(Components |
구독 내의 모든 Application Insights 구성 요소 목록을 가져옵니다. |
list |
리소스 그룹 내의 Application Insights 구성 요소 목록을 가져옵니다. |
purge(string, string, Component |
사용자 정의 필터 집합으로 Application Insights 구성 요소의 데이터를 제거합니다. 시스템 리소스를 관리하기 위해 제거 요청은 시간당 50개의 요청으로 제한됩니다. 제거가 필요한 모든 사용자 ID가 포함된 단일 명령을 전송하여 제거 요청 실행을 일괄 처리해야 합니다. in 연산자를 사용하여 여러 ID를 지정합니다. 제거 요청에 를 사용하기 전에 쿼리를 실행하여 결과가 필요한지 확인해야 합니다. |
update |
기존 구성 요소의 태그를 업데이트. 다른 필드를 업데이트하려면 CreateOrUpdate 메서드를 사용합니다. |
메서드 세부 정보
createOrUpdate(string, string, ApplicationInsightsComponent, ComponentsCreateOrUpdateOptionalParams)
Application Insights 구성 요소를 만들거나 업데이트합니다. 참고: Put 작업에서는 InstrumentationKey 또는 AppId에 대해 다른 값을 지정할 수 없습니다.
function createOrUpdate(resourceGroupName: string, resourceName: string, insightProperties: ApplicationInsightsComponent, options?: ComponentsCreateOrUpdateOptionalParams): Promise<ApplicationInsightsComponent>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- insightProperties
- ApplicationInsightsComponent
Application Insights 구성 요소를 만들기 위해 지정해야 하는 속성입니다.
옵션 매개 변수입니다.
반환
Promise<ApplicationInsightsComponent>
delete(string, string, ComponentsDeleteOptionalParams)
Application Insights 구성 요소를 삭제합니다.
function delete(resourceGroupName: string, resourceName: string, options?: ComponentsDeleteOptionalParams): Promise<void>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- options
- ComponentsDeleteOptionalParams
옵션 매개 변수입니다.
반환
Promise<void>
get(string, string, ComponentsGetOptionalParams)
Application Insights 구성 요소를 반환합니다.
function get(resourceGroupName: string, resourceName: string, options?: ComponentsGetOptionalParams): Promise<ApplicationInsightsComponent>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- options
- ComponentsGetOptionalParams
옵션 매개 변수입니다.
반환
Promise<ApplicationInsightsComponent>
getPurgeStatus(string, string, string, ComponentsGetPurgeStatusOptionalParams)
진행 중인 제거 작업의 상태를 가져옵니다.
function getPurgeStatus(resourceGroupName: string, resourceName: string, purgeId: string, options?: ComponentsGetPurgeStatusOptionalParams): Promise<ComponentPurgeStatusResponse>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- purgeId
-
string
제거 상태 요청에서 상태가 반환되는 작업의 ID입니다.
옵션 매개 변수입니다.
반환
Promise<ComponentPurgeStatusResponse>
list(ComponentsListOptionalParams)
구독 내의 모든 Application Insights 구성 요소 목록을 가져옵니다.
function list(options?: ComponentsListOptionalParams): PagedAsyncIterableIterator<ApplicationInsightsComponent, ApplicationInsightsComponent[], PageSettings>
매개 변수
- options
- ComponentsListOptionalParams
옵션 매개 변수입니다.
반환
listByResourceGroup(string, ComponentsListByResourceGroupOptionalParams)
리소스 그룹 내의 Application Insights 구성 요소 목록을 가져옵니다.
function listByResourceGroup(resourceGroupName: string, options?: ComponentsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ApplicationInsightsComponent, ApplicationInsightsComponent[], PageSettings>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
옵션 매개 변수입니다.
반환
purge(string, string, ComponentPurgeBody, ComponentsPurgeOptionalParams)
사용자 정의 필터 집합으로 Application Insights 구성 요소의 데이터를 제거합니다.
시스템 리소스를 관리하기 위해 제거 요청은 시간당 50개의 요청으로 제한됩니다. 제거가 필요한 모든 사용자 ID가 포함된 단일 명령을 전송하여 제거 요청 실행을 일괄 처리해야 합니다. in 연산자를 사용하여 여러 ID를 지정합니다. 제거 요청에 를 사용하기 전에 쿼리를 실행하여 결과가 필요한지 확인해야 합니다.
function purge(resourceGroupName: string, resourceName: string, body: ComponentPurgeBody, options?: ComponentsPurgeOptionalParams): Promise<ComponentPurgeResponse>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- body
- ComponentPurgeBody
Application Insights 구성 요소의 단일 테이블에서 데이터를 제거하는 요청의 본문을 설명합니다.
- options
- ComponentsPurgeOptionalParams
옵션 매개 변수입니다.
반환
Promise<ComponentPurgeResponse>
updateTags(string, string, TagsResource, ComponentsUpdateTagsOptionalParams)
기존 구성 요소의 태그를 업데이트. 다른 필드를 업데이트하려면 CreateOrUpdate 메서드를 사용합니다.
function updateTags(resourceGroupName: string, resourceName: string, componentTags: TagsResource, options?: ComponentsUpdateTagsOptionalParams): Promise<ApplicationInsightsComponent>
매개 변수
- resourceGroupName
-
string
리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.
- resourceName
-
string
Application Insights 구성 요소 리소스의 이름입니다.
- componentTags
- TagsResource
구성 요소 인스턴스로 설정하도록 태그 정보를 업데이트했습니다.
옵션 매개 변수입니다.
반환
Promise<ApplicationInsightsComponent>
Azure SDK for JavaScript