Updated on 2024-12-19 GMT+08:00

Disk Management

Permission

API

Action

Dependencies

IAM Project

Enterprise Project

Authorization by Instance

Authorization by Tag

Detaching a disk from an ECS

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

ecs:cloudServers:detachVolume

-

Supported

Supported

Supported

Supported

Attaching a disk to an ECS

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

ecs:cloudServers:attach

-

Supported

Supported

Supported

Supported

Querying details about disks attached to an ECS

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

ecs:cloudServers:listServerBlockDevices

-

Supported

Supported

Supported

Supported

Querying disk attachments of an ECS

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

ecs:cloudServers:listServerVolumeAttachments

-

Supported

Supported

Supported

Supported

Querying a single disk attached to an ECS

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

ecs:cloudServers:showServerBlockDevice

-

Supported

Supported

Supported

Supported

Attaching an ECS Data Disk (Discarded)

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

Supported

Not supported

Not supported

Not supported

Detaching a Disk from an ECS (Discarded)

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

Supported

Not supported

Not supported

Not supported

Querying Disks Attached to an ECS (Discarded)

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

ecs:serverVolumeAttachments:list

ecs:serverVolumes:use

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Querying a Disk Attached to an ECS (Discarded)

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

ecs:serverVolumeAttachments:get

ecs:serverVolumes:use

Supported

Not supported

Not supported

Not supported

Creating a Disk (Discarded)

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

ecs:serverVolumes:use

evs:volumes:create

Supported

Not supported

Not supported

Not supported

Deleting a Disk (Discarded)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:delete

Supported

Not supported

Not supported

Not supported

Querying information about a disk (native OpenStack API)

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

ecs:serverVolumes:use

evs:volumes:get

Supported

Not supported

Not supported

Not supported

Querying Brief Information About Disks (Discarded)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list

Supported

Not supported

Not supported

Not supported

Querying Detailed Information About Disks (Discarded)

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

ecs:serverVolumes:use

evs:volumes:get

evs:volumes:list

Supported

Not supported

Not supported

Not supported