Available in VPC
Overview
Get the list of available Cloud DB for Cache server spec codes.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Determine the Region in which the Cloud DB for Cache product code list will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
zoneCode | No | String | - Zone code Determine the zone in which the Cloud DB for Cache product code list will be queried. zoneCode can be obtained through the getZoneList action. |
|
cloudRedisImageProductCode | Yes | String | - Cloud DB for Cache image product code Get the list of available server spec products in the Cloud DB for Cache image product. cloudRedisImageProductCode can be obtained through the getCloudCacheImageProductList action. |
|
productCode | No | String | - Cloud DB for Cache product code to query productCode can be obtained through the getCloudCacheProductList action. |
|
exclusionProductCode | No | String | - Cloud DB for Cache product code to exclude exclusionProductCode can be obtained through the getCloudCacheProductList action. |
|
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 getCloudRedisProductList --regionCode KR --cloudRedisImageProductCode SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050 --productCode SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002 --exclusionProductCode SVR.VRDS.STAND.C004.M003.NET.SSD.B050.G002
Response
<getCloudRedisProductListResponse>
<requestId>8a1172bf-54da-40e6-a7af-19ee8c41d420</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 Cache (VPC)</codeName>
</infraResourceType>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
<osMemorySize>2147483648</osMemorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
</productList>
</getCloudRedisProductListResponse>