云硬盘快照
本章节仅列出了云硬盘v2接口的授权信息。对于v3接口,如果提供的功能与v2接口一样,则授权信息也一致。
例如:创建云硬盘时,v2接口为POST /v2/{project_id}/cloudvolumes,对应的v3接口为POST /v3/{project_id}/cloudvolumes,两个接口支持的授权信息一致。
授权项列表中,“√”表示支持,“×”表示暂不支持。
权限 |
对应API接口 |
授权项(Action) |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|
创建云硬盘快照(Cinder) |
POST /v2/{project_id}/snapshots |
evs:snapshots:create evs:volumes:get |
√ |
× |
创建云硬盘快照 |
POST /v2/{project_id}/cloudsnapshots |
evs:snapshots:create |
√ |
√ |
查询云硬盘快照列表(Cinder) |
GET /v2/{project_id}/snapshots |
evs:snapshots:list |
√ |
× |
查询云硬盘快照详细信息列表(Cinder) |
GET /v2/{project_id}/snapshots/detail |
evs:snapshots:list |
√ |
× |
查询云硬盘快照详细信息列表 |
GET /v2/{project_id}/cloudsnapshots/detail |
evs:snapshots:list |
√ |
√ |
更新云硬盘快照(Cinder) |
PUT /v2/{project_id}/snapshots/{snapshot_id} |
evs:snapshots:update evs:snapshots:get |
√ |
× |
更新云硬盘快照 |
PUT /v2/{project_id}/cloudsnapshots/{snapshot_id} |
evs:snapshots:update |
√ |
√ |
查询单个云硬盘快照详细信息(Cinder) |
GET /v2/{project_id}/snapshots/{snapshot_id} |
evs:snapshots:get |
√ |
× |
查询单个云硬盘快照详细信息 |
GET /v2/{project_id}/cloudsnapshots/{snapshot_id} |
evs:snapshots:get |
√ |
√ |
删除云硬盘快照(Cinder) |
DELETE /v2/{project_id}/snapshots/{snapshot_id} |
evs:snapshots:delete evs:snapshots:get evs:volumes:get |
√ |
× |
删除云硬盘快照 |
DELETE /v2/{project_id}/cloudsnapshots/{snapshot_id} |
evs:snapshots:delete |
√ |
√ |
回滚快照到云硬盘 |
POST /v2/{project_id}/cloudsnapshots/{snapshot_id}/rollback |
evs:snapshots:rollback |
√ |
√ |
回滚快照到云硬盘 |
POST /v2/{project_id}/os-vendor-snapshots/{snapshot_id}/rollback |
evs:snapshots:rollback evs:snapshots:get evs:volumes:get |
√ |
× |
添加云硬盘快照的元数据(Cinder) |
POST /v2/{project_id}/snapshots/{snapshot_id}/metadata |
evs:snapshots:update evs:snapshots:get |
√ |
× |
查询云硬盘快照的元数据(Cinder) |
GET /v2/{project_id}/snapshots/{snapshot_id}/metadata |
evs:snapshots:get |
√ |
× |
更新云硬盘快照的单个元数据(Cinder) |
PUT /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key} |
evs:snapshots:update evs:snapshots:get |
√ |
× |
更新云硬盘快照的元数据(Cinder) |
PUT /v2/{project_id}/snapshots/{snapshot_id}/metadata |
evs:snapshots:update evs:snapshots:get |
√ |
× |
查询云硬盘快照的单个元数据(Cinder) |
GET /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key} |
evs:snapshots:get |
√ |
× |
删除云硬盘快照的单个元数据(Cinder) |
DELETE /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key} |
evs:snapshots:delete evs:snapshots:get |
√ |
× |