getCloudHadoopImageProductList
    • PDF

    getCloudHadoopImageProductList

    • PDF

    Article summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    Overview

    Gets available Cloud Hadoop image products.

    Request

    Request Parameters

    ParameterDescriptionRequiredDefault valueAvailable valuesData type
    exclusionProductCodeImage product code to excludeNstring
    productCodeImage product code to getNstring
    regionNoRegion numberN1[1] for KR Regionstring
    responseFormatTypeResponse result formatNxmlxml, jsonString

    Request Header

    Refer to Cloud Hadoop API Guide

    Response

    Success

    {
        "getCloudHadoopImageProductListResponse": {
            "requestId": "<api-call-request-id>",
            "returnCode": "0",
            "returnMessage": "success",
            "productList": [
                {
                    "productCode": "<image-code>",
                    "productName": "<image-name>",
                    "productType": {
                        "code": "<image-type-code>",
                        "codeName": "<image-type-code-name>"
                    },
                    "productDescription": "<image-description>",
                    "infraResourceType": {
                        "code": "<resourcetype-code>",
                        "codeName": "<resourcetype-code-name>"
                    },
                    "cpuCount": <cpu-count>,
                    "memorySize": <memory-size>,
                    "baseBlockStorageSize": <base-block-storage-size>,
                    "platformType": {
                        "code": "<platform-type-code>",
                        "codeName": "<platform-type-code-name>"
                    },
                    "osInformation": "<os-information>",
                    "dbKindCode": "<hadoop-distribution-code>",
                    "addBlockStorageSize": <added-block-storage-size>
                }
            ],
            // ....
            "totalRows": <response-list-length>
        }
    }
    

    Authentication failed

    {
        "error": {
            "errorCode": "<return-code>",
            "message": "<return-message>"
        }
    }
    

    Bad parameter

    {
        "responseError": {
            "returnCode": "<return-code>",
            "returnMessage": "<return-message>"
        }
    }
    

    Examples

    Request Example

    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/getCloudHadoopImageProductList"
    

    Request Example

    {
        "getCloudHadoopImageProductListResponse": {
            "requestId": "cee5de1e-9756-4a95-bee8-3d78d49b53af",
            "returnCode": "0",
            "returnMessage": "success",
            "productList": [
                {
                    "productCode": "SPSWCHADPLINUX01",
                    "productName": "Cloud Hadoop 1.0",
                    "productType": {
                        "code": "LINUX",
                        "codeName": "Linux"
                    },
                    "productDescription": "CentOS 7.3 with Cloud Hadoop 1.0",
                    "infraResourceType": {
                        "code": "SW",
                        "codeName": "Software"
                    },
                    "cpuCount": 0,
                    "memorySize": 0,
                    "baseBlockStorageSize": 53687091200,
                    "platformType": {
                        "code": "LNX64",
                        "codeName": "Linux 64 Bit"
                    },
                    "osInformation": "CentOS 7.3 with Cloud Hadoop 1.0 (64-bit)",
                    "dbKindCode": "HDP",
                    "addBlockStorageSize": 0
                }
            ],
            "totalRows": 1
        }
    }
    

    Was this article helpful?

    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.