Tag

This topic describes only the authorization information of EVS v2 APIs. For the v3 APIs that provide the same functions as their v2 APIs, their authorization information is the same as that of the v2 APIs.

For example, the v2 API for creating disks is POST /v2/{project_id}/cloudvolumes, and the v3 API for creating disks is POST /v3/{project_id}/cloudvolumes. The authorization information of both APIs is the same.

In the following tables, √ indicates that the item is supported, and × indicates that the item is not supported.

Permission

API

Action

IAM Project

(Project)

Enterprise Project

(Enterprise Project)

Obtain all EVS tags of a tenant.

GET /v2/{project_id}/cloudvolumes/tags

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

×

Batch add tags for a specified EVS disk.

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

evs:volumeTags:create

×

Batch delete tags for a specified EVS disk.

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

evs:volumeTags:delete

×

Query the tags of an EVS disk.

GET /v2/{project_id}/cloudvolumes/{volume_id}/tags

evs:volumeTags:getById

×

Query details of EVS disks by tag.

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

evs:volumeTags:get

×