hss__SwitchHostsProtectStatus
Switches Huawei HSS protection status for selected hosts by version and project, enabling or disabling host security protection as needed.
Instructions
[HSS] 切换防护状态
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": {
"host_id_list": "<host_id_list>",
"project_id": "<project_id>",
"version": "<version>"
},
"name": "hss__SwitchHostsProtectStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 资源标签列表 | |
| version | Yes | 主机开通的版本,包含如下: | |
| project_id | Yes | 项目ID | |
| resource_id | No | HSS配额ID,不填该参数时,则随机选择对应版本配额 | |
| host_id_list | Yes | 服务器列表 | |
| charging_mode | No | 付费模式,当version不为“hss.version.null”时,则需必填该参数 | |
| enterprise_project_id | No | 主机所属的企业项目ID。 | 0 |