rds__AttachEip
Bind or unbind an elastic public IP to a Huawei Cloud RDS instance by specifying the instance, project, and EIP details. Use it to control public access for database instances.
Instructions
[RDS] 绑定和解绑弹性公网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": {
"instance_id": "<instance_id>",
"is_bind": "<is_bind>",
"project_id": "<project_id>"
},
"name": "rds__AttachEip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_bind | Yes | - true,绑定弹性公网IP。 | |
| public_ip | No | 待绑定的弹性公网IP地址,仅允许使用标准的IP地址格式。is_bind为true时必选 | |
| project_id | Yes | 项目ID。 | |
| instance_id | Yes | 实例ID。 | |
| public_ip_id | No | 弹性公网IP对应的ID,仅允许使用标准的UUID格式。is_bind为true时必选 |