Updated on 2023-09-21 GMT+08:00

API Overview

DDS provides extension APIs, allowing you to perform specific operations using APIs.

Table 1 API description

Type

Description

Querying the API Version

Query the API versions and a specified API version.

Querying Database Version Information

Obtain database version information about a specified instance type.

Querying Database Specifications

Query all DB instance specifications in a specified region.

Querying the Database Disk Type

Query the database disk type in the current region.

DB Instance Management

Create, restart, delete, and query instances, scale up storage, add instance nodes, change instance specifications, switch over primary and standby nodes, enable or disable SSL, change instance names, change database ports, change security groups, and bind or unbind an EIP, change the private network address of an instance, enable the shard/config IP addresses, query AZs to which an instance can be migrated, migrate a DB instance to another AZand configure cross-CIDR access for replica sets.

Connection Management

Query instance node sessions, terminate instance node sessions, and query the number of instance node connections.

Backup and Restoration

Create manual backups, delete manual backups, query backups, query the automated backup policy, set the automated backup policy, restore to a new DB instance, obtain the backup download link, query the restoration time range, obtain the list of databases that can be restored, obtain the list of database collections that can be restored, obtain the current DB instance, and restore a database or table to a specified point in time.

Parameter Configuration

Obtain parameter templates, create a parameter template, delete a parameter template, obtain details about a parameter template, modify a parameter template, apply a parameter template, obtain parameters of a specified DB instance, and modify parameters of a specified DB instance.

Log Information Queries

Query database slow logs, obtain the download link of slow logs, query database error logs, obtain the download link of error logs, set audit log policies, query audit log policies, obtain the audit logs, and obtain the download link of audit logs.

Tag Management

Manage tags, including querying resources by tag, adding and deleting a tag or tags, and querying resource tags and project tags.

Managing Databases and Users

Create a database user, create a database role, query database users and roles, change the database user password, query the cluster balancing settings, enable or disable cluster balancing, and set the activity time window of cluster balancing, delete database users, delete database roles, and check the database password.

Quota Management

This API is used to query the DDS resource quotas of a tenant, including the cluster instance quota, single node instance quota, and replica set instance quota.

Task Management

This API is used to obtain information about a task with a specified ID in the task center.