dns__BatchCreateTag
Batch add or delete tags on Huawei Cloud DNS resources by specifying the project, resource type, target ID, and tag details for each operation.
Instructions
[DNS] 为指定实例批量添加或删除标签
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": "dns__BatchCreateTag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | 标签列表。删除时tags结构体不能缺失。 | |
| action | Yes | 操作标识(区分大小写):create(创建)、delete(删除)。 | |
| project_id | Yes | 项目ID。 | |
| resource_id | Yes | 资源ID。 | |
| resource_type | Yes | 资源的类型:DNS-public_zone,DNS-private_zone,DNS-public_recordset,DNS-private_recordset,DNS-ptr_record。 |