rds__UpdateHostPrivilege
Change which hosts a database user can connect from on a Huawei Cloud RDS instance by specifying the project, instance, username, and allowed hosts.
Instructions
[RDS] 修改实例下用户host信息。
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": {
"hosts": "<hosts>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"user_name": "<user_name>"
},
"name": "rds__UpdateHostPrivilege"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hosts | Yes | host信息 | |
| user_name | Yes | 数据库用户名 | |
| project_id | Yes | 项目id | |
| instance_id | Yes | 实例id |