getCloudHadoopProductList
- 印刷する
- PDF
getCloudHadoopProductList
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
使用可能なCloudHadoop商品リストを照会します。
リクエスト
リクエストパラメータ
API Parameter Name | Parameter名 | 必須 | Default Value | Available Values | Data Type |
---|---|---|---|---|---|
exclusionProductCode | 除外する商品コード | N | string | ||
cloudHadoopImageProductCode | 照会するイメージ商品コード | Y | string | ||
productCode | 照会する商品コード | N | string | ||
regionNo | リージョン番号 | N | 1 | [1] for KR Region | string |
zoneNo | ゾーン番号 | N | 3 | [3] for KR-2 Zone | string |
responseFormatType | responseの結果format設定 | N | xml | xml, json | String |
リクエストヘッダ
レスポンス
Success
{
"getCloudHadoopProductListResponse": {
"requestId": "<api-call-request-id>",
"returnCode": "0",
"returnMessage": "success",
"productList": [
{
"productCode": "<product-コード>",
"productName": "<product-名称>",
"productType": {
"code": "<product-タイプ-コード>",
"codeName": "<product-タイプ-名称>"
},
"productDescription": "<product-説明>",
"infraResourceType": {
"code": "<インフラ-リソース-タイプ-コード>",
"codeName": "<インフラ-リソース-タイプ-名称>"
},
"cpuCount": <cpu-個数>,
"memorySize": <メモリ-サイズ>,
"baseBlockStorageSize": <基本-ブロック-ストレージ-サイズ>,
"osInformation": "<os-情報>",
"diskType": {
"code": "<disk-タイプ-コード>",
"codeName": "<disk-タイプ-コード-名称>"
},
"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/getCloudHadoopProductList"
レスポンス例示
{
"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
}
}
この記事は役に立ちましたか?