Search Engine Cluster 노드 그룹별 스펙 조회
    • PDF

    Search Engine Cluster 노드 그룹별 스펙 조회

    • PDF

    기사 요약

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

    설명

    Search Engine Cluster의 노드 그룹별 스펙을 조회합니다.

    요청

    요청 URL

    POST https://vpcsearchengine.apigw.gov-ntruss.com/api/v2/cluster/getNodeSpecDetail/{serviceGroupInstanceNo} [수도권]
    POST https://vpcsearchengine.apigw.gov-ntruss.com/api/krs-v2/cluster/getNodeSpecDetail/{serviceGroupInstanceNo} [남부권]
    

    요청 헤더

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

    요청 파라미터

    파라미터타입필수 여부설명
    serviceGroupInstanceNoStringY조회할 Cluster의 ServiceGroupInstanceNo

    요청 예시

    POST https://vpcsearchengine.apigw.gov-ntruss.com/api/v2/cluster/getNodeSpecDetail/123456
    HOST: vpcsearchengine.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 POST "https://vpcsearchengine.gov-apigw.ntruss.com/api/v2/cluster/getNodeSpecDetail/123456" \
    -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 Result {
     private String clusterName;
     private Integer serviceGroupInstanceNo;
     private String softwareProductCode;
     private String managerNodeProductName;
     private String managerNodeProductCode;
     private String dataNodeProductName;
     private String dataNodeProductCode;
     private String masterNodeProductName;
     private String masterNodeProductCode;
    }
    

    필드

    파라미터명타입설명
    clusterNameStringCluster 이름
    serviceGroupInstanceNoIntegerCluster 고유번호
    softwareProductCodeStringCluster 의 S/W ProductCode
    managerNodeProductNameStringManager Node H/W ProductCode 이름
    managerNodeProductCodeStringManager Node H/W ProductCode
    dataNodeProductNameStringdata Node H/W ProductCode 이름
    dataNodeProductCodeStringdata Node H/W ProductCode
    masterNodeProductNameStringMaster Node H/W ProductCode 이름
    masterNodeProductCodeStringMaster Node H/W ProductCode

    응답 예시

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "clusterName": "apitest",
        "serviceGroupInstanceNo": 2715569,
        "softwareProductCode": "SW.VELST.OS.LNX64.CNTOS.0708.B050",
        "managerNodeProductName": "vCPU 2EA, Memory 4GB, [SSD] Disk 50GB",
        "managerNodeProductCode": "SVR.VELST.HICPU.C002.M004.NET.SSD.B050.G002",
        "dataNodeProductName": "vCPU 2EA, Memory 4GB, [SSD] Disk 50GB",
        "dataNodeProductCode": "SVR.VELST.HICPU.C002.M004.NET.SSD.B050.G002",
        "masterNodeProductName": "vCPU 2EA, Memory 4GB, [SSD] Disk 50GB",
        "masterNodeProductCode": "SVR.VELST.HICPU.C002.M004.NET.SSD.B050.G002"
      },
      "requestId": "d3e78486-6ab7-4631-9a78-73bf826f4ea0"
    }
    

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

    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.