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
Delete a Cloud DB for Cache config group.
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- deleteCloudCacheConfigGroup CLI: Support for Valkey and Redis DBMS
- deleteCloudRedisConfigGroup CLI: Support for Redis DBMS
deleteCloudCacheConfigGroup CLI
This section describes the request and response formats for the deleteCloudCacheConfigGroup 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 deleted. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| configGroupNo | Yes | String | - Config group number to delete configGroupNo can be obtained through the getCloudCacheConfigGroupList action. |
|
| output | No | String | - Format type of the response result 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 deleteCloudCacheConfigGroup --regionCode KR --configGroupNo **9
Response
<deleteCloudCacheConfigGroupResponse>
<requestId>0a6dd140-5d12-4139-aed6-5930b35fcab4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheConfigGroupList>
<cloudCacheConfigGroup>
<configGroupNo>**9</configGroupNo>
<configGroupName>***test</configGroupName>
<configGroupDescription>description</configGroupDescription>
<configGroupStatusName>deleting</configGroupStatusName>
<configGroupStatus>
<code>DELETING</code>
<codeName>CONFIG GROUP Deleting State</codeName>
</configGroupStatus>
<cloudCacheVersion>7.2.11-simple</cloudCacheVersion>
<cloudCacheDbmsCode>Valkey</cloudCacheDbmsCode>
<createDate>2021-05-12T22:44:56+0900</createDate>
<modifyDate>2021-05-12T22:49:12+0900</modifyDate>
</cloudCacheConfigGroup>
</cloudCacheConfigGroupList>
</deleteCloudCacheConfigGroupResponse>
deleteCloudRedisConfigGroup CLI
This section describes the request and response formats for the deleteCloudRedisConfigGroup 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 deleted. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| configGroupNo | Yes | String | - Config group number to delete configGroupNo can be obtained through the getCloudCacheConfigGroupList action. |
|
| 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 deleteCloudRedisConfigGroup --regionCode KR --configGroupNo **9
Response
<deleteCloudRedisConfigGroupResponse>
<requestId>0a6dd140-5d12-4139-aed6-5930b35fcab4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudRedisConfigGroupList>
<cloudRedisConfigGroup>
<configGroupNo>**9</configGroupNo>
<configGroupName>***test</configGroupName>
<configGroupDescription>description</configGroupDescription>
<configGroupStatusName>deleting</configGroupStatusName>
<configGroupStatus>
<code>DELETING</code>
<codeName>CONFIG GROUP Deleting State</codeName>
</configGroupStatus>
<cloudRedisVersion>4.0.14-cluster</cloudRedisVersion>
<createDate>2021-05-12T22:44:56+0900</createDate>
<modifyDate>2021-05-12T22:49:12+0900</modifyDate>
</cloudRedisConfigGroup>
</cloudRedisConfigGroupList>
</deleteCloudRedisConfigGroupResponse>