Cloud Data Streaming Service Cluster 노드 조회

Prev Next

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

설명

Cloud Data Streaming Service Cluster의 노드를 조회합니다.

요청

요청 URL

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

요청 헤더

헤더명 설명
x-ncp-apigw-timestamp 1970년 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-v2 Access Key ID 값과 Secret Key로 암호화한 서명
x-ncp-apigw-signature-v2:{API Gateway Signature}
Content-Type Request body content type을 application/json으로 지정
Content-Type: application/json

요청 파라미터

파라미터 타입 필수 여부 설명
serviceGroupInstanceNo String Y 브로커 노드 목록을 조회할 Cluster 번호

요청 예시

GET https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getClusterNodeList/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/getClusterNodeList/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 GetClusterDataNodeList {
    List<GetDataNodeListResponseDetailVo> computeList;
    Integer contractNo;
    DateTimeVo createdDate;
    String productCode;
    Integer regionNo;
    Integer serviceGroupInstanceNo;
    String serviceGroupInstanceTypeCode;
    String serviceGroupName;
    String statusCode;
    Integer vpcNo;
}

public class GetDataNodeListResponseDetailVo {
    Integer computeInstanceNo;
    String computeInstanceProductCode;
    String computeInstanceStatus;
    Integer cpuCount;
    DateTimeVo createdYmdt;
    String hostName;
    String macAddress;
    Long memorySize;
    String nodeRoleCode;
    DateTimeVo operationYmdt;
    String osInfo;
    String privateIp;
    String regionCode;
    String regionName;
    String regionNo;
    Boolean selfManaged;
    Integer serviceGroupInstanceNo;
    String uuid;
    String vpcName;
    Integer vpcNo;
    String subnetName;
    Integer subnetNo;
    String zoneName;
    Integer zoneNo;
}

public class DateTimeVo {
    Date formattedDate;
    Date formattedDateTime;
    Long utc;
}

필드

파라미터명 타입 설명
computeList List<GetDataNodeListResponseDetailVo> 데이터 노드 목록
contractNo Integer 계약 번호
createdDate DateTimeVo 클러스터 생성 날짜
productCode String OS 상품 코드
regionNo Integer 서버가 위치해있는 리전 번호
serviceGroupInstanceNo Integer Cluster 인스턴스 번호
serviceGroupInstanceTypeCode String Cluster 인스턴스 타입
serviceGroupName String Cluster 이름
statusCode String Instance 상태 코드
vpcNo Integer 서버가 위치해있는 VPC 번호
computeInstanceNo Integer 서버 인스턴스 번호
computeInstanceProductCode String 서버 인스턴스 HW 상품 코드
computeInstanceStatus String 서버 인스턴스 상태 코드
cpuCount Integer virtual CPU 개수
createdYmdt DateTimeVo 서버 생성일자
hostName String 서버 인스턴스 이름
macAddress String 서버 인스턴스 맥 주소
memorySize Long Byte 형태의 메모리 사이즈
nodeRoleCode String 서버 역할 코드
operationYmdt DateTimeVo 서버 작동 시간
osInfo String OS 정보
privateIp String 사설 IP 주소
regionCode String 서버가 위치해 있는 리전 코드
regionName String 서버가 위치해 있는 리전 이름
regionNo String 서버가 위치해 있는 리전 번호
selfManaged Boolean 콘솔 Server 탭 노출 여부
serviceGroupInstanceNo Integer Cluster 인스턴스 번호
uuid String 서버 인스턴스 고유 식별자
vpcName String 서버가 위치해 있는 VPC 이름
vpcNo Integer 서버가 위치해 있는 VPC 번호
subnetName String 서버가 위치해 있는 Subnet 이름
subnetNo Integer 서버가 위치해 있는 Subnet 번호
zoneName String 서버가 위치해 있는 Zone 이름
zoneNo Integer 서버가 위치해 있는 Zone 번호
formattedDate Date 생성된 날짜
formattedDateTime Date 생성된 날짜 및 시간
utc Long 생성된 UTC 시간을 millisecond로 변환

응답 예시

{
  "code": 0,
  "message": "SUCCESS",
  "result": {
    "contractNo": 525810,
    "createdDate": {
      "formattedDate": "2020-10-26",
      "formattedDateTime": "2020-10-26 11:54:35 000861",
      "utc": 1603680875861
    },
    "productCode": "SW.VCDSS.OS.LNX64.CNTOS.0703.B050",
    "regionNo": 1,
    "serviceGroupInstanceNo": 1509943,
    "serviceGroupInstanceTypeCode": "VCDSS",
    "serviceGroupName": "tesss",
    "statusCode": "CREAT",
    "vpcNo": 1236,
    "computeList": [
      {
        "computeInstanceNo": 1509944,
        "computeInstanceProductCode": "SVR.VCDSS.HICPU.C002.M004.NET.SSD.B050.G002",
        "computeInstanceStatus": "running",
        "cpuCount": 2,
        "createdYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:54:36 000998",
          "utc": 1603680876998
        },
        "hostName": "tesss-m-4hp",
        "macAddress": "F2:20:AF:F6:9F:BC",
        "memorySize": 4294967296,
        "nodeRoleCode": "M",
        "operationYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:57:10 000490",
          "utc": 1603681030490
        },
        "osInfo": "CentOS 7.3 (64-bit)",
        "privateIp": "10.0.0.12",
        "regionCode": "KR",
        "regionName": "Korea",
        "regionNo": "1",
        "selfManaged": false,
        "serviceGroupInstanceNo": 1509943,
        "uuid": "12a8d0f1-fda4-3959-ccf1-691e25e9ad2e",
        "vpcName": "clean",
        "vpcNo": 1236,
        "subnetNo": 1300,
        "subnetName": "clean-pub | KR-1",
        "zoneName": "KR-1",
        "zoneNo": 2
      },
      {
        "computeInstanceNo": 1509947,
        "computeInstanceProductCode": "SVR.VCDSS.HICPU.C002.M004.NET.SSD.B050.G002",
        "computeInstanceStatus": "running",
        "cpuCount": 2,
        "createdYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:54:37 000208",
          "utc": 1603680877208
        },
        "hostName": "tesss-b-4hq",
        "macAddress": "F2:20:AF:F6:AB:08",
        "memorySize": 4294967296,
        "nodeRoleCode": "B",
        "operationYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:57:03 000913",
          "utc": 1603681023913
        },
        "osInfo": "CentOS 7.3 (64-bit)",
        "privateIp": "10.0.1.29",
        "regionCode": "KR",
        "regionName": "Korea",
        "regionNo": "1",
        "selfManaged": false,
        "serviceGroupInstanceNo": 1509943,
        "uuid": "81f18061-de79-b34e-b99d-8719d0446c76",
        "vpcName": "clean",
        "vpcNo": 1236,
        "subnetNo": 1301,
        "subnetName": "clean-private | KR-1",
        "zoneName": "KR-1",
        "zoneNo": 2
      },
      {
        "computeInstanceNo": 1509951,
        "computeInstanceProductCode": "SVR.VCDSS.HICPU.C002.M004.NET.SSD.B050.G002",
        "computeInstanceStatus": "running",
        "cpuCount": 2,
        "createdYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:54:37 000355",
          "utc": 1603680877355
        },
        "hostName": "tesss-b-4hr",
        "macAddress": "F2:20:AF:F6:B1:36",
        "memorySize": 4294967296,
        "nodeRoleCode": "B",
        "operationYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:57:32 000832",
          "utc": 1603681052832
        },
        "osInfo": "CentOS 7.3 (64-bit)",
        "privateIp": "10.0.1.30",
        "regionCode": "KR",
        "regionName": "Korea",
        "regionNo": "1",
        "selfManaged": false,
        "serviceGroupInstanceNo": 1509943,
        "uuid": "2a9bfb2b-e3f1-51cf-0194-f16bc869ca00",
        "vpcName": "clean",
        "vpcNo": 1236,
        "subnetNo": 1301,
        "subnetName": "clean-private | KR-1",
        "zoneName": "KR-1",
        "zoneNo": 2
      },
      {
        "computeInstanceNo": 1509955,
        "computeInstanceProductCode": "SVR.VCDSS.HICPU.C002.M004.NET.SSD.B050.G002",
        "computeInstanceStatus": "running",
        "cpuCount": 2,
        "createdYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:54:37 000486",
          "utc": 1603680877486
        },
        "hostName": "tesss-b-4hs",
        "macAddress": "F2:20:AF:F6:BF:D3",
        "memorySize": 4294967296,
        "nodeRoleCode": "B",
        "operationYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 11:57:44 000697",
          "utc": 1603681064697
        },
        "osInfo": "CentOS 7.3 (64-bit)",
        "privateIp": "10.0.1.31",
        "regionCode": "KR",
        "regionName": "Korea",
        "regionNo": "1",
        "selfManaged": false,
        "serviceGroupInstanceNo": 1509943,
        "uuid": "ea1030f6-3a37-0ef8-6b0b-426d759d69ff",
        "vpcName": "clean",
        "vpcNo": 1236,
        "subnetNo": 1301,
        "subnetName": "clean-private | KR-1",
        "zoneName": "KR-1",
        "zoneNo": 2
      },
      {
        "computeInstanceNo": 1509998,
        "computeInstanceProductCode": "SVR.VCDSS.HICPU.C002.M004.NET.SSD.B050.G002",
        "computeInstanceStatus": "running",
        "cpuCount": 2,
        "createdYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 14:06:37 000001",
          "utc": 1603688797001
        },
        "hostName": "tesss-b-4ht",
        "macAddress": "F2:20:AF:F6:C9:E6",
        "memorySize": 4294967296,
        "nodeRoleCode": "B",
        "operationYmdt": {
          "formattedDate": "2020-10-26",
          "formattedDateTime": "2020-10-26 14:09:08 000830",
          "utc": 1603688948830
        },
        "osInfo": "CentOS 7.3 (64-bit)",
        "privateIp": "10.0.1.32",
        "regionCode": "KR",
        "regionName": "Korea",
        "regionNo": "1",
        "selfManaged": false,
        "serviceGroupInstanceNo": 1509943,
        "uuid": "26ec215d-9673-3c90-1dec-7f14c956b880",
        "vpcName": "clean",
        "vpcNo": 1236,
        "subnetNo": 1301,
        "subnetName": "clean-private | KR-1",
        "zoneName": "KR-1",
        "zoneNo": 2
      }
    ]
  },
  "requestId": "026d8c36-5af9-4998-8d43-dfd1111865ed"
}