css__ChangeMode
Switch a CSS cluster's security mode by enabling or disabling security and HTTPS for a specified cluster ID and project.
Instructions
[CSS] 该接口用于切换集群的安全模式。
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": {
"authorityEnable": "<authorityEnable>",
"cluster_id": "<cluster_id>",
"httpsEnable": "<httpsEnable>",
"project_id": "<project_id>"
},
"name": "css__ChangeMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adminPwd | No | 安全模式下集群密码。 | |
| cluster_id | Yes | 指定修改的集群ID。 | |
| project_id | Yes | 项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。 | |
| httpsEnable | Yes | 是否开启HTTPS。 | |
| authorityEnable | Yes | 是否开启安全模式。 |