/** * 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 MySQL Connection. * */ export interface CreateMysqlConnectionDetails extends model.CreateConnectionDetails { /** * The MySQL technology type. */ "technologyType": string; /** * 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; /** * 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 Type for MySQL. */ "securityProtocol": string; /** * SSL modes for MySQL. */ "sslMode"?: string; /** * 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; /** * Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL). * 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 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; /** * 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; "connectionType": string; } export declare namespace CreateMysqlConnectionDetails { function getJsonObj(obj: CreateMysqlConnectionDetails, isParentJsonObj?: boolean): object; const connectionType = "MYSQL"; function getDeserializedJsonObj(obj: CreateMysqlConnectionDetails, isParentJsonObj?: boolean): object; }