|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The PostgreSQL data source parameters. |
||
| DatabaseName |
string |
The name of the PostgreSQL database to connect to. |
analytics_db |
| HostName |
string |
The hostname or IP address of the PostgreSQL database server. |
pgm-bp1xxxxx.pg.rds.aliyuncs.com |
| NetworkType |
string |
The network type used to connect to the PostgreSQL data source. Valid values: PublicNetwork (public network) and PrivateNetwork (VPC). |
PrivateNetwork |
| Password |
string |
The password of the database connection user. |
your_password |
| Port |
integer |
The connection port of the PostgreSQL database server. |
5432 |
| RegionId |
string |
The ID of the region where the PostgreSQL data source resides. |
cn-hangzhou |
| SchemaName |
string |
The name of the PostgreSQL schema to synchronize. |
test_schema |
| SecurityGroupId |
string |
The ID of the security group used to connect to the PostgreSQL instance. |
sg-a1b2c3d4e5f6g7h8i9j0 |
| SnapshotMode |
string |
The snapshot mode used when PostgreSQL data synchronization is started for the first time. |
when_needed |
| TableNames |
string |
The names of the PostgreSQL tables to synchronize. Separate multiple table names with commas. Each table name must be in the {SchemaName}.{TableName} format. |
test_schema.test_table |
| User |
string |
The username for the database connection. |
readonly_user |
| VSwitchIds |
string |
The ID of the vSwitch in the VPC. |
[vsw-a1b2c3d4e5f6g7h8i9j0k] |
| VpcId |
string |
The ID of the VPC where the PostgreSQL instance resides. |
vpc-a1b2c3d4e5f6g7h8i9j0k |