Updated on 2024-12-04 GMT+08:00

DAS Actions

Function

API

Action

IAM Project

Enterprise Project

Querying API Versions

GET /das

No authorization required

Querying a Specified API Version

GET /das/{version}

No authorization required

Registering a Database User

POST /v3/{project_id}/instances/{instance_id}/db-users

das:*:*

Querying Database Users

GET /v3/{project_id}/instances/{instance_id}/db-users

das:*:*

Querying a Specified Database User

GET /v3/{project_id}/instances/{instance_id}/db-users/{db_user_id}

das:*:*

Modifying a Database User

PUT /v3/{project_id}/instances/{instance_id}/db-users/{db_user_id}

das:*:*

Deleting a Database User

DELETE /v3/{project_id}/instances/{instance_id}/db-users/{db_user_id}

das:*:*

Querying a SQL Execution Plan

GET /v3/{project_id}/instances/{instance_id}/sql/explain

das:*:*

Querying Instance Sessions

GET /v3/{project_id}/instances/{instance_id}/processes

das:*:*

Killing Sessions

DELETE /v3/{project_id}/instances/{instance_id}/process

das:*:*

Querying Metadata Locks

GET /v3/{project_id}/instances/{instance_id}/metadata-locks

das:*:*

Querying InnoDB Lock Waits

GET /v3/{project_id}/instances/{instance_id}/innodb-locks

das:*:*

Obtaining the Space Analysis Data

GET /v3/{project_id}/instances/{instance_id}/space-analysis

das:*:*

Creating a Space Analysis Task

POST /v3/{project_id}/instances/{instance_id}/space-analysis

das:*:*

Enabling or Disabling SQL Explorer and Slow Query Log

POST /v3/{project_id}/instances/{instance_id}/sql/switch

das:*:*

Querying Whether SQL Explorer and Slow Query Log Are Enabled

GET /v3/{project_id}/instances/{instance_id}/sql/switch

das:*:*

Exporting Slow Query Logs

GET /v3/{project_id}/instances/{instance_id}/slow-query-logs

das:*:*

Exporting SQL Explorer Data

GET /v3/{project_id}/instances/{instance_id}/sql-statements

das:*:*

Querying Whether SQL Statement Concurrency Control Is Enabled

GET /v3/{project_id}/instances/{instance_id}/sql-limit/switch

das:*:*

Enabling or Disabling SQL Statement Concurrency Control

POST /v3/{project_id}/instances/{instance_id}/sql-limit/switch

rds:databasePrivilege:grant

Querying Concurrency Control Rules of SQL Statements

GET /v3/{project_id}/instances/{instance_id}/sql-limit/rules

das:*:*

Creating a Concurrency Control Rule

POST /v3/{project_id}/instances/{instance_id}/sql-limit/rules

rds:databasePrivilege:grant

Deleting a Concurrency Control Rule

DELETE /v3/{project_id}/instances/{instance_id}/sql-limit/rules

rds:databasePrivilege:grant

Querying Concurrency Control Tasks

GET /v3/{project_id}/instances/{instance_id}/sql-limit/job

das:*:*

Exporting the TopSQL Template List

GET /v3/{project_id}/instances/{instance_id}/top-sql-templates

das:*:*

Exporting SQL Execution Time Distribution

GET /v3/{project_id}/instances/{instance_id}/top-sql-trend

das:*:*

Exporting the Slow SQL Template List

GET /v3/{project_id}/instances/{instance_id}/slow-sql-templates

das:*:*

Setting a Shared Link

POST /v3/{project_id}/connections/share

das:*:*

Deleting a Shared Link

DELETE /v3/{project_id}/connections/share

das:*:*

Executing a SQL Diagnosis

POST /v3/{project_id}/connections/{connection_id}/tuning/create-tuning

das:*:*

Obtain Diagnosis Results

GET /v3/{project_id}/connections/{connection_id}/tuning/{message_id}/show-tuning-result

das:*:*

  • √: supported; x: not supported
  • Some APIs have not been configured with actions. Add the das:*:* action or add the DAS FullAccess system policy to call APIs.