CBR授权项分类
任务
权限 |
对应API接口 |
授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|
查询任务列表 |
GET /v3/{project_id}/operation-logs |
cbr:tasks:list |
√ |
√ |
查询单个任务 |
GET /v3/{project_id}/operation-logs/{operation_log_id} |
cbr:tasks:get |
√ |
√ |
可保护性
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|---|
查询可保护资源 |
GET /v3/{project_id}/protectables/{protectable_type}/instances |
cbr:vaults:listProtectables |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
查询指定可保护资源 |
GET /v3/{project_id}/protectables/{protectable_type}/instances/{instance_id} |
cbr:vaults:getProtectables |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
存储库
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|---|
设置存储库策略 |
POST /v3/{project_id}/vaults/{vault_id}/associatepolicy |
cbr:vaults:associatePolicy |
- |
√ |
√ |
查询指定存储库 |
GET /v3/{project_id}/vaults/{vault_id} |
cbr:vaults:get |
- |
√ |
√ |
修改存储库 |
PUT /v3/{project_id}/vaults/{vault_id} |
cbr:vaults:update |
- |
√ |
√ |
删除存储库 |
DELETE /v3/{project_id}/vaults/{vault_id} |
cbr:vaults:delete |
- |
√ |
√ |
移除资源 |
POST /v3/{project_id}/vaults/{vault_id}/removeresources |
cbr:vaults:removeResources |
- |
√ |
√ |
添加资源 |
POST /v3/{project_id}/vaults/{vault_id}/addresources |
cbr:vaults:addResources |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
查询存储库列表 |
GET /v3/{project_id}/vaults |
cbr:vaults:list |
- |
√ |
√ |
创建存储库 |
POST /v3/{project_id}/vaults |
cbr:vaults:create |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
解除存储库策略 |
POST /v3/{project_id}/vaults/{vault_id}/dissociatepolicy |
cbr:vaults:dissociatePolicy |
- |
√ |
√ |
还原点
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|---|
创建备份还原点 |
POST /v3/{project_id}/checkpoints |
cbr:vaults:backup |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
备份共享
权限 |
对应API接口 |
授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|
添加备份成员 |
POST /v3/{project_id}/backups/{backup_id}/members |
cbr:member:create |
√ |
√ |
更新备份成员状态 |
PUT /v3/{project_id}/backups/{backup_id}/members/{member_id} |
cbr:member:update |
√ |
√ |
获取备份成员详情 |
GET /v3/{project_id}/backups/{backup_id}/members/{member_id} |
cbr:member:get |
√ |
√ |
获取备份成员列表 |
GET /v3/{project_id}/backups/{backup_id}/members |
cbr:member:list |
√ |
√ |
删除指定的备份成员 |
DELETE /v3/{project_id}/backups/{backup_id}/members/{member_id} |
cbr:member:delete |
√ |
√ |
备份
权限 |
对应API接口 |
授权项 |
依赖的授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|---|
查询所有备份 |
GET /v3/{project_id}/backups |
cbr:backups:list |
- |
√ |
√ |
查询指定备份 |
GET /v3/{project_id}/backups/{backup_id} |
cbr:backups:get |
- |
√ |
√ |
删除备份 |
DELETE /v3/{project_id}/backups/{backup_id} |
cbr:backups:delete |
- |
√ |
√ |
同步备份 |
POST /v3/{project_id}/backups/sync |
cbr:backups:sync |
- |
√ |
√ |
备份恢复 |
POST /v3/{project_id}/backups/{backup_id}/restore |
cbr:backups:restore |
ecs:cloudServers:list evs:volumes:list |
√ |
√ |
策略
权限 |
对应API接口 |
授权项 |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|
查询策略列表 |
GET /v3/{project_id}/policies |
cbr:policies:list |
√ |
√ |
创建策略 |
POST /v3/{project_id}/policies |
cbr:policies:create |
√ |
√ |
查询单个策略 |
GET /v3/{project_id}/policies/{policy_id} |
cbr:policies:get |
√ |
√ |
修改策略 |
PUT /v3/{project_id}/policies/{policy_id} |
cbr:policies:update |
√ |
√ |
删除策略 |
DELETE /v3/{project_id}/policies/{policy_id} |
cbr:policies:delete |
√ |
√ |