Enables the advanced backup policy for a PolarDB instance.
Operation description
Supported engine
PolarDB for MySQL
This API operation is currently available only to specific customers. To apply for access, join the DBS customer consultation DingTalk group (group ID: 35585947).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dbs:CreateAdvancedPolicy |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionCode |
string |
No |
The region where the backup set is located. |
cn-shanghai |
| InstanceName |
string |
No |
The PolarDB instance ID. |
pc-2ze3nrr64c5**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1EFBAC73-4A72-5AD0-BE27-932491FCB848 |
| Message |
string |
The returned message. |
instanceName can not be empty. |
| Data |
boolean |
Indicates whether the advanced backup policy takes effect. Valid values:
|
true |
| ErrMessage |
string |
The error message. |
The specified parameter %s value is not valid. |
| Code |
string |
The status code. |
Success |
| Success |
string |
Indicates whether the operation is successful. Valid values:
|
true |
| ErrCode |
string |
The error code. |
Success |
Examples
Success response
JSON format
{
"RequestId": "1EFBAC73-4A72-5AD0-BE27-932491FCB848",
"Message": "instanceName can not be empty.",
"Data": true,
"ErrMessage": "The specified parameter %s value is not valid. ",
"Code": "Success",
"Success": "true",
"ErrCode": "Success"
}
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.