drs__ModifyConnection
Updates details of an existing DRS database connection, including SSL, VPC, endpoint, and credential settings.
Instructions
[DRS] 修改创建的连接信息。
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": {
"connection_id": "<connection_id>",
"project_id": "<project_id>"
},
"name": "drs__ModifyConnection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl | No | 数据库SSL证书信息。 | |
| vpc | No | 数据库实例所在VPC,子网,安全组等信息。 | |
| name | No | 连接名称。 | |
| cloud | No | 数据库实例所在Region,项目等信息。 | |
| config | No | 连接配置,不同类型的连接配置不同。 | |
| db_type | No | 数据库类型。 | |
| endpoint | No | 数据库基本信息体。 | |
| project_id | Yes | 租户在某一Region下的Project ID。 获取方法请参见[获取项目ID。](https://support.huaweicloud.com/api-drs/drs_api_0106.html) | |
| description | No | 连接描述。 | |
| connection_id | Yes | 连接ID | |
| enterprise_project_id | No | 企业项目ID。 |