Menghapus snapshot cadangan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DeleteSnapshot |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Token |
string |
No |
Token yang digunakan untuk penghapusan. |
02WJDOE7 |
| VaultId |
string |
No |
ID repositori cadangan. |
v-********************* |
| ClientId |
string |
No |
ID klien. Untuk menghapus snapshot cadangan ECS File Backup, tentukan parameter ini atau InstanceId. |
c-********************* |
| SnapshotId |
string |
Yes |
ID snapshot cadangan. |
s-********************* |
| SourceType |
string |
No |
Jenis sumber cadangan. Nilai valid:
|
ECS_FILE |
| InstanceId |
string |
No |
ID Instance ECS. Untuk menghapus snapshot cadangan ECS File Backup, tentukan parameter ini atau ClientId. |
i-********************* |
Force
deprecated
|
boolean |
No |
Parameter ini tidak digunakan lagi. |
已弃用。 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The returned message. If the request is successful, "successful" is returned. If the request fails, an error message is returned. |
successful |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.