getCloudHadoopProductList
- Print
- PDF
getCloudHadoopProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 products.
Request
Request Parameters
Parameter | Description | Required | Default value | Available values | Data type |
---|---|---|---|---|---|
exclusionProductCode | Product code to exclude | N | string | ||
cloudHadoopImageProductCode | Image product code to get | Y | string | ||
productCode | Product code to get | N | string | ||
regionNo | Region number | N | 1 | [1] for KR Region | string |
zoneNo | Zone number | N | 3 | [3] for KR-2 Zone | string |
responseFormatType | Response result format | N | xml | xml, json | String |
Request Header
Refer to Cloud Hadoop API Guide
Response
Success
{
"getCloudHadoopProductListResponse": {
"requestId": "<api-call-request-id>",
"returnCode": "0",
"returnMessage": "success",
"productList": [
{
"productCode": "<product-code>",
"productName": "<product-name>",
"productType": {
"code": "<product-type-code>",
"codeName": "<product-type-name>"
},
"productDescription": "<product-description>",
"infraResourceType": {
"code": "<infrastructure-resource-type-code>",
"codeName": "<infrastructure-resource-type-name>"
},
"cpuCount": <cpu-count>,
"memorySize": <memory-size>,
"baseBlockStorageSize": <base-block-storage-size>,
"osInformation": "<os-information>",
"diskType": {
"code": "<disk-type-code>",
"codeName": "<disk-type-code-name>"
},
"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/getCloudHadoopProductList"
Request Example
{
"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
}
}
Was this article helpful?