ノードグループ別変更可能スペックの照会
    • PDF

    ノードグループ別変更可能スペックの照会

    • PDF

    記事の要約

    VPC環境で利用できます。

    説明

    Cloud Data Streaming Serviceのノードグループの変更可能な商品コードを照会します。

    リクエスト

    リクエスト URL

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [KR]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/sgn-v1/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [SGN]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/jpn-v1/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [JPN]
    

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp- 1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表す
    - API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルで発行した 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

    リクエストパラメータ

    パラメータタイプ要否説明
    serviceGroupInstanceNoStringYClusterの ServiceGroupInstanceNo
    softwareProductCodeStringYClusterの S/W ProductCode

    リクエスト例

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getNodeProductListForSpecChange/123456
    HOST: clouddatastreamingservice.apigw.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 GET "https://clouddatastreamingservice.apigw.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": true
        }],
        "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": true
        }]
      },
      "requestId": "caac93f8-f256-47bf-9290-291ebe0d037f"
    }
    

    この記事は役に立ちましたか?

    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.