Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribeDBClusterAuditLogCollector |
get |
*dbcluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the cluster. |
pc-*************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CollectorStatus |
string |
The status of SQL collector. Valid values:
|
Disabled |
| RequestId |
string |
The request ID. |
59011D2B-2A38-4207-A86C-72BC1F882D19 |
Examples
Success response
JSON format
{
"CollectorStatus": "Disabled",
"RequestId": "59011D2B-2A38-4207-A86C-72BC1F882D19"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBClusterId.Malformed | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist in the current record. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.