Memodifikasi objek backup dalam rencana backup layanan Database Backup Service (DBS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:ModifyBackupObjects |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
ID dari backup plan. |
dbs1h****usfa |
| BackupObjects |
string |
Yes |
Objek backup, ditentukan sebagai string JSON. Formatnya sebagai berikut:
Catatan
|
[ { "DBName":"17xxx92xxxx374", "SchemaName":"gy9xnj8xxxxxx", "TableIncludes":[{ "TableName":"test1" }], "TableExcludes":[{ "TableName":"test2" }] } ] |
| ClientToken |
string |
No |
Token klien untuk memastikan idempotensi permintaan. Ini mencegah permintaan yang sama diajukan berulang kali. |
ETnLKlblzczshOTUbOCzxxxxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Detail parameter yang dikembalikan. |
||
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| RequestId |
string |
ID permintaan. |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
| ErrCode |
string |
Kode kesalahan. |
InvalidParameter |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai kembali adalah sebagai berikut:
|
true |
| ErrMessage |
string |
Pesan kesalahan. |
The specified parameter %s value is not valid. |
| BackupPlanId |
string |
ID dari backup plan. |
dbs1h****usfa |
| NeedPrecheck |
boolean |
Menunjukkan apakah modifikasi memicu Pemeriksaan Awal. Jika nilainya true, panggil operasi StartBackupPlan untuk memulai backup plan. |
true |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"ErrCode": "InvalidParameter",
"Success": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"BackupPlanId": "dbs1h****usfa",
"NeedPrecheck": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.