更新时间:2023-10-23 GMT+08:00

GaussDB(for MySQL)授权分类

表1 授权列表

权限

对应API接口

授权项(Action)

IAM项目(Project)

企业项目(Enterprise Project)

查询资源配额

GET /mysql/v3/{project_id}/quotas

gaussdb:instance:list

设置资源配额

POST /mysql/v3/{project_id}/quotas

gaussdb:quota:modify

修改资源配额

PUT /mysql/v3/{project_id}/quotas

gaussdb:quota:modify

查询数据库引擎版本

GET

/mysql/v3/{project_id}/datastores/{database_name}

gaussdb:instance:list

查询数据库规格

GET

/mysql/v3/{project_id}/flavors/{database}?version_name={version_name}&spec_code={spec_code}

gaussdb:instance:list

创建实例

POST

/mysql/v3/{projectId}/instances

gaussdb:instance:create

查询实例列表

GET

/mysql/v3/{projectId}/instances

gaussdb:instance:list

查询实例详细信息

GET

/mysql/v3/{project_id}/instances/{instance_id}

gaussdb:instance:list

删除实例

DELETE

/mysql/v3/{project_id}/instances/{instance_id}

gaussdb:instance:delete

查询参数模板

GET

/mysql/v3/{project_id}/configurations

gaussdb:param:list

获取任务信息

GET

/mysql/v3/{projectId}/jobs

gaussdb:instance:list

新增只读节点

POST

/mysql/v3/{project_id}/instances/{instance_id}/nodes/enlarge

gaussdb:instance:create

删除只读节点

DELETE

/mysql/v3/{project_id}/instances/{instance_id}/nodes/{node_id}

gaussdb:instance:delete

扩容包周期实例磁盘容量

POST

/mysql/v3/{project_id}/instances/{instance_id}/volume/extend

gaussdb:instance:modifySpec

修改实例名称

PUT

/mysql/v3/{project_id}/instances/{instance_id}/name

gaussdb:instance:modify

重置数据库密码

POST

/mysql/v3/{project_id}/instances/{instance_id}/password

gaussdb:instance:modify

变更数据库实例的规格

POST

/mysql/v3/{project_id}/instances/{instance_id}/action

gaussdb:instance:modifySpec

创建手动备份

POST

/mysql/v3/{project_id}/backups/create

gaussdb:backup:create

查询备份列表

GET

/mysql/v3/{project_id}/backups

gaussdb:backup:list

查询自动备份策略

GET

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

gaussdb:backup:list

修改自动备份策略

PUT

/mysql/v3/{project_id}/instances/{instance_id}/backups/policy/update

gaussdb:instance:modifyBackupPolicy