标签管理
权限 |
对应的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 |
- |
√ |
× |
× |
× |
|
GET /v2.1/{project_id}/servers/{server_id}/tags |
ecs:servers:getTags |
ecs:servers:get |
√ |
× |
× |
× |
|
PUT /v2.1/{project_id}/servers/{server_id}/tags/{tag} |
ecs:servers:setTags |
ecs:servers:get |
√ |
× |
× |
× |
|
PUT /v2.1/{project_id}/servers/{server_id}/tags |
ecs:servers:setTags |
ecs:servers:get |
√ |
× |
× |
× |
|
DELETE /v2.1/{project_id}/servers/{server_id}/tags/{tag} |
ecs:servers:setTags |
ecs:servers:get |
√ |
× |
× |
× |
|
GET /v2.1/{project_id}/servers/{server_id}/tags/{tag} |
ecs:servers:getTags |
ecs:servers:get |
√ |
× |
× |
× |
|
DELETE /v2.1/{project_id}/servers/{server_id}/tags |
ecs:servers:setTags |
ecs:servers:get |
√ |
× |
× |
× |