更新时间:2023-10-13 GMT+08:00

磁盘管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

实例授权

标签授权

卸载指定弹性云服务器的磁盘

DELETE /v1/{project_id}/cloudservers/{server_id}/detachvolume/{volume_id}

ecs:cloudServers:detachVolume

-

弹性云服务器挂载磁盘

POST /v1/{project_id}/cloudservers/{server_id}/attachvolume

ecs:cloudServers:attach

-

查询弹性云服务器挂载磁盘列表详情信息

GET /v1/{project_id}/cloudservers/{server_id}/block_device

ecs:cloudServers:listServerBlockDevices

-

查询弹性云服务器挂载磁盘列表信息

GET /v1/{project_id}/cloudservers/{server_id}/os-volume_attachments

ecs:cloudServers:listServerVolumeAttachments

-

查询弹性云服务器云主机单个磁盘挂载信息

GET /v1/cloudservers/{server_id}/block_device/{volume_id}

ecs:cloudServers:showServerBlockDevice

-

挂载弹性云服务器磁盘(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/os-volume_attachments

ecs:serverVolumeAttachments:create

ecs:servers:get

ecs:flavors:get

ecs:serverVolumes:use

evs:volumes:list

evs:volumes:get

evs:volumes:update

evs:volumes:attach

evs:volumes:manage

×

×

×

卸载云服务器磁盘(OpenStack原生)

DELETE /v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}

ecs:serverVolumeAttachments:delete

ecs:serverVolumes:use

evs:volumes:list

evs:volumes:get

evs:volumes:update

evs:volumes:detach

evs:volumes:manage

×

×

×

查询弹性云服务器挂载磁盘信息列表(OpenStack原生)

GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments

ecs:serverVolumeAttachments:list

ecs:serverVolumes:use

ecs:servers:get

×

×

×

查询弹性云服务器挂载的单个磁盘信息(OpenStack原生)

GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id}

ecs:serverVolumeAttachments:get

ecs:serverVolumes:use

×

×

×

创建磁盘(OpenStack原生)

POST /v2.1/{project_id}/os-volumes

ecs:serverVolumes:use

evs:volumes:create

×

×

×

删除磁盘(OpenStack原生)

DELETE /v2.1/{project_id}/os-volumes/{volume_id}

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:delete

×

×

×

查询指定磁盘信息(OpenStack原生)

GET /v2.1/{project_id}/os-volumes/{volume_id}

ecs:serverVolumes:use

evs:volumes:get

×

×

×

查询磁盘列表(OpenStack原生)

GET /v2.1/{project_id}/os-volumes

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list

×

×

×

查询磁盘详情列表(OpenStack原生)

GET /v2.1/{project_id}/os-volumes/detail

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list

×

×

×