Database Backup Service (DBS) yedekleme planına dahil edilen nesneleri değiştirir.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:ModifyBackupObjects |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackupPlanId |
string |
Yes |
Yedekleme planının kimliği. |
dbs1h****usfa |
| BackupObjects |
string |
Yes |
JSON dizesi olarak belirtilen yedekleme nesneleri. Yapı aşağıdaki gibidir:
Not
SchemaName ve NewSchemaName yalnızca SQL Server için kullanılır. Diğer veritabanı motorları için veritabanı adlarını belirtmek amacıyla DBName ve NewDBName kullanın. |
[ { "DBName":"17xxx92xxxx374", "SchemaName":"gy9xnj8xxxxxx", "TableIncludes":[{ "TableName":"test1" }], "TableExcludes":[{ "TableName":"test2" }] } ] |
| ClientToken |
string |
No |
İsteğin idempotent olmasını sağlamak için kullanılan bir istemci belirteci. Bu, aynı isteğin birden çok kez gönderilmesini önler. |
ETnLKlblzczshOTUbOCzxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Döndürülen parametreler. |
||
| HttpStatusCode |
integer |
HTTP durum kodu. |
200 |
| RequestId |
string |
İstek kimliği. |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
| ErrCode |
string |
Hata kodu. |
InvalidParameter |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:
|
true |
| ErrMessage |
string |
Hata mesajı. |
The specified parameter %s value is not valid. |
| BackupPlanId |
string |
Yedekleme planının kimliği. |
dbs1h****usfa |
| NeedPrecheck |
boolean |
Değişikliğin bir ön kontrol tetikleyip tetiklemediğini gösterir. Bu parametre true olarak ayarlanmışsa, yedekleme planını başlatmak için StartBackupPlan işlemini çağırın. |
true |
Examples
Success response
JSON format
{
"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
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | Request.Forbidden | Have no Permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.