createCloudRedisConfigGroup
- Print
- PDF
createCloudRedisConfigGroup
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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.
Can be used in a VPC environment.
Overview
Create a Cloud DB for Redis Config group.
Request
Request parameters
Parameter Name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region in which the Cloud DB for Redis config group will be created. You can obtain the regionCode 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 Redis version Version of the config group to be created and configuration information of Cloud DB for Redis. 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 with the 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 be created |
configGroupDescription | No | String | Min:0, Max:255 | Description of the config group A maximum of 255 characters in length |
output | No | String | Format type for the response results 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<>(); |
Example
Examples of requests
ncloud vredis createCloudRedisConfigGroup --regionCode KR --cloudRedisVersion 4.0.14-cluster --configGroupName ***test --configGroupDescription description
Examples of responses
<createCloudRedisConfigGroupResponse>
<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>
</createCloudRedisConfigGroupResponse>
Was this article helpful?