Enables or disables the SQL Explorer feature for an AnalyticDB for PostgreSQL instance.
Operation description
-
Supported only for AnalyticDB for PostgreSQL instances in reserved storage mode.
-
Supported only for AnalyticDB for PostgreSQL instances in Serverless automatic scheduling mode.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:ModifySQLCollectorPolicy |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance. |
gp-bp12ga6v69h86**** |
| SQLCollectorStatus |
string |
Yes |
Whether to enable or disable SQL collection.
|
Enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
API-48109b5c-a157-44e3-9f54-eb27f02bdd15 |
Examples
Success response
JSON format
{
"RequestId": "API-48109b5c-a157-44e3-9f54-eb27f02bdd15"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.