gaussdb__SwitchAccessControl
Enables or disables access control for a GaussDB instance's database proxy, so you can restrict or allow connections through that proxy.
Instructions
[GAUSSDB] 开启或关闭访问控制。
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>",
"open_access_control": "<open_access_control>",
"project_id": "<project_id>",
"proxy_id": "<proxy_id>"
},
"name": "gaussdb__SwitchAccessControl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy_id | Yes | 数据库代理ID,严格匹配UUID规则。 | |
| project_id | Yes | 租户在某一Region下的project ID。 | |
| instance_id | Yes | 实例ID,严格匹配UUID规则。 | |
| open_access_control | Yes | 是否开启访问控制。 取值: - true:开启。 - false:关闭。 |