更新时间:2022-02-22 GMT+08:00

文档数据库服务授权项说明

表1 实例管理

权限

对接API接口

授权项(Action)

IAM项目(Project)

企业项目(Enterprise Project)

创建实例

POST /v3/{project_id}/instances

dds:instance:create

vpc:vpcs:list

vpc:vpcs:get

vpc:subnets:get

vpc:securityGroups:get

vpc:ports:get

x

查询实例列表

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

删除实例

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

dds:instance:deleteInstance

x

重启实例

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

dds:instance:reboot

x

表2 备份与恢复

权限

对应API接口

授权项(Action)

IAM项目(Project)

企业项目(Enterprise Project)

创建手动备份

POST /v3/{project_id}/backups

dds:instance:createManualBackup

x

删除手动备份

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

dds:backup:delete

x

查询备份列表

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

查询自动备份策略

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

dds:instance:list

x

设置自动备份策略

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

dds:instance:modifyBackupPolicy

x

表3 规格存储

权限

对应API接口

授权项(Action)

IAM项目(Project)

企业项目(Enterprise Project)

扩容实例存储容量

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

dds:instance:extendVolume

x

扩容集群实例的节点数量

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

变更实例规格

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

dds:instance:modifySpec

x

“√”表示支持,“x”表示暂不支持。