노드 그룹별 변경 가능 스펙 조회
    • PDF

    노드 그룹별 변경 가능 스펙 조회

    • PDF

    기사 요약

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

    설명

    Cloud Data Streaming Service의 노드 그룹의 변경 가능한 상품코드를 조회합니다.

    요청

    요청 URL

    POST https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [수도권]
    POST https://clouddatastreamingservice.apigw.gov-ntruss.com/api/krs-v1/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [남부권]
    

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타내며 API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-apigw-timestamp:{Timestamp}

    요청 파라미터

    파라미터타입필수 여부설명
    serviceGroupInstanceNoStringYCluster의 ServiceGroupInstanceNo
    softwareProductCodeStringYCluster의 S/W ProductCode

    요청 예시

    POST https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getNodeProductListForSpecChange/123456
    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
    {
       "softwareProductCode" : "SW.VCDSS.OS.LNX64.CNTOS.0708.B050"
    }
    
    curl -X POST "https://clouddatastreamingservice.apigw.gov-ntruss.com/api/v1/cluster/getNodeProductListForSpecChange/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="  \
    -d "{ \"softwareProductCode\": \"SW.VCDSS.OS.LNX64.CNTOS.0708.B050\"}"
    

    응답 파라미터

    public class Result{
        public ArrayList<NodeProductList> managerNodeProductList;
        public ArrayList<NodeProductList> brokerNodeProductList;
    }
    
    public class NodeProductList{
        public String productCode;
        public String productName;
        public String productKoreanName;
        public String productEnglishName;
        public String productJapaneseName;
        public String productDesc;
        public String productKoreanDesc;
        public String productEnglishDesc;
        public String productJapaneseDesc;
        public String productType2Code;
        public String infraResourceTypeCode;
        public Object infraResourceDetailTypeCode;
        public String cpuCount;
        public Object memorySize;
        public String baseBlockStorageProductCode;
        public String diskType2Code;
        public boolean isChangeSpec;
        public boolean isSelected;
    }
    

    필드

    파라미터명타입설명
    ManagerNodeProductListArrayList<NodeProductList>ManagerNode Product List
    BrokerNodeProductListArrayList<NodeProductList>BrokerNode Product List
    productCodeStringH/W ProductCode
    productNameStringH/W ProductCodeName
    productKoreanNameStringH/W ProductCodeKoreanName
    productEnglishNameStringH/W ProductCodeEnglishName
    productJapaneseNameStringH/W ProductCodeJapaneseName
    productDescStringH/W ProductCodeDescription
    productKoreanDescStringH/W ProductCodeKoreanDescription
    productEnglishDescStringH/W ProductCodeEnglishDescription
    productJapaneseDescStringH/W ProductCodeJapaneseDescription
    productType2CodeStringH/W ProductTypeCode
    infraResourceTypeCodeStringH/W Product InfraResourceTypeCode
    infraResourceDetailTypeCodeStringH/W Product infraResourceDetailTypeCode
    cpuCountIntegerH/W Product CPU Count
    memorySizeLongH/W Product Memory Size
    baseBlockStorageProductCodeStringH/W Product BaseBlockStorageProductCode
    diskType2CodeStringH/W Product BaseBlockStorage DiskTypeCode
    isChangeSpecBoolean스펙 변경 가능여부
    isSelectedBoolean현재 사용중인 스펙

    응답 예시

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "managerNodeProductList": [
          {
            "productCode": "SVR.VCDSS.STAND.C002.M008.NET.SSD.B050.G002",
            "productName": "[STAND] vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productKoreanName": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productEnglishName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productJapaneseName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productKoreanDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productEnglishDesc": "[STAND] vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productJapaneseDesc": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productType2Code": "STAND",
            "infraResourceTypeCode": "VCDSS",
            "infraResourceDetailTypeCode": null,
            "cpuCount": "2",
            "memorySize": 8589934592,
            "baseBlockStorageProductCode": "SPBSTBSTBS000005",
            "diskType2Code": "NET",
            "isChangeSpec": true,
            "isSelected": false
          }],
        "brokerNodeProductList": [
          {
            "productCode": "SVR.VCDSS.STAND.C002.M008.NET.SSD.B050.G002",
            "productName": "[STAND] vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productKoreanName": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productEnglishName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productJapaneseName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productKoreanDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
            "productEnglishDesc": "[STAND] vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productJapaneseDesc": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
            "productType2Code": "STAND",
            "infraResourceTypeCode": "VCDSS",
            "infraResourceDetailTypeCode": null,
            "cpuCount": "2",
            "memorySize": 8589934592,
            "baseBlockStorageProductCode": "SPBSTBSTBS000005",
            "diskType2Code": "NET",
            "isChangeSpec": true,
            "isSelected": false
          }]      
          },
      "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.