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
Create a Cloud DB for Cache config group.
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- createCloudCacheConfigGroup CLI: Support for Valkey and Redis DBMS
- createCloudRedisConfigGroup CLI: Support for Redis DBMS
createCloudCacheConfigGroup CLI
This section describes the request and response formats for the createCloudCacheConfigGroup 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 config group will be created. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList query result. |
|
| cloudCacheVersion | Yes | String |
|
- Cloud DB for Cache version Version of the config group to create and configuration information of Cloud DB for Cache Available versions are as follows. Valkey: 7.2.11-cluster, 7.2.11-simple Redis: 7.2.11-cluster, 7.2.11-simple, 7.2.8-cluster, 7.2.8-simple, 7.2.6-cluster, 7.2.6-simple, 7.0.15-cluster, 7.0.15-simple, 7.0.13-cluster, 7.0.13-simple, 5.0.14-cluster, 5.0.14-simple, 4.0.14-cluster, 4.0.14-simple The configuration information of the config group must match CloudCacheModeCode to be created in order to create clusters. |
| configGroupName | Yes | String | It must only contain English letters (lowercase), numbers, and hyphens (-). The first character must be English, and the last character must be English or a number. Min: 3, Max: 15 |
- Name of the config group to create |
| configGroupDescription | No | String | Min:0, Max:255 | - Config group description Up to 255 characters can be entered. |
| cloudCacheDbmsCode | No | String | Cloud DB for Cache instance's DBMS code Options: Redis | Valkey Default: Redis |
|
| output | No | String | - Respond result's format type Options: xml | json Default: json |
Response
Response data type
- CloudCacheConfigGroupList type
| CloudCacheConfigGroupList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<CloudCacheConfigGroup> cloudCacheConfigGroupList = new ArrayList<>(); |
| CloudCacheConfigGroup |
|---|
| private String configGroupNo; |
| private String configGroupName; |
| private String configGroupDescription; |
| private String configGroupStatusName; |
| private CommonCode configGroupStatus; |
| private String cloudCacheVersion; |
| private String cloudCacheDbmsCode; |
| private Date createDate; |
| private Date modifyDate; |
| private CloudCacheInstanceNoList cloudCacheInstanceNoList; |
| CloudCacheInstanceNoList |
|---|
| private List<String> cloudCacheInstanceNoList = new ArrayList<>(); |
Examples
Call
ncloud vcache createCloudCacheConfigGroup --regionCode KR --cloudCacheVersion 7.2.11-simple --configGroupName ***test --cloudCacheDbmsCode Valkey --configGroupDescription description
Response
<createCloudCacheConfigGroup>
<requestId>3c47b66a-222d-4ab1-a995-48097920fa92</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheConfigGroupList>
<cloudCacheConfigGroup>
<configGroupNo>**9</configGroupNo>
<configGroupName>***test</configGroupName>
<configGroupDescription>description</configGroupDescription>
<configGroupStatusName>settingUp</configGroupStatusName>
<configGroupStatus>
<code>SETUP</code>
<codeName>CONFIG GROUP Setup State</codeName>
</configGroupStatus>
<cloudCacheVersion>7.2.11-simple</cloudCacheVersion>
<cloudCacheDbmsCode>Valkey</cloudCacheDbmsCode>
<createDate>2025-05-12T22:44:56+0900</createDate>
<modifyDate>2025-05-12T22:44:56+0900</modifyDate>
</cloudCacheConfigGroup>
</cloudCacheConfigGroupList>
</createCloudCacheConfigGroup>
createCloudRedisConfigGroup CLI
This section describes the request and response formats for the createCloudRedisConfigGroup CLI.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code Determine the Region in which a Cloud DB for Cache config group will be created. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| cloudRedisVersion | Yes | String | 4.0.14-cluster, 4.0.14-simple, 5.0.14-cluster, 5.0.14-simple, 7.0.13-cluster, 7.0.13-simple, 7.0.15-cluster, 7.0.15-simple, 7.2.6-cluster, 7.2.6-simple, 7.2.8-cluster, 7.2.8-simple, 7.2.11-cluster, 7.2.11-simple | - Cloud DB for Cache version Version of the config group to create and configuration information of Cloud DB for Cache 4.0.14-cluster, 4.0.14-simple, 5.0.14-cluster, 5.0.14-simple, 7.0.13-cluster, 7.0.13-simple, 7.0.15-cluster, 7.0.15-simple, 7.2.6-cluster, 7.2.6-simple, 7.2.8-cluster, 7.2.8-simple, 7.2.11-cluster, and 7.2.11-simple exist. The configuration information of the config group must match CloudRedisModeCode to be created in order to create Redis clusters. |
| configGroupName | Yes | String | It must only contain English letters (lowercase), numbers, and hyphens (-). It must start with an English letter and end with an English letter or a number. Min: 3, Max: 15 |
- Name of the config group to create |
| configGroupDescription | No | String | Min:0, Max:255 | - Description of the config group A maximum of 255 characters in length |
| output | No | String | - Format type of the response result Options: xml | json Default: json |
Response
Response data type
- CloudRedisConfigGroupList type
| CloudRedisConfigGroupList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<CloudRedisConfigGroup> cloudRedisConfigGroupList = new ArrayList<>(); |
| CloudRedisConfigGroup |
|---|
| private String configGroupNo; |
| private String configGroupName; |
| private String configGroupDescription; |
| private String configGroupStatusName; |
| private CommonCode configGroupStatus; |
| private String cloudRedisVersion; |
| private Date createDate; |
| private Date modifyDate; |
| private CloudRedisInstanceNoList cloudRedisInstanceNoList; |
| CloudRedisInstanceNoList |
|---|
| private List<String> cloudRedisInstanceNoList = new ArrayList<>(); |
Examples
Call
ncloud vredis createCloudRedisConfigGroup --regionCode KR --cloudRedisVersion 4.0.14-cluster --configGroupName ***test --configGroupDescription description
Response
<createCloudRedisConfigGroup>
<requestId>3c47b66a-222d-4ab1-a995-48097920fa92</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudRedisConfigGroupList>
<cloudRedisConfigGroup>
<configGroupNo>**9</configGroupNo>
<configGroupName>***test</configGroupName>
<configGroupDescription>description</configGroupDescription>
<configGroupStatusName>settingUp</configGroupStatusName>
<configGroupStatus>
<code>SETUP</code>
<codeName>CONFIG GROUP Setup State</codeName>
</configGroupStatus>
<createDate>2021-05-12T22:44:56+0900</createDate>
<modifyDate>2021-05-12T22:44:56+0900</modifyDate>
</cloudRedisConfigGroup>
</cloudRedisConfigGroupList>
</createCloudRedisConfigGroup>