as__DeleteScalingTagInfo
Deletes specified tags from a Huawei Cloud scaling group by project and resource ID, so you can remove unneeded metadata from the resource.
Instructions
[AS] 创建或删除指定资源的标签。每个伸缩组最多添加10个标签。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"project_id": "<project_id>",
"resource_id": "<resource_id>",
"resource_type": "<resource_type>",
"tags": "<tags>"
},
"name": "as__DeleteScalingTagInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | 标签列表。action为delete时,tags结构体不能缺失,key不能为空,或者空字符串。 | |
| action | Yes | 操作标识(区分大小写):delete:删除。create:创建。若已经存在相同的key值则会覆盖对应的value值。 | |
| project_id | Yes | 项目ID。 | |
| resource_id | Yes | 资源ID。 | |
| resource_type | Yes | 资源类型,枚举类:scaling_group_tag。scaling_group_tag表示资源类型为伸缩组。 |