Queries a list of backups for Compute Nest service instances.
Operation description
Prerequisites
Ensure that the service provider enabled the upgrade and downgrade feature and configured the related parameters when the service was created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenest:ListBackups |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
The number of entries per page. |
20 |
| NextToken |
string |
No |
The token that is used to start the next query. |
AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0= |
| Filter |
array<object> |
No |
The filter. |
|
|
object |
No |
The filter. |
||
| Value |
array |
No |
The filter values. |
|
|
string |
No |
A filter value. |
si-xxx |
|
| Name |
string |
No |
The name of the filter. You can query by one or more filter names. Valid values:
|
ServiceInstanceId |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| TotalCount |
integer |
The total number of entries that meet the query conditions. |
1 |
| RequestId |
string |
The request ID. |
BB58FE53-ED8F-5D12-9746-CD3A5F463D95 |
| NextToken |
string |
The token that is used to retrieve the next page of results. If this parameter is empty, all results have been returned. |
AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0= |
| MaxResults |
integer |
The maximum number of entries returned on the current page. |
100 |
| Backups |
array<object> |
The backups. |
|
|
object |
The details of a backup. |
||
| BackupId |
string |
The backup ID. |
backup-4e13aa8ca6a34150addd |
| ServiceInstanceId |
string |
The service instance ID. |
si-7b6138dfce1e4c41ab71 |
| StartTime |
string |
The time when the backup started. |
2025-06-30T16:00:00Z |
| EndTime |
string |
The time when the backup ended. |
2024-08-15T02:24:00Z |
| Status |
string |
The status.
|
Creating |
| Description |
string |
The description of the backup. |
No description |
| BackupMode |
string |
The backup mode. The return value is:
|
Manual |
| RetentionDays |
integer |
The retention period in days. Backups are deleted after the retention period expires. By default, this parameter is empty, which means that the backups do not expire. |
1 |
| StatusDetail |
string |
The details of the status. |
Disk i-xxxx backup failed, error message: error |
| ModifiedTime |
string |
The time when the backup was last updated. |
2024-09-03T19:54:38+08:00 |
| CreateTime |
string |
The time when the backup was created. |
2024-09-03T19:54:38+08:00 |
Examples
Success response
JSON format
{
"TotalCount": 1,
"RequestId": "BB58FE53-ED8F-5D12-9746-CD3A5F463D95",
"NextToken": "AAAAAc3HCuYhJi/wvpk4xOr0VLYoaeZA6xVdkCrmG9EmGshtmECUGpq9Qm7x5vQkpz9NXH0XzUc9t4Kxaf3UtuPY4a0=",
"MaxResults": 100,
"Backups": [
{
"BackupId": "backup-4e13aa8ca6a34150addd",
"ServiceInstanceId": "si-7b6138dfce1e4c41ab71",
"StartTime": "2025-06-30T16:00:00Z",
"EndTime": "2024-08-15T02:24:00Z",
"Status": "Creating",
"Description": "No description",
"BackupMode": "Manual",
"RetentionDays": 1,
"StatusDetail": "Disk i-xxxx backup failed, error message: error\t",
"ModifiedTime": "2024-09-03T19:54:38+08:00",
"CreateTime": "2024-09-03T19:54:38+08:00"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.