Updated on 2022-12-07 GMT+08:00

DDS Actions

Table 1 DB instance management actions

Permissions

APIs

Action

IAM Project

Enterprise Project

Creating a DB instance

POST /v3/{project_id}/instances

dds:instance:create

vpc:vpcs:list

vpc:vpcs:get

vpc:subnets:get

vpc:securityGroups:get

vpc:ports:get

x

Querying DB instances

GET /v3/{project_id}/instances?id={id}&name={name}&mode={mode}&datastore_type={datastore_type}&vpc_id={vpc_id}&subnet_id={subnet_id}&offset={offset}&limit={limit}

dds:instance:list

x

Deleting a DB instance

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

dds:instance:deleteInstance

x

Restarting a DB instance

POST /v3/{project_id}/instances/{instance_id}/restart

dds:instance:reboot

x

Table 2 Backup and restoration

Permissions

APIs

Action

IAM Project

Enterprise Project

Creating a manual backup

POST /v3/{project_id}/backups

dds:instance:createManualBackup

x

Deleting a manual backup

DELETE /v3/{project_id}/backups/{backups_id}

dds:backup:delete

x

Querying the backup list

GET /v3/{project_id}/backups?instance_id={instance_id}&backup_id={backup_id}&backup_type={backup_type}&offset={offset}&limit={limit}&begin_time={begin_time}&end_time={end_time}&mode={mode}

dds:backup:list

x

Querying an automated backup policy

GET /v3/{project_id}/instances/{instance_id}/backups/policy

dds:instance:list

x

Setting an automated backup policy

PUT /v3/{project_id}/instances/{instance_id}/backups/policy

dds:instance:modifyBackupPolicy

x

Table 3 Specifications and storage

Permissions

APIs

Action

IAM Project

Enterprise Project

Scaling up storage space

POST /v3/{project_id}/instances/{instance_id}/enlarge-volume

dds:instance:extendVolume

x

Adding nodes for a cluster instance

POST /v3/{project_id}/instances/{instance_id}/enlarge

dds:instance:extendNode

vpc:vpcs:list

vpc:vpcs:get

vpc:subnets:get

vpc:securityGroups:get

vpc:ports:get

x

Modifying DB instance specifications

POST /v3/{project_id}/instances/{instance_id}/resize

dds:instance:modifySpec

x

The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.