Cloud Data Streaming Service Cluster ACG 조회
    • PDF

    Cloud Data Streaming Service Cluster ACG 조회

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    설명

    Cloud Data Streaming Service Cluster의 ACG를 확인합니다.

    요청

    요청 URL

    GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getAcgInfoList/{service-group-instance-no} [수도권]
    GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/krs-v1/cluster/getAcgInfoList/{service-group-instance-no} [남부권]
    

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타내며
    API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-key네이버 클라우드 플랫폼 포털에서 발급받은 Access Key ID 값
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID 값과 Secret Key로 암호화한 서명
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content type을 application/json으로 지정
    Content-Type: application/json

    요청 파라미터

    파라미터타입필수 여부설명
    serviceGroupInstanceNoStringYACG를 조회할 Cluster 번호

    요청 예시

    GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getAcgInfoList/1484848
    HOST: clouddatastreamingservice.apigw.gov-ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
    
    curl -X GET "https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getAcgInfoList/1484848" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
    -H "x-ncp-apigw-timestamp: 1601971222179" \
    -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4="
    

    응답 파라미터

    public class GetAcgInfoList {
        GetAccessControlGroupRuleListResponseVo managerNodeAcgRule;
        GetAccessControlGroupRuleListResponseVo dataNodeAcgRule;
    }
    
    public class GetAccessControlGroupRuleListResponseVo {
        List<AcgRuleResponseDetailVo> inboundAcgRules;
        List<AcgRuleResponseDetailVo> outboundAcgRules;
    }
    
    public class AcgRuleResponseDetailVo {
        Integer accessControlGroupRuleNo;
        Integer accessControlGroupSequence;
        String ipBlock;
        Boolean isInboundRule;
        String portRange;
        String protocolTypeCode;
        String accessControlGroupName;
        Integer accessControlGroupNo;
        DateTimeVo createdYmdt;
        String description;
        String statusCode;
    }
    
    public class DateTimeVo {
        Date formattedDate;
        Date formattedDateTime;
        Long utc;
    }
    

    필드

    파라미터명타입설명
    managerNodeAcgRuleGetAccessControlGroupRuleListResponseVo매니저 노드의 ACG Rule
    brokerNodeAcgRuleGetAccessControlGroupRuleListResponseVo브로커 노드의 ACG Rule
    inboundAcgRulesList<AcgRuleResponseDetailVo>Inbound ACG Rule
    outboundAcgRulesList<AcgRuleResponseDetailVo>Outbound ACG Rule
    accessControlGroupRuleNoIntegerACG 번호
    accessControlGroupSequenceIntegerACG Rule을 적용할 접근 소스의 ACG 번호
    ipBlockStringACG Rule을 적용할 접근 소스의 IP
    isInboundRuleBooleanInbound Rule 여부
    portRangeString포트 범위, 포트 프로토콜이 ICMP인 경우 사용되지 않습니다.
    protocolTypeCodeString프로토콜 유형
    accessControlGroupNameStringACG 이름
    accessControlGroupNoIntegerACG 번호
    createdYmdtDateTimeVoACG가 생성된 시간
    descriptionStringACG 설명
    statusCodeStringACG 상태
    formattedDateDate생성된 날짜
    formattedDateTimeDate생성된 날짜 및 시간
    utcLong생성된 UTC 시간을 millisecond로 변환

    응답 예시

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "managerNodeAcgRule": {
          "inboundAcgRules": [
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000476",
                "utc": 1603680876476
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34561,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "22",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000468",
                "utc": 1603680876468
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34560,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": true,
              "portRange": "9000",
              "protocolTypeCode": "tcp"
            }
          ],
          "outboundAcgRules": [
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000492",
                "utc": 1603680876492
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9203,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": null,
              "protocolTypeCode": "icmp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000489",
                "utc": 1603680876489
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9202,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "udp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3751,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000486",
                "utc": 1603680876486
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9201,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "tcp"
            }
          ]
        },
        "brokerNodeAcgRule": {
          "inboundAcgRules": [
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000598",
                "utc": 1603680876598
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34569,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9999",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000591",
                "utc": 1603680876591
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34568,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9093",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000583",
                "utc": 1603680876583
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34567,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "9092",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000576",
                "utc": 1603680876576
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34566,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "3888",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000568",
                "utc": 1603680876568
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34565,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2888",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-b-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000561",
                "utc": 1603680876561
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34564,
              "accessControlGroupSequence": 3750,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2181",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000553",
                "utc": 1603680876553
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34563,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "2181",
              "protocolTypeCode": "tcp"
            },
            {
              "accessControlGroupName": "cdss-m-wd2v",
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000546",
                "utc": 1603680876546
              },
              "description": "(automatically created, don't delete it) for the Cloud Data Streaming Service Cluster itself",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 34562,
              "accessControlGroupSequence": 3751,
              "ipBlock": null,
              "isInboundRule": true,
              "portRange": "22",
              "protocolTypeCode": "tcp"
            }
          ],
          "outboundAcgRules": [
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000611",
                "utc": 1603680876611
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9206,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": null,
              "protocolTypeCode": "icmp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000609",
                "utc": 1603680876609
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9205,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "udp"
            },
            {
              "accessControlGroupName": null,
              "accessControlGroupNo": 3750,
              "createdYmdt": {
                "formattedDate": "2020-10-26",
                "formattedDateTime": "2020-10-26 11:54:36 000606",
                "utc": 1603680876606
              },
              "description": "automatically created, don't delete it",
              "statusCode": "RUN",
              "accessControlGroupRuleNo": 9204,
              "accessControlGroupSequence": null,
              "ipBlock": "0.0.0.0/0",
              "isInboundRule": false,
              "portRange": "1-65535",
              "protocolTypeCode": "tcp"
            }
          ]
        }
      },
      "requestId": "5e89ebbc-8789-4250-aa74-2d3f8a0da853"
    }
    

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

    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.