弹性云服务器 ECS弹性云服务器 ECS

更新时间:2021/03/18 GMT+08:00
分享

标签管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

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

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

ecs:cloudServers:put

-

查询项目标签

GET /v1/{project_id}/cloudservers/tags

ecs:cloudServers:list

-

查询云服务器标签

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

ecs:cloudServers:get

-

查询云服务器标签

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

×

分享:

    相关文档

    相关产品