更新时间:2024-04-18 GMT+08:00

标签管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

查询指定云服务器标签列表(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

×