更新时间:2022-08-08 GMT+08:00

API授权项列表

授权项列表中,“√”表示支持,“×”表示暂不支持。

API版本信息查询

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

查询接口版本信息列表(OpenStack Cinder)

GET /

×

查询接口的版本信息(OpenStack Cinder)

GET /{api_version}

×

云硬盘

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

创建云硬盘

POST /v2/{project_id}/cloudvolumes

evs:volumes:create

创建云硬盘(OpenStack Cinder)

POST /v2/{project_id}/volumes

  • 创空白云硬盘

    evs:volumes:create

    evs:volumes:get

  • 通过镜像创建云硬盘

    evs:volumes:create

    ims:images:get

    evs:volumes:get

  • 通过快照创建云硬盘

    evs:volumes:create

    evs:snapshots:get

    evs:volumes:get

×

扩容云硬盘

POST /v2/{project_id}/cloudvolumes/{volume_id}/action

evs:volumes:extend

查询云硬盘列表

GET /v2/{project_id}/cloudvolumes

evs:volumes:list

×

查询云硬盘列表(OpenStack Cinder)

GET /v2/{project_id}/volumes

evs:volumes:list

×

查询所有云硬盘详情

GET /v2/{project_id}/cloudvolumes/detail

evs:volumes:list

查询所有云硬盘详情

GET /v2/{project_id}/os-vendor-volumes/detail

evs:volumes:list

×

查询所有云硬盘详情(OpenStack Cinder)

GET /v2/{project_id}/volumes/detail

evs:volumes:list

×

查询单个云硬盘详情

GET /v2/{project_id}/os-vendor-volumes/{volume_id}

evs:volumes:get

×

查询单个云硬盘详情(OpenStack Cinder )

GET /v2/{project_id}/volumes/{volume_id}

evs:volumes:get

×

删除云硬盘

DELETE /v2/{project_id}/cloudvolumes/{volume_id}

evs:volumes:delete

删除云硬盘(OpenStack Cinder )

DELETE /v2/{project_id}/volumes/{volume_id}

evs:volumes:delete

evs:volumes:get

×

更新云硬盘

PUT /v2/{project_id}/cloudvolumes/{volume_id}

evs:volumes:update

更新云硬盘(OpenStack Cinder )

PUT /v2/{project_id}/volumes/{volume_id}

evs:volumes:update

evs:volumes:get

×

更新云硬盘的单个元数据(OpenStack Cinder)

PUT /v2/{project_id}/volumes/{volume_id}/metadata/{key}

evs:volumes:update

evs:volumes:get

×

更新云硬盘的元数据(OpenStack Cinder)

PUT /v2/{project_id}/volumes/{volume_id}/metadata

evs:volumes:update

evs:volumes:get

×

查询云硬盘的单个元数据(OpenStack Cinder)

GET /v2/{project_id}/volumes/{volume_id}/metadata/{key}

evs:volumes:get

×

删除云硬盘的单个元数据(OpenStack Cinder)

DELETE /v2/{project_id}/volumes/{volume_id}/metadata/{key}

evs:volumes:delete

evs:volumes:get

×

查询云硬盘的元数据(OpenStack Cinder)

GET /v2/{project_id}/volumes/{volume_id}/metadata/{key}

evs:volumes:get

×

添加云硬盘的元数据(OpenStack Cinder)

POST /v2/{project_id}/volumes/{volume_id}/metadata

evs:volumes:update

evs:volumes:get

×

查询云硬盘类型列表(OpenStack Cinder)

GET /v2/{project_id}/types

evs:types:get

×

查询单个云硬盘类型的详细信息(OpenStack Cinder)

GET /v2/{project_id}/types/{type_id}

evs:types:get

×

查询租户的详细配额(OpenStack Cinder)

GET /v2/{project_id}/os-quota-sets/{project_id}

evs:quotas:get

×

查询扩展接口(OpenStack Cinder)

GET /v2/{project_id}/extensions

×

查询所有的可用分区信息(OpenStack Cinder)

GET /v2/{project_id}/os-availability-zone

×

云硬盘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

×

云硬盘快照

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

创建云硬盘快照(OpenStack Cinder)

POST /v2/{project_id}/snapshots

evs:snapshots:create

evs:volumes:get

×

查询云硬盘快照列表(OpenStack Cinder)

GET /v2/{project_id}/snapshots

evs:snapshots:list

×

查询云硬盘快照详细信息列表(OpenStack Cinder)

GET /v2/{project_id}/snapshots/detail

evs:snapshots:list

×

更新云硬盘快照(OpenStack Cinder)

PUT /v2/{project_id}/snapshots/{snapshot_id}

evs:snapshots:update

evs:snapshots:get

×

查询单个云硬盘快照详细信息(OpenStack Cinder)

GET /v2/{project_id}/snapshots/{snapshot_id}

evs:snapshots:get

×

删除云硬盘快照(OpenStack Cinder)

DELETE /v2/{project_id}/snapshots/{snapshot_id}

evs:snapshots:delete

evs:snapshots:get

evs:volumes:get

×

回滚快照到云硬盘

POST /v2/{project_id}/os-vendor-snapshots/{snapshot_id}/rollback

evs:snapshots:rollback

evs:snapshots:get

evs:volumes:get

×

添加云硬盘快照的元数据(OpenStack Cinder)

POST /v2/{project_id}/snapshots/{snapshot_id}/metadata

evs:snapshots:update

evs:snapshots:get

×

查询云硬盘快照的元数据(OpenStack Cinder)

GET /v2/{project_id}/snapshots/{snapshot_id}/metadata

evs:snapshots:get

×

更新云硬盘快照的单个元数据(OpenStack Cinder)

PUT /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key}

evs:snapshots:update

evs:snapshots:get

×

更新云硬盘快照的元数据(OpenStack Cinder)

PUT /v2/{project_id}/snapshots/{snapshot_id}/metadata

evs:snapshots:update

evs:snapshots:get

×

查询云硬盘快照的单个元数据(OpenStack Cinder)

GET /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key}

evs:snapshots:get

×

删除云硬盘快照的单个元数据(OpenStack Cinder)

DELETE /v2/{project_id}/snapshots/{snapshot_id}/metadata/{key}

evs:snapshots:delete

evs:snapshots:get

×

云硬盘标签

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

获取云硬盘资源的所有标签

GET /v2/{project_id}/os-vendor-tags/{resource_type}

  • 云硬盘:evs:volumeTags:list
  • 备份:evs:backupTags:list
  • 快照:evs:snapshotTags:list

×

通过标签查询云硬盘资源

GET /v2/{project_id}/os-vendor-tags/{resource_type}/resource_instances

  • 云硬盘:evs:volumeTags:get
  • 备份:evs:backupTags:get
  • 快照:evs:snapshotTags:get

×

增加/更新云硬盘标签

POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

  • 云硬盘:evs:volumeTags:create
  • 备份:evs:backupTags:create
  • 快照:evs:snapshotTags:create

×

获取特定云硬盘标签

GET /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

  • 云硬盘:evs:volumeTags:getById
  • 备份:evs:backupTags:getById
  • 快照:evs:snapshotTags:getById

×

重置云硬盘标签

PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

  • 云硬盘:evs:volumeTags:update
  • 备份:evs:backupTags:update
  • 快照:evs:snapshotTags:update

×

批量删除云硬盘标签

POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/action

  • 云硬盘:evs:volumeTags:delete

    evs:volumeTags:getById

  • 备份:evs:backupTags:delete

    evs:backupTags:getById

  • 快照:evs:snapshotTags:delete

    evs:snapshotTags:getById

×

通过键删除云硬盘标签

DELETE /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

  • 云硬盘:evs:volumeTags:getById

    evs:volumeTags:delete

  • 备份:evs:backupTags:getById

    evs:backupTags:delete

  • 快照:evs:snapshotTags:getById

    evs:snapshotTags:delete

×

通过键更新云硬盘标签

PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

  • 云硬盘:evs:volumeTags:update
  • 备份:evs:backupTags:update
  • 快照:evs:snapshotTags:update

×

为指定云硬盘批量删除标签

POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action

evs:volumeTags:delete

×

查询云硬盘标签

GET /v2/{project_id}/os-vendor-volumes/{volume_id}/tags

evs:volumeTags:getById

×

为指定云硬盘批量添加标签

POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action

evs:volumeTags:create

×

通过标签查询云硬盘资源实例详情

POST /v2/{project_id}/os-vendor-volumes/resource_instances/action

evs:volumeTags:get

×

通过键查询云硬盘标签

GET /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

evs:volumeTags:getById

×

通过标签查询云硬盘资源实例个数

POST /v2/{project_id}/os-vendor-volumes/resource_instances/action

evs:volumeTags:get

×

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

获取云硬盘资源的所有标签

GET /v2/{project_id}/cloudvolumes/tags

  • 云硬盘:evs:volumeTags:list
  • 备份:evs:backupTags:list

×

为指定云硬盘批量添加标签

POST /v2/{project_id}/cloudvolumes/{volume_id}/tags/action

evs:volumeTags:create

×

为指定云硬盘批量删除标签

POST /v2/{project_id}/cloudvolumes/{volume_id}/tags/action

evs:volumeTags:delete

×

查询云硬盘标签

GET /v2/{project_id}/cloudvolumes/{volume_id}/tags

evs:volumeTags:getById

×

通过标签查询云硬盘资源实例详情

POST /v2/{project_id}/cloudvolumes/resource_instances/action

evs:volumeTags:get

×

云硬盘过户

权限

对应API接口

授权项(Action)

IAM项目

(Project)

企业项目

(Enterprise Project)

创建云硬盘过户(OpenStack Cinder)

POST /v2/{project_id}/os-volume-transfer

evs:transfers:create

×

查询云硬盘过户记录列表概要(OpenStack Cinder)

GET /v2/{project_id}/os-volume-transfer

evs:transfers:list

×

查询云硬盘过户记录列表详情(OpenStack Cinder)

GET /v2/{project_id}/os-volume-transfer/detail

evs:transfers:list

×

查询单个云硬盘过户记录详情(OpenStack Cinder)

GET /v2/{project_id}/os-volume-transfer/{transfer_id}

evs:transfers:get

×

接受云硬盘过户(OpenStack Cinder)

POST /v2/{project_id}/os-volume-transfer/{transfer_id}/accept

evs:transfers:accept

×

删除云硬盘过户(OpenStack Cinder)

DELETE /v2/{project_id}/os-volume-transfer/{transfer_id}

evs:transfers:delete

×