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.
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 | - Cloud DB for Cache version Version of the config group to create and configuration information of Cloud DB for Cache Versions such as 4.0.14-cluster, 4.0.14-simple, 5.0.14-cluster, and 5.0.14-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>