getCloudRedisProductList
- Print
- PDF
getCloudRedisProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Get the list of Cloud DB for Redis server specification codes available.
Request
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
GET, POST | /getCloudRedisProductList |
Request headers
For headers common to Cloud DB for Redis APIs, see Cloud DB for Redis request headers.
Request parameter
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
regionCode | String | Optional | Region code of the Cloud DB for Redis instance to view
|
zoneCode | String | Optional | Filter by zone code
|
cloudRedisImageProductCode | String | Required | Filter by Cloud DB for Redis image product code
|
productCode | String | Optional | Filter by Cloud DB for Redis product code
|
exclusionProductCode | String | Optional | Filter by excluding Cloud DB for Redis product code
|
responseFormatType | String | Optional | Format of the response result
|
Request example
The following is a sample request.
curl --location --request GET 'https://ncloud.apigw.ntruss.com/vredis/v2/getCloudRedisProductList
?regionCode=KR
&cloudRedisImageProductCode=SW.VDBAS.VRDS.LNX64.CNTOS.0708.REDIS.7015.B050
&productCode=SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002
&exclusionProductCode=SVR.VRDS.STAND.C004.M003.NET.SSD.B050.G002'
--header 'x-ncp-apigw-timestamp: {Timestamp}'
--header 'x-ncp-iam-access-key: {Access Key}'
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
The following describes the response format.
Response body
See ProductList for the response body.
Response status codes
For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Response example
The following is a sample response.
- If
responseFormatType=json
{
"getCloudRedisProductListResponse": {
"totalRows": 1,
"productList": [
{
"productCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002",
"productName": "Memory 1.5GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "1.5 GB memory",
"infraResourceType": {
"code": "VRDS",
"codeName": "Cloud DB for Redis (VPC)"
},
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
}
],
"requestId": "cc5baf55-****-****-****-97e0cd863759",
"returnCode": "0",
"returnMessage": "success"
}
}
- If
responseFormatType=xml
(default)
<?xml version="1.0" encoding="UTF-8"?>
<getCloudRedisProductListResponse>
<requestId>cc5baf55-****-****-****-97e0cd863759</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</productCode>
<productName>Memory 1.5GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>1.5 GB memory</productDescription>
<infraResourceType>
<code>VRDS</code>
<codeName>Cloud DB for Redis (VPC)</codeName>
</infraResourceType>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
<osMemorySize>2147483648</osMemorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
</productList>
</getCloudRedisProductListResponse>
Was this article helpful?