华为云服务器标签管理_云淘科技
权限 |
对应的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 |
√ |
× |
× |
× |
父主题: 权限和授权项
内容没看懂? 不太想学习?想快速解决? 有偿解决: 联系专家