getCloudHadoopProductList
    • PDF

    getCloudHadoopProductList

    • PDF

    記事の要約

    概要

    使用可能なCloudHadoop商品リストを照会します。

    リクエスト

    リクエストパラメータ

    API Parameter NameParameter名必須Default ValueAvailable ValuesData Type
    exclusionProductCode除外する商品コードNstring
    cloudHadoopImageProductCode照会するイメージ商品コードYstring
    productCode照会する商品コードNstring
    regionNoリージョン番号N1[1] for KR Regionstring
    zoneNoゾーン番号N3[3] for KR-2 Zonestring
    responseFormatTyperesponseの結果format設定Nxmlxml, jsonString

    リクエストヘッダ

    共通ガイド参照

    レスポンス

    Success

    {
        "getCloudHadoopProductListResponse": {
            "requestId": "<api-call-request-id>",
            "returnCode": "0",
            "returnMessage": "success",
            "productList": [
                {
                    "productCode": "<product-コード>",
                    "productName": "<product-名称>",
                    "productType": {
                        "code": "<product-タイプ-コード>",
                        "codeName": "<product-タイプ-名称>"
                    },
                    "productDescription": "<product-説明>",
                    "infraResourceType": {
                        "code": "<インフラ-リソース-タイプ-コード>",
                        "codeName": "<インフラ-リソース-タイプ-名称>"
                    },
                    "cpuCount": <cpu-個数>,
                    "memorySize": <メモリ-サイズ>,
                    "baseBlockStorageSize": <基本-ブロック-ストレージ-サイズ>,
                    "osInformation": "<os-情報>",
                    "diskType": {
                        "code": "<disk-タイプ-コード>",
                        "codeName": "<disk-タイプ-コード-名称>"
                    },
                   "dbKindCode": "<hadoop-distribution-コード>",
                   "addBlockStorageSize": <追加された-ブロック-ストレージ-サイズ>
                }
            ],
          "totalRows": <response-リスト-長さ>
          }
    } 
    

    Authentication failed

    {
        "error": {
            "errorCode": "<リターン-コード>",
            "message": "<リターン-メッセージ>"
        }
    }
    

    Bad Parameter

    {
        "responseError": {
            "returnCode": "<リターン-コード>",
            "returnMessage": "<リターン-メッセージ>"
        }
    }
    

    例示

    リクエスト例示

    curl -i -X GET \
       -H "x-ncp-apigw-timestamp:1505290625682" \
       -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
       -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
       "https://ncloud.apigw.ntruss.com/hadoop/v2/getCloudHadoopProductList"
    

    レスポンス例示

    {
        "getCloudHadoopProductListResponse": {
            "requestId": "b68582de-6623-4a05-979c-872a68db3515",
            "returnCode": "0",
            "returnMessage": "success",
            "productList": [
                {
                    "productCode": "SPSVRCHADP000001",
                    "productName": "vCPU 4EA, Memory 8GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 4EA, Memory 8GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 4,
                    "memorySize": 8589934592,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000002",
                    "productName": "vCPU 4EA, Memory 16GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 4EA, Memory 16GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 4,
                    "memorySize": 17179869184,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000003",
                    "productName": "vCPU 8EA, Memory 16GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 8EA, Memory 16GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 8,
                    "memorySize": 17179869184,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000004",
                    "productName": "vCPU 8EA, Memory 32GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 8EA, Memory 32GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 8,
                    "memorySize": 34359738368,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000005",
                    "productName": "vCPU 16EA, Memory 32GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 16EA, Memory 32GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 16,
                    "memorySize": 34359738368,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000006",
                    "productName": "vCPU 4EA, Memory 32GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 4EA, Memory 32GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 4,
                    "memorySize": 34359738368,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000007",
                    "productName": "vCPU 8EA, Memory 64GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 8EA, Memory 64GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 8,
                    "memorySize": 68719476736,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000008",
                    "productName": "vCPU 16EA, Memory 128GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 16EA, Memory 128GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 16,
                    "memorySize": 137438953472,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                },
                {
                    "productCode": "SPSVRCHADP000009",
                    "productName": "vCPU 32EA, Memory 256GB",
                    "productType": {
                        "code": "CHADP",
                        "codeName": "Hadoop"
                    },
                    "productDescription": "vCPU 32EA, Memory 256GB",
                    "infraResourceType": {
                        "code": "CHADP",
                        "codeName": "Cloud Hadoop"
                    },
                    "cpuCount": 32,
                    "memorySize": 274877906944,
                    "baseBlockStorageSize": 53687091200,
                    "osInformation": "",
                    "diskType": {
                        "code": "NET",
                        "codeName": "Network Storage"
                    },
                    "dbKindCode": "",
                    "addBlockStorageSize": 0
                }
            ],
            "totalRows": 9
        }
    }
    

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

    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.