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) |
---|---|---|---|
Obtain all EVS tags of a tenant. |
GET /v2/{project_id}/os-vendor-tags/{resource_type} |
|
√ |
Query EVS resources by tag. |
GET /v2/{project_id}/os-vendor-tags/{resource_type}/resource_instances |
|
√ |
Add or update tags for an EVS resource. |
POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id} |
|
√ |
Obtain tags of an EVS resource. |
GET /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id} |
|
√ |
Reset the tags of an EVS resource. |
PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id} |
|
√ |
Batch delete the tags for an EVS resource. |
POST /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/action |
√ |
|
Delete the tags of an EVS resource by key. |
DELETE /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key} |
√ |
|
Update the tags of an EVS resource by key. |
PUT /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key} |
|
√ |
Batch delete tags for a specified EVS disk. |
POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action |
evs:volumeTags:delete |
√ |
Query the tags of an EVS disk. |
GET /v2/{project_id}/os-vendor-volumes/{volume_id}/tags |
evs:volumeTags:getById |
√ |
Batch add tags for a specified EVS disk. |
POST /v2/{project_id}/os-vendor-volumes/{volume_id}/tags/action |
evs:volumeTags:create |
√ |
Query details of EVS disks by tag. |
POST /v2/{project_id}/os-vendor-volumes/resource_instances/action |
evs:volumeTags:get |
√ |
Query tags of an EVS resource by key. |
GET /v2/{project_id}/os-vendor-tags/{resource_type}/{resource_id}/{key} |
evs:volumeTags:getById |
√ |
Query the number of EVS disks by tag. |
POST /v2/{project_id}/os-vendor-volumes/resource_instances/action |
evs:volumeTags:get |
√ |
Permission |
API |
Action |
IAM Project (Project) |
---|---|---|---|
Obtain all EVS tags of a tenant. |
GET /v2/{project_id}/cloudvolumes/tags |
|
√ |
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 |
√ |