/** * 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 a MySQL Connection. * */ export interface MysqlConnection extends model.Connection { /** * The MySQL technology type. */ "technologyType": MysqlConnection.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; /** * 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 name of the database. * */ "databaseName"?: string; /** * Security Protocol for MySQL. */ "securityProtocol": MysqlConnection.SecurityProtocol; /** * SSL modes for MySQL. */ "sslMode"?: MysqlConnection.SslMode; /** * Database Certificate - The base64 encoded content of a .pem or .crt file * containing the server public key (for 1 and 2-way SSL). * 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). * Note: This is an optional property and only applicable if TLS/MTLS option is selected. * It is not included in GET responses if the {@code view=COMPACT} query parameter is specified. * */ "sslCrl"?: string; /** * Client Certificate - The base64 encoded content of a .pem or .crt file * containing the client public key (for 2-way SSL). * It is not included in GET responses if the {@code view=COMPACT} query parameter is specified. * */ "sslCert"?: string; /** * 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; /** * An array of name-value pair attribute entries. * Used as additional parameters in connection string. * */ "additionalAttributes"?: Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database system being referenced. * */ "dbSystemId"?: 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 that stores the Client Key * - The content of a .pem or .crt file containing the client private key (for 2-way SSL). * Note: When provided, 'sslKey' field must not be provided. * */ "sslKeySecretId"?: string; "connectionType": string; } export declare namespace MysqlConnection { enum TechnologyType { AmazonAuroraMysql = "AMAZON_AURORA_MYSQL", AmazonRdsMariadb = "AMAZON_RDS_MARIADB", AmazonRdsMysql = "AMAZON_RDS_MYSQL", AzureMysql = "AZURE_MYSQL", GoogleCloudSqlMysql = "GOOGLE_CLOUD_SQL_MYSQL", Mariadb = "MARIADB", MysqlHeatwaveOnAzure = "MYSQL_HEATWAVE_ON_AZURE", MysqlHeatwaveOnAws = "MYSQL_HEATWAVE_ON_AWS", MysqlServer = "MYSQL_SERVER", OciMysql = "OCI_MYSQL", Singlestoredb = "SINGLESTOREDB", SinglestoredbCloud = "SINGLESTOREDB_CLOUD", /** * 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 SecurityProtocol { Plain = "PLAIN", 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 SslMode { Disabled = "DISABLED", Preferred = "PREFERRED", Required = "REQUIRED", VerifyCa = "VERIFY_CA", VerifyIdentity = "VERIFY_IDENTITY", /** * 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: MysqlConnection, isParentJsonObj?: boolean): object; const connectionType = "MYSQL"; function getDeserializedJsonObj(obj: MysqlConnection, isParentJsonObj?: boolean): object; }