hss__SetTwoFactorLoginConfig
Configures two-factor authentication for Huawei Cloud HSS hosts by enabling SMS or verification-code login and assigning notification topics.
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": {
"auth_type": "<auth_type>",
"enabled": "<enabled>",
"host_id_list": "<host_id_list>",
"project_id": "<project_id>",
"topic_display_name": "<topic_display_name>",
"topic_urn": "<topic_urn>"
},
"name": "hss__SetTwoFactorLoginConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | 是否开启双因子认证 | |
| auth_type | Yes | 认证类型 | |
| topic_urn | Yes | 主题的唯一资源标识 | |
| project_id | Yes | **参数解释**: | |
| host_id_list | Yes | 服务器列表 | |
| topic_display_name | Yes | 主题别名 | |
| enterprise_project_id | No | **参数解释**: | 0 |