Available in VPC
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheManualBackupDetailList CLI: Support for Valkey and Redis DBMS
- getCloudRedisManualBackupDetailList CLI: Support for Redis DBMS
getCloudCacheManualBackupDetailList CLI
This section describes the request and response formats for the getCloudCacheManualBackupDetailList CLI.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code regionCode can be obtained 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 manual 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; |
| private String fileName; |
Examples
Call examples
ncloud vcache getCloudCacheManualBackupDetailList --regionCode KR --cloudCacheInstanceNo ****821
Response example
{
"getCloudCacheManualBackupDetailListResponse": {
"requestId": "e603a8ee-9308-457e-9754-5497c931f222",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"cloudCacheBackupDetailList": [
{
"startTime": "2022-05-18T14:10:28+0900",
"endTime": "2022-05-18T14:10:28+0900",
"backupSize": 302,
"dataStorageSize": 10737418240,
"fileName": "2022051*****"
}
]
}
}
<getCloudCacheManualBackupDetailListResponse>
<requestId>213c6297-42ab-4ac4-81fd-9852837c3105</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheBackupDetailList>
<cloudCacheBackupDetail>
<startTime>2022-05-16T16:25:07+0900</startTime>
<endTime>2022-05-16T16:25:07+0900</endTime>
<backupSize>302</backupSize>
<dataStorageSize>10737418240</dataStorageSize>
<fileName>2022051*****</fileName>
</cloudCacheBackupDetail>
</cloudCacheBackupDetailList>
</getCloudCacheManualBackupDetailListResponse>