addInstance
Add a database instance to Alibaba Cloud DMS. Requires database credentials and either the Aliyun instance resource ID or host and port.
Instructions
Add an instance to DMS. The username and password are required. Only Aliyun instances are supported. Either instance_resource_id or host and port must be provided. The region is optional, but it's recommended to include it.If the instance already exists, it will return the existing instance information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_user | Yes | The username used to connect to the database | |
| db_password | Yes | The password used to connect to the database | |
| instance_resource_id | No | Aliyun instance resource ID | |
| host | No | The hostname of the database instance | |
| port | No | The connection port number | |
| region | No | The region (e.g., 'cn-hangzhou') |