Modifies the backup policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:SetBackupLocal |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The DRDS instance ID. |
drdshbgag23d13fds |
| LocalLogRetentionHours |
string |
No |
The number of hours for which log backups are retained locally. Valid values: 0 to 168 (7 × 24). A value of 0 indicates that log backups are not retained. Default value: 18. |
12 |
| LocalLogRetentionSpace |
string |
No |
The maximum space usage of binary logs, in percentage. Valid values: 0 to 50. This is a loop space. Default value: 30. |
30 |
| HighSpaceUsageProtection |
string |
No |
Specifies whether to unconditionally clean up binary logs when the instance storage usage is 90% or higher, or the remaining storage is less than 5 GB. Valid values:
|
80 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6F70CE62-5077-4B7B-95BC-4DAC45614DBE |
| Result |
string |
The result of the operation. |
success |
| Success |
boolean |
The result of the API call. |
true |
Examples
Success response
JSON format
{
"RequestId": "6F70CE62-5077-4B7B-95BC-4DAC45614DBE",
"Result": "success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.