hss__SwitchContainerProtectStatus
Switch Huawei Cloud HSS container protection status on or off for selected hosts and resources using the required project and billing details.
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": {
"charging_mode": "<charging_mode>",
"host_id_list": "<host_id_list>",
"project_id": "<project_id>",
"resource_id": "<resource_id>",
"version": "<version>"
},
"name": "hss__SwitchContainerProtectStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 资源标签 | |
| version | Yes | 开通的版本,包含如下: | |
| project_id | Yes | **参数解释**: | |
| resource_id | Yes | 资源实例ID | |
| host_id_list | Yes | 服务器列表 | |
| charging_mode | Yes | 付费模式,包含如下: | |
| enterprise_project_id | No | **参数解释**: | 0 |