Modifies the retention policy of log backups for an Apsara PolarDB cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | ModifyLogBackupPolicy |
The operation that you want to perform. Set the value to ModifyBackupPolicy. |
DBClusterId | String | Yes | pc-**************** |
The ID of the cluster. |
LogBackupRetentionPeriod | String | No | 7 |
The retention period of the log data. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 345174B4-FAB3-412E-A326-BEDDA9****** |
The ID of the request. |
Examples
Sample request
http(s)://polardb.aliyuncs.com/? Action=ModifyLogBackupPolicy
&DBClusterId=pc-****************
&<Common request parameters>
Sample success responses
XML
format
<ModifyLogBackupPolicyResponse>
<RequestId>345174B4-FAB3-412E-A326-BEDDA9******</RequestId>
</ModifyLogBackupPolicyResponse>
JSON
format
{
"RequestId": "345174B4-FAB3-412E-A326-BEDDA9******"
}
Error codes
For a list of error codes, visit the API Error Center.