Menghapus set cadangan dari kluster PolarDB.
Deskripsi operasi
Sebelum memanggil operasi ini, pastikan kluster memenuhi persyaratan berikut:
Kluster berada dalam status Running.
Set cadangan berada dalam status Success.
Anda dapat memanggil operasi DescribeBackups untuk mengkueri status set cadangan.
Setelah Anda menghapus file set cadangan, storage space yang ditempati oleh file tersebut akan dilepas. Storage space yang dilepas lebih kecil daripada ukuran file karena Snapshot Anda berbagi beberapa blok data.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DeleteBackup |
delete |
*dbcluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster. |
pc-************** |
| BackupId |
string |
Yes |
ID cadangan. Jika Anda perlu menentukan multiple ID cadangan, pisahkan ID cadangan tersebut dengan koma (,). Catatan
Anda dapat memanggil operasi DescribeBackups untuk mengkueri ID cadangan. |
11111111 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
3CF4F9FE-BF77-4739-8D68-B8DF5D****** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3CF4F9FE-BF77-4739-8D68-B8DF5D******"
}
Respons error
JSONformat
{
"RequestId":"3CF4F9FE-BF77-4739-8D68-B8DF5D3BAD8B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidBackupSetID.NotFound | The specified parameter BackupId is not valid. | |
| 404 | InvalidDBClusterId.NotFound | The DBClusterId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.