/** * GoldenGate API * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. * OpenAPI spec version: 20200407 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * The information about a new PostgreSQL Connection. * */ export interface CreatePostgresqlConnectionDetails extends model.CreateConnectionDetails { /** * The PostgreSQL technology type. */ "technologyType": string; /** * The name of the database. * */ "databaseName": string; /** * The name or address of a host. * */ "host"?: string; /** * The port of an endpoint usually specified for a connection. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "port"?: number; /** * The username Oracle GoldenGate uses to connect the associated system of the given technology. * This username must already exist and be available by the system/application to be connected to * and must conform to the case sensitivty requirments defined in it. * */ "username": string; /** * The password Oracle GoldenGate uses to connect the associated system of the given technology. * It must conform to the specific security requirements including length, case sensitivity, and so on. * Deprecated: This field is deprecated and replaced by \"passwordSecretId\". This field will be removed after February 15 2026. * */ "password"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the password is stored. * The password Oracle GoldenGate uses to connect the associated system of the given technology. * It must conform to the specific security requirements including length, case sensitivity, and so on. * If secretId is used plaintext field must not be provided. * Note: When provided, 'password' field must not be provided. * */ "passwordSecretId"?: string; /** * An array of name-value pair attribute entries. * Used as additional parameters in connection string. * */ "additionalAttributes"?: Array; /** * Security protocol for PostgreSQL. */ "securityProtocol": string; /** * SSL modes for PostgreSQL. */ "sslMode"?: string; /** * The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. * The supported file formats are .pem and .crt. * It is not included in GET responses if the {@code view=COMPACT} query parameter is specified. * */ "sslCa"?: string; /** * The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA). * It is not included in GET responses if the {@code view=COMPACT} query parameter is specified. * */ "sslCrl"?: string; /** * The base64 encoded certificate of the PostgreSQL server. The supported file formats are .pem and .crt. * It is not included in GET responses if the {@code view=COMPACT} query parameter is specified. * */ "sslCert"?: string; /** * The base64 encoded private key of the PostgreSQL server. The supported file formats are .pem and .crt. * Deprecated: This field is deprecated and replaced by \"sslKeySecretId\". This field will be removed after February 15 2026. * */ "sslKey"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret that stores the private key of the PostgreSQL server. The supported file formats are .pem and .crt. * Note: When provided, 'sslKey' field must not be provided. * */ "sslKeySecretId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database system being referenced. * */ "dbSystemId"?: string; "connectionType": string; } export declare namespace CreatePostgresqlConnectionDetails { function getJsonObj(obj: CreatePostgresqlConnectionDetails, isParentJsonObj?: boolean): object; const connectionType = "POSTGRESQL"; function getDeserializedJsonObj(obj: CreatePostgresqlConnectionDetails, isParentJsonObj?: boolean): object; }