标签管理服务API授权列表项
| 权限 | 对应API接口 | 授权项(Action) | IAM项目(Project) | 企业项目(Enterprise Project) |
|---|---|---|---|---|
| 查询预定义标签 | GET /v1.0/predefine_tags | tms:predefineTags:list | 支持 | 不支持 |
| 创建预定义标签 | POST /v1.0/predefine_tags/action | tms:predefineTags:create | 支持 | 不支持 |
| 删除预定义标签 | POST /v1.0/predefine_tags/action | tms:predefineTags:delete | 支持 | 不支持 |
| 修改预定义标签 | PUT /v1.0/predefine_tags | tms:predefineTags:update | 支持 | 不支持 |
| 批量创建标签 | POST /v1.0/resource-tags/batch-create | tms:resourceTags:create | 支持 | 不支持 |
| 批量删除标签 | POST /v1.0/resource-tags/batch-delete | tms:resourceTags:delete | 支持 | 不支持 |
| 查询标签键列表 | GET /v1.0/tag-keys | tms:tagKeys:list | 支持 | 不支持 |
| 查询标签值列表 | GET /v1.0/tag-values | tms:tagValues:list | 支持 | 不支持 |
| 查询资源标签 | GET /v2.0/resources/{resource_id}/tags | tms:resourceTags:list | 支持 | 不支持 |
| 根据标签过滤资源 | POST /v1.0/resource-instances/filter | tms:resources:list | 支持 | 不支持 |
| 查询标签配额 | GET /v1.0/tms/quotas | 无细粒度授权项,但依赖Tenant Guest权限。 | 不支持 | 不支持 |
| 查询标签管理支持的服务 | GET /v1.0/tms/providers | 无细粒度授权项,但依赖Tenant Guest权限。 | 不支持 | 不支持 |
| 查询标签列表 | GET /v1.0/tags | tms:resourceTags:list | 支持 | 不支持 |
| 查询当前用户的关联资源标签继承能力的开通状态 | GET /v2/tms/associated-resources/status | tms:associatedResource:showStatus | 支持 | 不支持 |
| 开通或关闭关联资源标签继承能力 | PUT /v2/tms/associated-resources/status | tms:associatedResource:changeStatus | 支持 | 不支持 |
| 查询当前规则列表 | GET /v2/tms/associated-resources/rules | tms:associatedResource:listRules | 支持 | 不支持 |
| 批量启用规则 | POST /v2/tms/associated-resources/rules/batch-create | tms:associatedResource:createRules | 支持 | 不支持 |
| 更新规则 | PUT /v2/tms/associated-resources/rules/batch-update | tms:associatedResource:updateRules | 支持 | 不支持 |
| 关闭规则 | DELETE /v2/tms/associated-resources/rules/{setting_name} | tms:associatedResource:deleteRule | 支持 | 不支持 |
| 查询当前规则的配置列表 | GET /v2/tms/associated-resources/settings | tms:associatedResource:listSettings | 支持 | 不支持 |