MENU
      getCloudHadoopImageProductList
        • PDF

        getCloudHadoopImageProductList

        • PDF

        Article summary

        Available in VPC

        Get cluster images available for use in Cloud Hadoop.

        Request

        This section describes the request format. The method and URI are as follows:

        MethodURI
        GET | POST/vhadoop/v2/getCloudHadoopImageProductList
        Note

        This guide is based on the GET method. POST method call tests can be performed through Swagger in the API Gateway service of the NAVER Cloud Platform console.

        Request headers

        For information about the headers common to all Cloud Hadoop APIs, see Cloud Hadoop request headers.

        Request query parameters

        You can use the following query parameters with your request:

        FieldTypeRequiredDescription
        regionCodeStringOptionalRegion code
        productCodeStringOptionalFilter by cluster image code.
        exclusionProductCodeStringOptionalFiltering by excluding cluster image codes.
        responseFormatTypeStringOptionalFormat of the response data
        • xml (default) | json

        Request example

        The request example is as follows:

        curl --location --request GET 'https://ncloud.apigw.ntruss.com/vhadoop/v2/getCloudHadoopImageProductList?regionCode=KR&productCode=SW.VCHDP.LNX64.CNTOS.0708.HDP.13.B050&responseFormatType=json' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Shell

        Response

        This section describes the response format.

        Response body

        The response body includes the following data:

        FieldTypeRequiredDescription
        getCloudHadoopImageProductListResponseObject-Response result
        getCloudHadoopImageProductListResponse.requestIdString-ID for the request
        • UUID format
        getCloudHadoopImageProductListResponse.returnCodeString-Response code
        getCloudHadoopImageProductListResponse.returnMessageString-Response message

        Response status codes

        For information about the HTTP status codes common common to all Cloud Hadoop APIs, see Cloud Hadoop response status codes.

        Response example

        The response example is as follows:

        {
            "getCloudHadoopImageProductListResponse": {
                "totalRows": 1,
                "productList": [
                    {
                        "productCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.13.B050",
                        "productName": "Cloud Hadoop 1.3",
                        "productType": {
                            "code": "LINUX",
                            "codeName": "Linux"
                        },
                        "productDescription": "CentOS 7.8 with Cloud Hadoop 1.3",
                        "infraResourceType": {
                            "code": "SW",
                            "codeName": "Software"
                        },
                        "baseBlockStorageSize": 53687091200,
                        "platformType": {
                            "code": "LNX64",
                            "codeName": "Linux 64 Bit"
                        },
                        "osInformation": "CentOS 7.8 with Cloud Hadoop 1.3 (64-bit)",
                        "generationCode": "G2"
                    }
                ],
                "requestId": "56e3b947-****-****-****-93f758d15758",
                "returnCode": "0",
                "returnMessage": "success"
            }
        }
        JSON

        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.