Updated on 2022-08-09 GMT+08:00

Tag

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}/os-vendor-tags/{resource_type}

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

×

Query EVS resources by tag.

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

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

×

Add or update tags for an EVS resource.

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

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

×

Obtain tags of an EVS resource.

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

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

×

Reset the tags of an EVS resource.

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

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

×

Batch delete the tags for an EVS resource.

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

  • EVS disk: evs:volumeTags:delete

    evs:volumeTags:getById

  • Backup: evs:backupTags:delete

    evs:backupTags:getById

  • Snapshot: evs:snapshotTags:delete

    evs:snapshotTags:getById

×

Delete the tags of an EVS resource by key.

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

  • EVS disk: evs:volumeTags:getById

    evs:volumeTags:delete

  • Backup: evs:backupTags:getById

    evs:backupTags:delete

  • Snapshot: evs:snapshotTags:getById

    evs:snapshotTags:delete

×

Update the tags of an EVS resource by key.

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

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

×

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)

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

×