Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PostgreSqlConnectionProfile

import type { PostgreSqlConnectionProfile } from "https://googleapis.deno.dev/v1/datamigration:v1.ts";

Specifies connection parameters required specifically for PostgreSQL databases.

interface PostgreSqlConnectionProfile {
alloydbClusterId?: string;
cloudSqlId?: string;
host?: string;
readonly networkArchitecture?: "NETWORK_ARCHITECTURE_UNSPECIFIED" | "NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER" | "NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER";
password?: string;
readonly passwordSet?: boolean;
port?: number;
privateServiceConnectConnectivity?: PrivateServiceConnectConnectivity;
ssl?: SslConfig;
staticIpConnectivity?: StaticIpConnectivity;
username?: string;
}

§Properties

§
alloydbClusterId?: string
[src]

Optional. If the destination is an AlloyDB database, use this field to provide the AlloyDB cluster ID.

§
cloudSqlId?: string
[src]

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

§
host?: string
[src]

Required. The IP or hostname of the source PostgreSQL database.

§
readonly networkArchitecture?: "NETWORK_ARCHITECTURE_UNSPECIFIED" | "NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER" | "NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER"
[src]

Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

§
password?: string
[src]

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.

§
readonly passwordSet?: boolean
[src]

Output only. Indicates If this connection profile password is stored.

§
port?: number
[src]

Required. The network port of the source PostgreSQL database.

§
privateServiceConnectConnectivity?: PrivateServiceConnectConnectivity
[src]

Private service connect connectivity.

§

SSL configuration for the destination to connect to the source database.

§
staticIpConnectivity?: StaticIpConnectivity
[src]

Static ip connectivity data (default, no additional details needed).

§
username?: string
[src]

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.