getCloudHadoopImageProductList
- Print
- PDF
getCloudHadoopImageProductList
- 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 image products.
Request
Request Parameters
Parameter | Description | Required | Default value | Available values | Data type |
---|---|---|---|---|---|
exclusionProductCode | Image product code to exclude | N | string | ||
productCode | Image product code to get | N | string | ||
regionNo | Region number | N | 1 | [1] for KR Region | string |
responseFormatType | Response result format | N | xml | xml, json | String |
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?