Connect DataSource
Interface Overview
Link the data source to confirm the connectivity between the selected cluster machine and the datasource.
Interface Address
/cloudcanal/console/api/v1/openapi/datasource/connectds
Request Manner
POST
Request Parameters
| ParameterName | Parameter Description | RequestType | Whether Required | DataType |
|---|---|---|---|---|
| clusterId | Cluster ID for connecting to the data source | Body | True | Long |
| dataSourceId | Target data source ID | Body | True | Long |
| hostType | Selected network type for the data source PRIVATE (intranet) PUBLIC (public network) | Body | True | string |