Deletes snapshots of anti-ransomware backups in Security Center.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteBackupSnapshot |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RetainLatestSnapshot |
boolean |
No |
Specifies whether to retain the latest snapshot. Valid values:
|
true |
| BackupSnapshotList |
array<object> |
No |
The backup snapshots. |
|
|
object |
No |
The backup snapshot. |
||
| SnapshotId |
string |
Yes |
The ID of the snapshot to delete. Note
You can call the DescribeSnapshots operation to obtain this parameter. |
s-000f9p6r5trm6u4d**** |
| ClientId |
string |
Yes |
The ID of the backup client. Note
You can call the DescribeSnapshots operation to obtain this parameter. |
c-000a4h33w14ka8xa**** |
| VaultId |
string |
Yes |
The ID of the backup vault for the restoration task. Note
You can call the DescribeSnapshots operation to obtain this parameter. |
v-0004vhwcs2pmacfz**** |
| SourceType |
string |
Yes |
The type of the data source. Valid values:
|
ECS_FILE |
| InstanceId |
string |
Yes |
The ID of the server instance. |
i-j6cj8vyajp1fo4at**** |
| RegionId |
string |
Yes |
The region of the Security Center instance. Valid values:
|
cn-beijing |
| BackupRegionIdList |
array |
No |
The backup regions. |
|
|
string |
No |
The region. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
Examples
Success response
JSON format
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CannotDeleteLatestSnapshot | Can not delete latest snapshot. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.