gaussdb__UpdateNewNodeAutoAddSwitch
Enable or disable automatic addition of new nodes to a GaussDB database proxy, so new nodes join the proxy and can receive read traffic based on configured weight.
Instructions
[GAUSSDB] 开启或关闭新增节点自动加入该Proxy。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"proxy_id": "<proxy_id>",
"switch_status": "<switch_status>"
},
"name": "gaussdb__UpdateNewNodeAutoAddSwitch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | 新增节点的读权重: | |
| proxy_id | Yes | 数据库代理ID,严格匹配UUID规则。 | |
| project_id | Yes | 租户在某一Region下的project ID。 | |
| instance_id | Yes | 实例ID,严格匹配UUID规则。 | |
| switch_status | Yes | 是否开启新增节点自动加入该Proxy。 |