Checks whether the SQL Explorer feature is enabled for a target cluster.
Operation description
Note: This API operation is deprecated. Use Query the configurations of DAS Enterprise Edition instead.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribePolarSQLCollectorPolicy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The ID of the cluster. Note
Call the DescribeDBClusters operation to query the details of all clusters in your account. The details include the cluster ID. |
pc-**************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
3655211B-4D74-4E13-91E6-FF2AFE****** |
| SQLCollectorStatus |
string |
Indicates whether the SQL Explorer feature is enabled. Valid values:
|
Enable |
| DBClusterId |
string |
The ID of the cluster. |
pc-bp1s826a1up****** |
Examples
Success response
JSON format
{
"RequestId": "3655211B-4D74-4E13-91E6-FF2AFE******",
"SQLCollectorStatus": "Enable",
"DBClusterId": "pc-bp1s826a1up******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.