• English日本語한국어
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하십시오.

문제 신고

NerdGraph 튜토리얼: 적용된 인텔리전스 대상

UI에서 적용된 인텔리전스 대상 을 관리하는 것 외에도 NerdGraph API를 사용할 수 있습니다.

NerdGraph를 시작하는 데 도움이 필요 하면 NerdGraph 소개를 참조하세요.

목적지 나열 및 필터링

destinations 쿼리를 사용하면 계정당 모든 목적지에 대해 페이지를 매길 수 있습니다.또한 일부 필터링 기능을 허용합니다.

목적지 만들기

대상을 생성하려면 대상 유형마다 다른 입력을 제공해야 합니다.양방향 통합을 허용하는 통합에 선택적 two_way_integration 속성을 사용할 수 있습니다.

목적지 업데이트

대상을 업데이트할 때 대상의 모든 속성을 제공할 필요는 없습니다.예를 들어, 이름만 업데이트하려는 경우에만 이름을 제공하면 됩니다.

mutation {
aiNotificationsUpdateDestination(
accountId: YOUR_ACCOUNT_ID
destinationId: YOUR_destination_ID
destination: { name: "Updated destination Name" }
) {
destination {
id
name
}
}
}

대상 테스트

NerdGraph API를 통해 대상을 테스트할 수 있습니다.대상을 생성하기 전이나 후에 수행할 수 있습니다.

mutation {
aiNotificationsTestDestination(
accountId: YOUR_ACCOUNT_ID
destination: {
type: EMAIL
name: "Destination Name"
properties: [{ key: "email", value: YOUR_EMAIL }]
}
) {
error {
details
}
details
result
}
}
mutation {
aiNotificationsTestDestinationById(
accountId: YOUR_ACCOUNT_ID
destinationId: YOUR_DESTINATION_ID
) {
error {
details
}
details
result
}
}

목적지 삭제

NerdGraph API를 통해 목적지를 삭제할 수 있습니다.

mutation {
aiNotificationsDeleteDestination(
accountId: YOUR_ACCOUNT_ID
destinationId: YOUR_DESTINATION_ID
) {
ids
error {
details
}
}
}
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.