云硬盘Actions
授权项列表中,“√”表示支持,“×”表示暂不支持。
权限 |
对应API接口 |
授权项(Action) |
IAM项目 (Project) |
企业项目 (Enterprise Project) |
---|---|---|---|---|
扩容云硬盘(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-extend" |
evs:volumes:extend evs:volumes:get |
√ |
× |
将云硬盘导出为镜像(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-volume_upload_image" |
evs:volumes:uploadImage |
√ |
× |
挂载云硬盘(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-attach" |
evs:volumes:attach evs:volumes:get |
√ |
× |
卸载云硬盘(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-detach" |
evs:volumes:detach evs:volumes:get |
√ |
× |
保留云硬盘(OpenStack Cinder ) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-reserve" |
evs:volumes:attach |
√ |
× |
取消保留云硬盘(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-unreserve" |
evs:volumes:attach |
√ |
× |
设置云硬盘启动盘标识(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-set_bootable" |
evs:volumes:update |
√ |
× |
设置云硬盘只读标识(OpenStack Cinder) |
POST /v2/{project_id}/volumes/{volume_id}/action action="os-update_readonly_flag" |
evs:volumes:update |
√ |
× |