Modifies the log backup settings of an AnalyticDB for MySQL cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceGroupId | string | No | The resource group ID. | rg-acfm4f7oger**** |
DBClusterId | string | Yes | The ID of the AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster. | am-bp1xxxxxxxx47 |
EnableBackupLog | string | Yes | Specifies whether to enable log backup. Valid values:
| Enable |
LogBackupRetentionPeriod | string | No | The number of days for which to retain backup files. Valid values: 7 to 730. Note
The default value is 7.
| 30 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2023-08-01 | The Error code has changed. The request parameters of the API has changed | see changesets | ||||||||
|