Available in VPC
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheBackupDetailList CLI: Support for Valkey and Redis DBMS
- getCloudRedisBackupDetailList CLI: Support for Redis DBMS
getCloudCacheBackupDetailList CLI
This section describes the request and response formats for the getCloudCacheBackupDetailList 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 backup detailed list will be queried. You can obtain regionCode through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| cloudCacheInstanceNo | Yes | String | - Cloud DB for Cache instance number Determine the Cloud DB for Cache instance number where the backup details will be queried. cloudCacheInstanceNo 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
- CloudCacheBackupDetailList type
| CloudCacheBackupDetailList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<CloudCacheBackupDetail> cloudCacheInstanceList = new ArrayList<>(); |
| CloudCacheBackupDetail |
|---|
| private Date startTime; |
| private Date endTime; |
| private Long backupSize; |
| private Long dataStorageSize; |
Examples
Call examples
ncloud vcache getCloudCacheBackupDetailList --regionCode KR --cloudCacheInstanceNo ****821
Response example
<getCloudCacheBackupDetailListResponse>
<requestId>2e320a76-469e-4f28-81b0-a03ea6c8053b</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheBackupDetailList>
<cloudCacheBackupDetail>
<startTime>2021-05-12T16:00:00+0900</startTime>
<endTime>2021-05-12T16:00:00+0900</endTime>
<backupSize>116</backupSize>
<dataStorageSize>10737418240</dataStorageSize>
</cloudCacheBackupDetail>
</cloudCacheBackupDetailList>
</getCloudCacheBackupDetailListResponse>