GetRuleGroupByMonitorGroupIds
    • PDF

    GetRuleGroupByMonitorGroupIds

    • PDF

    Article Summary

    개요

    감시 대상 그룹과 관련된 Event Rule을 조회합니다.

    요청

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor/group/related
    Method: POST
    

    요청 헤더

    공통설정에 명시된 요청헤더가 필요합니다.

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    요청 파라미터

    파라미터명필수 여부타입제약사항설명
    prodKeyYString상품의 cw_key

    요청 바디

    파라미터명필수 여부타입제약사항설명
    monitorGroupIdsYSet<String>조회하려는 감시 대상 그룹의 Id이며, 여러개의 감시 대상 그룹을 한번에 조회 가능

    예시

    요청 예시

    POST /cw_fea/real/cw/api/rule/group/monitor/group/related
    Host: cw.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload:
    [
      "monitorGrpId001"
    ]
    

    응답 예시

    [
      {
        "id": "monitorGrpId001",
        "ruleGroupItemDtoList": [
          {
            "cfTriggers": [],
            "createTime": 1589776027701,
            "domainCode": "PUB",
            "groupDesc": "이벤트 룰을 수정합니다.",
            "groupName": "eventRule001",
            "id": "eventRuleId001",
            "prodKey": "xxxxxxxxxxxxxxxxxx",
            "recipientNotifications": [
              {
                "groupName": "통보대상자그룹",
                "groupNum": xx,
                "notifyTypes": [
                  "SMS",
                  "EMAIL"
                ]
              }
            ],
            "regionCode": "KR",
            "ruleVersion": "V2",
            "suspendRuleItems": [
              {
                "metricGroupItemId": "metricGroupItemId001",
                "resourceId": "resourceId001"
              }
            ],
            "updateTime": 1589778114663
          },
          {
            "cfTriggers": [],
            "createTime": 1589775745332,
            "domainCode": "PUB",
            "groupName": "evnetRule002",
            "id": "eventRuleId001",
            "prodKey": "xxxxxxxxxxxxxxxxxx",
            "recipientNotifications": [
              {
                "groupName": "통보대상자그룹",
                "groupNum": xx,
                "notifyTypes": [
                  "SMS",
                  "EMAIL"
                ]
              }
            ],
            "regionCode": "KR",
            "ruleVersion": "V2",
            "updateTime": 1589775745332
          }
        ]
      }
    ]
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.