Available in VPC
Overview
Get the Cloud DB for Cache product code list.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code Determine the Region in which the Cloud DB for Cache image product code list will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| productCode | No | String | - Cloud DB for Cache image product code to query productCode can be obtained through the getCloudCacheImageProductList action. |
|
| exclusionProductCode | No | String | - Cloud DB for Cache image product code to exclude exclusionProductCode can be obtained through the getCloudCacheImageProductList action. |
|
| generationCode | No | String | - Generation code options: G2 | G3 |
|
| output | No | String | - Format type of the response result Options: xml | json Default: json |
Response
Response data type
- ProductList type
| ProductList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<Product> cloudRedisInstanceList = new ArrayList<>(); |
| Product |
|---|
| private String productCode; |
| private String productName; |
| private CommonCode productType; |
| private String productDescription; |
| private CommonCode infraResourceType; |
| private CommonCode infraResourceDetailType; |
| private Integer cpuCount; |
| private Long memorySize; |
| private Long osMemorySize; |
| private Long baseBlockStorageSize; |
| private CommonCode platformType; |
| private String osInformation; |
| private CommonCode diskType; |
| private String dbKindCode; |
| private Long addBlockStorageSize; |
| private String generationCode; |
Examples
Call
ncloud vredis getCloudRedisImageProductList --regionCode KR --productCode SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050
Response
<getCloudRedisImageProductListResponse>
<requestId>e55bbd29-8bb3-4624-a007-b853ed0cc639</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050</productCode>
<productName>CentOS 7.3 with Redis 4.0.2</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.3 with Redis 4.0.14</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.3 with Redis 4.0.14 (64-bit)</osInformation>
</product>
</productList>
</getCloudRedisImageProductListResponse>