/** * 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"; /** * Represents the metadata of an Oracle Database Connection. * */ export interface OracleConnection extends model.Connection { /** * The Oracle technology type. */ "technologyType": OracleConnection.TechnologyType; /** * 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; /** * Connect descriptor or Easy Connect Naming method used to connect to a database. * */ "connectionString"?: string; /** * Authentication mode. It can be provided at creation of Oracle Autonomous Database Serverless connections, * when a databaseId is provided. The default value is MTLS. * */ "authenticationMode"?: OracleConnection.AuthenticationMode; /** * Specifies the session mode for the database connection. * Use REDIRECT only for RAC databases with SCAN listeners that return IP addresses. * For RAC databases with SCAN listeners that return FQDNs, and for all other Oracle database technologies, use DIRECT. * In RAC deployments, SCAN listeners redirects a connection to a specific database node, identified by either IP address or FQDN. * It is recommended to configure RAC with FQDN-based SCAN listeners. *
The default is DIRECT, except when databaseId is provided and the discovered database relies on the SCAN listener. * In this case, the default is REDIRECT. *
Deprecated: Defaulting to the REDIRECT session mode will be removed after March 1, 2027. * */ "sessionMode"?: OracleConnection.SessionMode; /** * This property is not available when creating connections. For existing deprecated connections having this value set, the value cannot be updated; set it to empty. *
For deprecated connections created with this field in the past, either the private IP had to be specified in the connectionString or host field, or the host name had to be resolvable in the target VCN. * */ "privateIp"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database being referenced. * */ "databaseId"?: 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; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the wallet file is stored. * The wallet contents Oracle GoldenGate uses to make connections to a database. * Note: When provided, 'wallet' field must not be provided. * */ "walletSecretId"?: string; "connectionType": string; } export declare namespace OracleConnection { enum TechnologyType { AmazonRdsOracle = "AMAZON_RDS_ORACLE", OciAutonomousDatabase = "OCI_AUTONOMOUS_DATABASE", OracleDatabase = "ORACLE_DATABASE", OracleExadata = "ORACLE_EXADATA", OracleExadataDatabaseAtAzure = "ORACLE_EXADATA_DATABASE_AT_AZURE", OracleAutonomousDatabaseAtAzure = "ORACLE_AUTONOMOUS_DATABASE_AT_AZURE", OracleExadataDatabaseAtGoogleCloud = "ORACLE_EXADATA_DATABASE_AT_GOOGLE_CLOUD", OracleAutonomousDatabaseAtGoogleCloud = "ORACLE_AUTONOMOUS_DATABASE_AT_GOOGLE_CLOUD", OracleExadataDatabaseAtAws = "ORACLE_EXADATA_DATABASE_AT_AWS", OracleAutonomousDatabaseAtAws = "ORACLE_AUTONOMOUS_DATABASE_AT_AWS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum AuthenticationMode { Tls = "TLS", Mtls = "MTLS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum SessionMode { Direct = "DIRECT", Redirect = "REDIRECT", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: OracleConnection, isParentJsonObj?: boolean): object; const connectionType = "ORACLE"; function getDeserializedJsonObj(obj: OracleConnection, isParentJsonObj?: boolean): object; }