|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
object |
PostgreSQL 数据源参数 |
||
| DatabaseName |
string |
待连接的 PostgreSQL 数据库名称。 |
analytics_db |
| HostName |
string |
PostgreSQL 数据库服务器的主机名或 IP 地址。 |
pgm-bp1xxxxx.pg.rds.aliyuncs.com |
| NetworkType |
string |
连接 PostgreSQL 数据源时使用的网络类型。取值:PublicNetwork(公网)或 PrivateNetwork(专有网络 VPC)。 |
PrivateNetwork |
| Password |
string |
数据库连接用户的密码。 |
your_password |
| Port |
integer |
PostgreSQL 数据库服务器的连接端口。 |
5432 |
| RegionId |
string |
PostgreSQL 数据源所在地域的 ID。 |
cn-hangzhou |
| SchemaName |
string |
待同步的 PostgreSQL Schema 名称。 |
test_schema |
| SecurityGroupId |
string |
用于连接 PostgreSQL 实例的安全组 ID。 |
sg-a1b2c3d4e5f6g7h8i9j0 |
| SnapshotMode |
string |
首次启动 PostgreSQL 数据同步时使用的快照模式。 |
when_needed |
| TableNames |
string |
待同步的 PostgreSQL 表名。多个表名之间以英文逗号分隔,每个表名采用 {SchemaName}.{TableName} 格式。 |
test_schema.test_table |
| User |
string |
数据库连接用户名。 |
readonly_user |
| VSwitchIds |
string |
VPC 内交换机的 ID。 |
[vsw-a1b2c3d4e5f6g7h8i9j0k] |
| VpcId |
string |
PostgreSQL 实例所在的 VPC ID。 |
vpc-a1b2c3d4e5f6g7h8i9j0k |