Available in VPC
Overview
Get the Cloud DB for Cache config group list.
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 list will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
cloudRedisInstanceNo | No | String | - Cloud DB for Cache instance number to which the config group to be queried is applied cloudRedisInstanceNo can be obtained through the getCloudCacheInstanceList action. |
|
cloudRedisServiceName | No | String | - Cloud DB for Cache instance name to which the config group to be queried is applied cloudRedisServiceName can be obtained through the getCloudCacheInstanceList action. |
|
configGroupNo | No | String | - Config group number to query configGroupNo can be obtained through the getCloudCacheConfigGroupList action. |
|
configGroupName | No | String | - Config group name to query configGroupName can be obtained through the getCloudCacheConfigGroupList action. |
|
cloudRedisImageProductCode | No | String | - The Cloud Redis image product code applicable for the version of config group to be queried cloudRedisImageProductCode can be obtained through productCode of the getCloudCacheImageProductList action. |
|
cloudRedisModeCode | No | String | - Cloud DB for Cache configuration Cloud DB for Cache configuration to which the config group to be queried is applied CLUSTER, SIMPLE cloudRedisModeCode can be obtained through the getCloudCacheInstanceList 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 getCloudRedisConfigGroupList --regionCode KR --cloudRedisInstanceNo ****821 --cloudRedisServiceName ***test --configGroupNo ***9 --configGroupName test-****-config --cloudRedisImageProductCode SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050 --cloudRedisModeCode CLUSTER
Response
<getCloudRedisConfigGroupListResponse>
<requestId>96bceb85-b1b8-4c6c-bacb-7207a1890af8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudRedisConfigGroupList>
<cloudRedisConfigGroup>
<configGroupNo>**9</configGroupNo>
<configGroupName>exercise</configGroupName>
<configGroupDescription>practice</configGroupDescription>
<configGroupStatusName>running</configGroupStatusName>
<configGroupStatus>
<code>RUN</code>
<codeName>CONFIG GROUP Running State</codeName>
</configGroupStatus>
<cloudRedisVersion>4.0.14-cluster</cloudRedisVersion>
<createDate>2020-11-26T13:47:27+0900</createDate>
<modifyDate>2020-11-26T13:47:27+0900</modifyDate>
<cloudRedisInstanceNoList>
<cloudRedisInstanceNo>****821</cloudRedisInstanceNo>
</cloudRedisInstanceNoList>
</cloudRedisConfigGroup>
</cloudRedisConfigGroupList>
</getCloudRedisConfigGroupListResponse>