更新时间:2024-11-14 GMT+08:00
分享

标签管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

实例授权

标签授权

批量添加云服务器标签/批量删除云服务器标签

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

ecs:cloudServers:batchSetServerTags

-

×

×

按标签查询云服务器列表

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

ecs:cloudServers:list

-

×

×

查询项目标签

GET /v1/{project_id}/cloudservers/tags

ecs:cloudServers:list

-

×

×

查询云服务器标签

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

ecs:cloudServers:showServerTags

-

×

×

批量添加标签

批量删除标签

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

ecs:servers:setTags

-

×

×

×

查询项目标签

GET /v1/{project_id}/servers/tags

ecs:servers:getTags

-

×

×

×

查询云服务器标签

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

ecs:servers:getTags

-

×

×

×

查询云服务器标签(OpenStack原生)(废弃)

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

ecs:servers:getTags

ecs:servers:get

×

×

×

给指定弹性云服务器添加标签(OpenStack原生)(废弃)

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

ecs:servers:setTags

ecs:servers:get

×

×

×

创建云服务器标签(OpenStack原生)(废弃)

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

ecs:servers:setTags

ecs:servers:get

×

×

×

删除指定云服务器的标签(OpenStack原生)(废弃)

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

ecs:servers:setTags

ecs:servers:get

×

×

×

查询云服务器是否存在指定标签(OpenStack原生)(废弃)

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

ecs:servers:getTags

ecs:servers:get

×

×

×

删除云服务器标签(OpenStack原生)(废弃)

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

ecs:servers:setTags

ecs:servers:get

×

×

×

相关文档