gaussdb__SwitchGaussMySqlProxyEip
Bind or unbind an elastic public IP for a GaussDB MySQL proxy by specifying the instance, proxy, project, and IP details.
Instructions
[GAUSSDB] Proxy绑定解绑弹性公网IP。
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": {
"bind": "<bind>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"proxy_id": "<proxy_id>",
"public_ip": "<public_ip>"
},
"name": "gaussdb__SwitchGaussMySqlProxyEip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bind | Yes | 请求是否为绑定弹性公网IP。 | |
| proxy_id | Yes | 数据库代理ID,此参数是代理的唯一标识。只能由英文字母、数字组成,后缀为po01,长度为36个字符。 | |
| public_ip | Yes | 待绑定的弹性公网IP地址。 | |
| project_id | Yes | 租户在某一Region下的project ID。只能由英文字母、数字组成,且长度为32个字符。 | |
| instance_id | Yes | 实例ID,此参数是实例的唯一标识。只能由英文字母、数字组成,后缀为in07,长度为36个字符。 | |
| public_ip_id | No | 弹性公网IP地址对应的ID。请求为绑定弹性公网IP时需传入该参数,请求为解绑弹性公网IP时无需传入。 |