Skip to content

Commit b89a9e3

Browse files
author
wenfeng.wf
committed
Add db_param_group_id to create db instance
1 parent 6be2126 commit b89a9e3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "alibabacloud-rds-openapi-mcp-server"
3-
version = "1.7.4"
3+
version = "1.7.5"
44
description = "MCP server for RDS Services via OPENAPI."
55
readme = "README.md"
66
requires-python = ">=3.12"

src/alibabacloud_rds_openapi_mcp_server/server.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,8 @@ async def create_db_instance(
378378
serverless_config: Dict[str, Any] = None,
379379
table_names_case_sensitive: bool = False,
380380
db_time_zone: str = None,
381-
connection_string: str = None
381+
connection_string: str = None,
382+
db_param_group_id: str = None,
382383
) -> Dict[str, Any]:
383384
"""Create an RDS instance.
384385
@@ -410,6 +411,7 @@ async def create_db_instance(
410411
table_names_case_sensitive: Are table names case-sensitive.
411412
db_time_zone: the db instance time zone.
412413
connection_string: the connection string for db instance.
414+
db_param_group_id: the db param group id for db instance.
413415
Returns:
414416
Dict[str, Any]: Response containing the created instance details.
415417
"""
@@ -426,7 +428,8 @@ async def create_db_instance(
426428
instance_network_type=instance_network_type,
427429
dbis_ignore_case=str(not table_names_case_sensitive).lower(),
428430
dbtime_zone=db_time_zone,
429-
connection_string=connection_string
431+
connection_string=connection_string,
432+
dbparam_group_id=db_param_group_id
430433
)
431434

432435
# Add optional parameters

0 commit comments

Comments
 (0)