DRS授权分类
“√”表示支持,“x”表示暂不支持。
权限 |
对应API接口 |
授权项(Action) |
IAM项目(Project) |
企业项目(Enterprise Project) |
---|---|---|---|---|
批量创建任务 |
POST /v3/{project_id}/jobs/batch-creation |
drs:migrationJobs:create(创建实例需要在项目上配置 RDS ReadOnlyAccess、VPC FullAccess、SMN FullAccess权限。) |
√ |
√ |
批量结束和删除任务 |
DELETE /v3/{project_id}/jobs/batch-jobs |
drs:migrationJobs:delete(结束和删除实例需要在项目上配置 RDS ReadOnlyAccess、VPC FullAccess、SMN FullAccess权限。) |
√ |
√ |
批量测试连接 |
POST /v3/{project_id}/jobs/batch-connection |
drs:migrationJobs:connect(测试连接需要在项目上配置 VPC FullAccess权限。) |
√ |
√ |
批量数据库对象选择信息 |
PUT /v3/{project_id}/jobs/batch-select-objects |
drs:migrationJobs:select(对象选择信息需要在项目上配置 RDS FullAccess、DAS FullAccess) |
√ |
√ |
批量查询rpo和rto |
POST /v3/{project_id}/jobs/batch-rpo-and-rto |
drs:dataGuardJob:list |
√ |
√ |
批量主备倒换 |
POST /v3/{project_id}/jobs/batch-switchover |
drs:disasterRecoveryJob:switchover |
√ |
√ |
批量测试连接-集群模式 |
POST /v3/{project_id}/jobs/cluster/batch-connection |
drs:migrationJobs:connect(测试连接需要在项目上配置 VPC FullAccess权限。) |
√ |
√ |
批量预检查 |
POST /v3/{project_id}/jobs/batch-precheck |
drs:migrationJob:action |
√ |
√ |
批量查询预检查结果 |
POST /v3/{project_id}/jobs/batch-precheck-result |
drs:migrationJob:get |
√ |
√ |
批量设置任务限速 |
PUT /v3/{project_id}/jobs/batch-limit-speed |
drs:migrationJobs:update |
√ |
√ |
批量获取数据库参数 |
POST /v3/{project_id}/jobs/batch-get-params |
drs:databaseParameters:get |
√ |
√ |
批量续传/重试 |
POST /v3/{project_id}/jobs/batch-retry-task |
drs:migrationJob:action |
√ |
√ |
批量暂停任务 |
POST /v3/{project_id}/jobs/batch-starting |
drs:migrationJob:action |
√ |
√ |
批量修改任务 |
PUT /v3/{project_id}/jobs/batch-modification |
drs:migrationJob:modify |
√ |
√ |
批量修改源库/目标库密码 |
PUT /v3/{project_id}/jobs/batch-modify-pwd |
drs:migrationJobs:update |
√ |
√ |
批量设置definer |
POST /v3/{project_id}/jobs/batch-replace-definer |
drs:migrationJob:updateJobConfig |
√ |
√ |
批量创建对比任务 |
POST /v3/{project_id}/jobs/batch-create-compar |
drs:migrationCompareJob:create |
√ |
√ |
批量查询对比结果 |
POST /v3/{project_id}/jobs/batch-compare-result |
drs:CompareJob:getResult |
√ |
√ |
批量查询任务进度 |
POST /v3/{project_id}/jobs/batch-progress |
drs:migrationJobs:getProgress |
√ |
√ |
查询租户任务列表 |
POST /v3/{project_id}/jobs |
DRS ReadOnlyAccess |
√ |
√ |
查询容灾监控数据 |
POST /v3/{project_id}/jobs/disaster-recovery-monitoring-data |
drs:disasterRecoveryJob:get |
√ |
√ |
批量查询灾备初始化进度 |
POST /v3/{project_id}/jobs/batch-struct-process |
drs:disasterRecoveryJob:get |
√ |
√ |
批量查询灾备初始化对象详情 |
POST /v3/{project_id}/jobs/{type}/batch-struct-detail |
drs:disasterRecoveryJob:get |
√ |
√ |
批量更新迁移用户信息 |
PUT /v3/{project_id}/jobs/batch-update-user |
drs:migrationJob:modifyUserInfo |
√ |
√ |
修改数据库参数 |
POST /v1.0/{projectId}/jobs/{jobId}/params |
drs:dataBaseParams:modify(配置 RDS ReadOnlyAccess、VPC FullAccess、SMN FullAccess,DAS FullAccess权限。) |
√ |
√ |
批量数据加工 |
POST /v3/{project_id}/jobs/batch-transformation |
drs:migrationJob:action |
√ |
√ |
批量启动任务 |
POST /v3/{project_id}/jobs/batch-starting |
drs:migrationJob:action |
√ |
√ |
批量查询任务详情 |
POST /v3/{project_id}/jobs/batch-detail |
drs:migrationJob:get |
√ |
√ |
批量查询任务状态 |
POST /v3/{project_id}/jobs/batch-status |
drs:migrationJob:get |
√ |
√ |