Updated on 2024-07-23 GMT+08:00

Disk Management

Permission

API

Action

Dependencies

Detaching a disk from an ECS

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

ecs:cloudServers:detachVolume

-

Attaching a disk to an ECS

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

ecs:cloudServers:attach

-

Attaching a disk to an ECS (native OpenStack API)

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

Detaching a disk from an ECS (native OpenStack API)

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

Querying the disks attached to an ECS (native OpenStack API)

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

ecs:serverVolumeAttachments:list

ecs:serverVolumes:use

ecs:servers:get

Querying a disk attached to an ECS (native OpenStack API)

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

ecs:serverVolumeAttachments:get

ecs:serverVolumes:use

Creating a disk (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:create

Deleting a disk (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:delete

Querying information about a disk (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:get

Querying brief information about disks (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list

Querying detailed information about disks (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list