Disk Management
|
Permission |
API |
Action |
Dependent Permission |
IAM Project |
Enterprise Project |
|---|---|---|---|---|---|
|
Detaching a Disk from a Specified ECS |
DELETE /v1/{project_id}/cloudservers/{server_id}/detachvolume/{attachment_id} |
ecs:cloudServers:detachVolume |
N/A |
√ |
√ |
|
Attaching a Disk to an ECS |
POST /v1/{project_id}/cloudservers/{server_id}/attachvolume |
ecs:cloudServers:attach |
evs:volumes:use |
√ |
√ |
|
Querying Information About the Disks Attached to an ECS |
GET /v1/{project_id}/cloudservers/{server_id}/block_device |
ecs:cloudServers:get |
N/A |
√ |
√ |
|
Displaying the Disks Attached to an ECS |
GET /v1/{project_id}/cloudservers/{server_id}/os-volume_attachments |
ecs:cloudServers:get |
N/A |
√ |
√ |
|
Querying a Single Disk Attached to an ECS |
GET /v1/cloudservers/{server_id}/block_device/{volume_id} |
ecs:cloudServers:get |
N/A |
√ |
√ |
|
Attaching a Disk to an ECS (Native OpenStack API) |
POST /v2.1/{project_id}/servers/{server_id}/os-volume_attachments |
ecs:serverVolumeAttachments:create |
ecs:serverVolumes:use evs:volumes:list evs:volumes:get evs:volumes:update evs:volumes:attach evs:volumes:manage |
√ |
x |
|
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 |
√ |
x |
|
Querying Information About 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 |
√ |
x |
|
Querying Information About 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 |
√ |
x |
|
Creating a Disk (Native OpenStack API) |
POST /v2.1/{project_id}/os-volumes |
ecs:serverVolumes:use |
evs:volumes:create |
√ |
x |
|
Deleting a Disk (Native OpenStack API) |
DELETE /v2.1/{project_id}/os-volumes/{volume_id} |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:delete |
√ |
x |
|
Querying a Disk (Native OpenStack API) |
GET /v2.1/{project_id}/os-volumes/{volume_id} |
ecs:serverVolumes:use |
evs:volumes:get |
√ |
x |
|
Querying Disks (Native OpenStack API) |
GET /v2.1/{project_id}/os-volumes |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:list |
√ |
x |
|
Querying Detailed Disk Information (Native OpenStack API) |
GET /v2.1/{project_id}/os-volumes/detail |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:list |
√ |
x |
Last Article: NIC Management
Next Article: Metadata Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.