磁盘管理
权限 |
对应的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:get |
- |
√ |
√ |
|
GET /v1/{project_id}/cloudservers/{server_id}/os-volume_attachments |
ecs:cloudServers:get |
- |
√ |
√ |
|
GET /v1/cloudservers/{server_id}/block_device/{volume_id} |
ecs:cloudServers:get |
- |
√ |
√ |
|
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 |
√ |
× |
|
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 |
√ |
× |
|
GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments |
ecs:serverVolumeAttachments:list |
ecs:serverVolumes:use ecs:servers:get |
√ |
× |
|
GET /v2.1/{project_id}/servers/{server_id}/os-volume_attachments/{volume_id} |
ecs:serverVolumeAttachments:get |
ecs:serverVolumes:use |
√ |
× |
|
POST /v2.1/{project_id}/os-volumes |
ecs:serverVolumes:use |
evs:volumes:create |
√ |
× |
|
DELETE /v2.1/{project_id}/os-volumes/{volume_id} |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:delete |
√ |
× |
|
GET /v2.1/{project_id}/os-volumes/{volume_id} |
ecs:serverVolumes:use |
evs:volumes:get |
√ |
× |
|
GET /v2.1/{project_id}/os-volumes |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:list |
√ |
× |
|
GET /v2.1/{project_id}/os-volumes/detail |
ecs:serverVolumes:use |
evs:volumes:get evs:volumes:list |
√ |
× |