getCloudHadoopImageProductList
    • PDF

    getCloudHadoopImageProductList

    • PDF

    Article Summary

    개요

    사용 가능한 CloudHadoop 이미지 상품 리스트를 조회합니다.

    요청

    요청 파라미터

    API Parameter NameParameter 명필수 여부Default ValueAvailable ValuesData Type
    exclusionProductCode제외할 이미지 상품코드Nstring
    productCode조회할 이미지 상품코드Nstring
    regionNo리전 번호N1[1] for KR Regionstring
    responseFormatTyperesponse의 결과 format 설정Nxmlxml, jsonString

    요청 헤더

    공통 가이드 참조

    응답

    Success

    {
        "getCloudHadoopImageProductListResponse": {
            "requestId": "<api-call-request-id>",
            "returnCode": "0",
            "returnMessage": "success",
            "productList": [
                {
                    "productCode": "<이미지-코드>",
                    "productName": "<이미지-이름>",
                    "productType": {
                        "code": "<이미지-타입-코드>",
                        "codeName": "<이미지-타입-코드-이름>"
                    },
                    "productDescription": "<이미지-설명>",
                    "infraResourceType": {
                        "code": "<리소스타입-코드>",
                        "codeName": "<리소스타입-코드-이름>"
                    },
                    "cpuCount": <cpu-개수>,
                    "memorySize": <메모리-사이즈>,
                    "baseBlockStorageSize": <기본-블록-스토리지-사이즈>,
                    "platformType": {
                        "code": "<플랫폼-타입-코드>",
                        "codeName": "<플랫폼-타입-코드-이름>"
                    },
                    "osInformation": "<os-정보>",
                    "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/getCloudHadoopImageProductList"
    

    응답 예시

    {
        "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
        }
    }
    

    이 문서가 도움이 되었습니까?

    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.