Updated on 2024-12-19 GMT+08:00

Tag Management

Permission

API

Action

Dependencies

IAM Project

Enterprise Project

Authorization by Instance

Authorization by Tag

Adding tags to an ECS in a batch/Deleting tags from an ECS in a batch

POST /v1/{project_id}/cloudservers/{server_id}/tags/action

ecs:cloudServers:batchSetServerTags

-

Supported

Supported

Not supported

Not supported

Querying ECSs by tag

POST /v1/{project_id}/cloudservers/resource_instances/action

ecs:cloudServers:list

-

Supported

Supported

Not supported

Not supported

Querying project tags

GET /v1/{project_id}/cloudservers/tags

ecs:cloudServers:list

-

Supported

Supported

Not supported

Not supported

Querying tags of an ECS

GET /v1/{project_id}/cloudservers/{server_id}/tags

ecs:cloudServers:showServerTags

-

Supported

Supported

Not supported

Not supported

Adding tags to an ECS in a batch

Deleting tags from an ECS in a batch

POST /v1/{project_id}/servers/{server_id}/tags/action

ecs:servers:setTags

-

Supported

Not supported

Not supported

Not supported

Querying project tags

GET /v1/{project_id}/servers/tags

ecs:servers:getTags

-

Supported

Not supported

Not supported

Not supported

Querying tags of an ECS

GET /v1/{project_id}/servers/{server_id}/tags

ecs:servers:getTags

-

Supported

Not supported

Not supported

Not supported

Querying All Tags of an ECS (Discarded)

GET /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:getTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Adding a Tag to an ECS (Discarded)

PUT /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:setTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Adding Tags to an ECS (Discarded)

PUT /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:setTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Deleting a Specified Tag from an ECS (Discarded)

DELETE /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:setTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Querying a Specified Tag for an ECS (Discarded)

GET /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:getTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported

Deleting All Tags of an ECS (Discarded)

DELETE /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:setTags

ecs:servers:get

Supported

Not supported

Not supported

Not supported