• Elastic Volume Service

evs
  1. Help Center
  2. Elastic Volume Service
  3. API Reference
  4. Appendix
  5. API Permissions

API Permissions

EVS Disk

API

API Function

Permissions

POST /v2/{project_id}/cloudvolumes

Create EVS disks.

evs:volumes:create

POST /v2/{project_id}/volumes

Create EVS disks (OpenStack Cinder API).

  • Create empty EVS disks.

    evs:volumes:create

    evs:volumes:get

  • Create EVS disks from images.

    evs:volumes:create

    ims:images:get

    evs:volumes:get

  • Create EVS disks from snapshots.

    evs:volumes:create

    evs:snapshots:get

    evs:volumes:get

POST /v2/{project_id}/cloudvolumes/{volume_id}/action

Expand the capacity of an EVS disk.

evs:volumes:extend

GET /v2/{project_id}/cloudvolumes

Query EVS disks.

evs:volumes:list

GET /v2/{project_id}/volumes

Query EVS disks (OpenStack Cinder API).

evs:volumes:list

GET /v2/{project_id}/cloudvolumes/detail

Query details of all EVS disks.

evs:volumes:list

GET /v2/{project_id}/os-vendor-volumes/detail

Query EVS disk details by service.

evs:volumes:list

GET /v2/{project_id}/volumes/detail

Query details of all EVS disks (OpenStack Cinder API).

evs:volumes:list

GET /v2/{project_id}/os-vendor-volumes/{volume_id}

Query details of an EVS disk.

evs:volumes:get

GET /v2/{project_id}/volumes/{volume_id}

Query details of an EVS disk (OpenStack Cinder API).

evs:volumes:get

DELETE /v2/{project_id}/cloudvolumes/{volume_id}

Delete an EVS disk.

evs:volumes:delete

DELETE /v2/{project_id}/volumes/{volume_id}

Delete an EVS disk (OpenStack Cinder API).

evs:volumes:delete

evs:volumes:get

PUT /v2/{project_id}/cloudvolumes/{volume_id}

Update EVS disk information.

evs:volumes:update

PUT /v2/{project_id}/volumes/{volume_id}

Update EVS disk information (OpenStack Cinder API).

evs:volumes:update

evs:volumes:get

PUT /v2/{project_id}/volumes/{volume_id}/metadata/{key}

Update a piece of EVS disk metadata (OpenStack Cinder API).

evs:volumes:update

evs:volumes:get

PUT /v2/{project_id}/volumes/{volume_id}/metadata

Update the metadata of an EVS disk (OpenStack Cinder API).

evs:volumes:update

evs:volumes:get

GET /v2/{project_id}/volumes/{volume_id}/metadata/{key}

Query a piece of EVS disk metadata (OpenStack Cinder API).

evs:volumes:get

DELETE /v2/{project_id}/volumes/{volume_id}/metadata/{key}

Delete a piece of EVS disk metadata (OpenStack Cinder API).

evs:volumes:delete

evs:volumes:get

GET /v2/{project_id}/volumes/{volume_id}/metadata

Query the metadata of an EVS disk (OpenStack Cinder API).

evs:volumes:get

POST /v2/{project_id}/volumes/{volume_id}/metadata

Add the metadata of an EVS disk (OpenStack Cinder API).

evs:volumes:update

evs:volumes:get

GET /v2/{project_id}/types

Query EVS disk types (OpenStack Cinder API).

evs:types:get

GET /v2/{project_id}/types/{type_id}

Query details of an EVS disk type (OpenStack Cinder API).

evs:types:get

GET /v2/{project_id}/os-quota-sets/{project_id}

Query tenant quotas (OpenStack Cinder API).

evs:quotas:get

GET /v2/{project_id}/extensions

Query API extensions (OpenStack Cinder API).

None

GET /v2/{project_id}/os-availability-zone

Query information of all AZs (OpenStack Cinder API).

None

GET /

Query API versions (OpenStack Cinder API).

None

GET /v2

or

GET /v2/

Query v2 API versions (OpenStack Cinder API).

None

EVS Disk Actions

API

API Function

Permissions

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-extend"

Expand the capacity of an EVS disk (OpenStack Cinder API).

evs:volumes:extend

evs:volumes:get

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-volume_upload_image"

Export the EVS disk data as an image (OpenStack Cinder API).

evs:volumes:uploadImage

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-attach"

Attach an EVS disk (deprecated).

evs:volumes:attach

evs:volumes:get

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-detach"

Detach an EVS disk (deprecated).

evs:volumes:detach

evs:volumes:get

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-reserve"

Reserve an EVS disk (OpenStack Cinder API).

evs:volumes:attach

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-unreserve"

Cancel reservation of an EVS disk (OpenStack Cinder API).

evs:volumes:attach

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-set_bootable"

Set the bootable flag for an EVS disk (OpenStack Cinder API).

evs:volumes:update

POST /v2/{project_id}/volumes/{volume_id}/action

action="os-update_readonly_flag"

Set the read-only attribute for an EVS disk (OpenStack Cinder API).

evs:volumes:update

EVS Snapshot

API

API Function

Permissions

POST /v2/{project_id}/snapshots

Create an EVS snapshot (OpenStack Cinder API).

evs:snapshots:create

evs:volumes:get

GET /v2/{project_id}/snapshots

Query EVS snapshots (OpenStack Cinder API).

evs:snapshots:list

GET /v2/{project_id}/snapshots/detail

Query details of EVS snapshots (OpenStack Cinder API).

evs:snapshots:list

PUT /v2/{project_id}/snapshots/{snapshot_id}

Update an EVS snapshot (OpenStack Cinder API).

evs:snapshots:update

evs:snapshots:get

DELETE /v2/{project_id}/snapshots/{snapshot_id}

Delete an EVS snapshot (OpenStack Cinder API).

evs:snapshots:delete

evs:snapshots:get

evs:volumes:get

EVS Tag

API

API Function

Permissions

GET /v2/{project_id}/os-vendor-tags/{resource_type}

Obtain all EVS tags of a tenant.

  • EVS disk: evs:volumeTags:list
  • Backup: evs:backupTags:list
  • Snapshot: evs:snapshotTags:list

GET /v2/{project_id}/os-vendor-tags/{resource_type}/resource_instances

Query EVS resources by tag (deprecated).

  • EVS disk: evs:volumeTags:get
  • Backup: evs:backupTags:get
  • Snapshot: evs:snapshotTags:get

POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

Add or update tags for an EVS resource (deprecated).

  • EVS disk: evs:volumeTags:create
  • Backup: evs:backupTags:create
  • Snapshot: evs:snapshotTags:create

GET /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

Obtain the tags of a specified EVS resource (deprecated).

  • EVS disk: evs:volumeTags:getById
  • Backup: evs:backupTags:getById
  • Snapshot: evs:snapshotTags:getById

PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}

Reset the tags of an EVS resource (deprecated).

  • EVS disk: evs:volumeTags:update
  • Backup: evs:backupTags:update
  • Snapshot: evs:snapshotTags:update

POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/action

Batch delete the tags for an EVS resource (deprecated).

  • EVS disk: evs:volumeTags:delete

    evs:volumeTags:getById

  • Backup: evs:backupTags:delete

    evs:backupTags:getById

  • Snapshot: evs:snapshotTags:delete

    evs:snapshotTags:getById

DELETE /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

Delete the tags of an EVS resource by key (deprecated).

  • EVS disk: evs:volumeTags:getById

    evs:volumeTags:delete

  • Backup: evs:backupTags:getById

    evs:backupTags:delete

  • Snapshot: evs:snapshotTags:getById

    evs:snapshotTags:delete

PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key}

Update the tags of an EVS resource by key (deprecated).

  • EVS disk: evs:volumeTags:update
  • Backup: evs:backupTags:update
  • Snapshot: evs:snapshotTags:update

POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action

Batch delete the tags for a specified EVS disk.

evs:volumeTags:delete

GET /v2/{project_id}/os-vendor-volumes/{volume_id}/tags

Query the tags of an EVS disk.

evs:volumeTags:getById

POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action

Batch add tags for a specified EVS disk.

evs:volumeTags:create

POST /v2/{project_id}/os-vendor-volumes/resource_instances/action

Query details of EVS disks by tag.

evs:volumeTags:get

EVS Disk Transfer

API

API Function

Permissions

POST /v2/{project_id}/os-volume-transfer

Create an EVS disk transfer.

evs:transfers:create

GET /v2/{project_id}/os-volume-transfer

Query all EVS disk transfers of a tenant.

evs:transfers:list

GET /v2/{project_id}/os-volume-transfer/detail

Query details of all EVS disk transfers of a tenant.

evs:transfers:list

GET /v2/{project_id}/os-volume-transfer/{transfer_id}

Query details of an EVS disk transfer.

evs:transfers:get

POST /v2/{project_id}/os-volume-transfer/{transfer_id}/accept

Accept an EVS disk transfer.

evs:transfers:accept

DELETE /v2/{project_id}/os-volume-transfer/{transfer_id}

Delete an EVS disk transfer.

evs:transfers:delete