addInstance
Add an Aliyun database instance to Alibaba Cloud DMS by providing username, password, and either instance resource ID or host and port. Automatically retrieves existing instance information if already added.
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_password | Yes | The password used to connect to the database | |
db_user | Yes | The username used to connect to the database | |
host | No | The hostname of the database instance | |
instance_resource_id | No | Aliyun instance resource ID | |
port | No | The connection port number | |
region | No | The region (e.g., 'cn-hangzhou') |