The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in VPC
Overview
Get the Cloud DB for Cache product code list.
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheImageProductList CLI: Support for Valkey and Redis DBMS
- getCloudRedisImageProductList CLI: Support for Redis DBMS
getCloudCacheImageProductList CLI
This section describes the request and response formats for the getCloudCacheImageProductList CLI.
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> cloudCacheInstanceList = 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 vcache getCloudCacheImageProductList --regionCode KR --productCode SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050 --generationCode G2 --exclusionProductCode SW.VRDS.OS.LNX64.ROCKY.08.VALKY.B050.G003
Response
{
"getCloudCacheImageProductListResponse": {
"totalRows": 1,
"productList": [
{
"productCode": "SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050",
"productName": "Valkey",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Rocky with Valkey",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky with Valkey (64-bit)",
"generationCode": "G2",
"engineVersionCode": "7.2.11"
}
],
"requestId": "8a504797-c1bb-4b9a-85a6-31ceb0ed47bc",
"returnCode": "0",
"returnMessage": "success"
}
}
<getCloudCacheImageProductListResponse>
<requestId>5fc61ff3-c498-4a0b-b0e1-6e595de205c9</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050</productCode>
<productName>Valkey</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>Rocky with Valkey</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky with Valkey (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>7.2.11</engineVersionCode>
</product>
</productList>
</getCloudCacheImageProductListResponse>
getCloudRedisImageProductList CLI
This section describes the request and response formats for the getCloudRedisImageProductList CLI.
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.VRDS.OS.LNX64.ROCKY.08.REDIS.B050.G003
Response
{
"getCloudRedisImageProductListResponse": {
"totalRows": 1,
"productList": [
{
"productCode": "SW.VRDS.OS.LNX64.ROCKY.08.REDIS.B050.G003",
"productName": "Redis",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Rocky 8 with Redis",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky 8 with Redis (64-bit)",
"generationCode": "G3",
"engineVersionCode": "7.2.11"
}
],
"requestId": "e278000b-b616-4062-9fe0-42675987d31e",
"returnCode": "0",
"returnMessage": "success"
}
}
<getCloudRedisImageProductListResponse>
<requestId>184c1361-2459-4205-bfd1-d30af5d60c0d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<productList>
<product>
<productCode>SW.VRDS.OS.LNX64.ROCKY.08.REDIS.B050.G003</productCode>
<productName>Redis</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>Rocky 8 with Redis</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky 8 with Redis (64-bit)</osInformation>
<generationCode>G3</generationCode>
<engineVersionCode>7.2.11</engineVersionCode>
</product>
</productList>
</getCloudRedisImageProductListResponse>