import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Connection resource in Oracle Cloud Infrastructure Database Migration service.
 *
 * Display Database Connection details.
 *
 * Note: If you wish to use the DMS deprecated API version /20210929 it is necessary to pin the Terraform Provider version to v5.47.0. Newer Terraform provider versions will not support the DMS deprecated API version /20210929
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testConnection = oci.databasemigration.getConnection({
 *     connectionId: testConnectionOciDatabaseMigrationConnection.id,
 * });
 * ```
 */
export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
/**
 * A collection of arguments for invoking getConnection.
 */
export interface GetConnectionArgs {
    /**
     * The OCID of the database connection.
     */
    connectionId: string;
}
/**
 * A collection of values returned by getConnection.
 */
export interface GetConnectionResult {
    /**
     * An array of name-value pair attribute entries.
     */
    readonly additionalAttributes: outputs.DatabaseMigration.GetConnectionAdditionalAttribute[];
    /**
     * The OCID of the compartment.
     */
    readonly compartmentId: string;
    readonly connectionId: string;
    /**
     * Connect descriptor or Easy Connect Naming method used to connect to a database.
     */
    readonly connectionString: string;
    /**
     * Defines the type of connection. For example, ORACLE.
     */
    readonly connectionType: string;
    /**
     * The OCID of the database being referenced.
     */
    readonly databaseId: string;
    /**
     * The name of the database being referenced.
     */
    readonly databaseName: string;
    /**
     * The OCID of the database system being referenced.
     */
    readonly dbSystemId: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * A user-friendly description. Does not have to be unique, and it's changeable.  Avoid entering confidential information.
     */
    readonly description: string;
    /**
     * A user-friendly name. Does not have to be unique, and it's changeable.  Avoid entering confidential information.
     */
    readonly displayName: string;
    /**
     * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.  For more information, see Resource Tags. Example: {"Department": "Finance"}
     */
    readonly freeformTags: {
        [key: string]: string;
    };
    /**
     * The IP Address of the host.
     */
    readonly host: string;
    /**
     * The OCID of the connection being referenced.
     */
    readonly id: string;
    /**
     * List of ingress IP addresses from where to connect to this connection's privateIp.
     */
    readonly ingressIps: outputs.DatabaseMigration.GetConnectionIngressIp[];
    /**
     * The OCID of the key used in cryptographic operations.
     */
    readonly keyId: string;
    /**
     * The message describing the current state of the connection's lifecycle in detail. For example, can be used to provide actionable information for a connection in a Failed state.
     */
    readonly lifecycleDetails: string;
    /**
     * An array of Network Security Group OCIDs used to define network access for Connections.
     */
    readonly nsgIds: string[];
    /**
     * The password (credential) used when creating or updating this resource.
     */
    readonly password: string;
    /**
     * The port to be used for the connection.
     */
    readonly port: number;
    /**
     * The OCID of the resource being referenced.
     */
    readonly privateEndpointId: string;
    /**
     * The password (credential) used when creating or updating this resource.
     */
    readonly replicationPassword: string;
    /**
     * The username (credential) used when creating or updating this resource.
     */
    readonly replicationUsername: string;
    /**
     * The OCID of the resource being referenced.
     */
    readonly secretId: string;
    /**
     * Security Protocol to be used for the connection.
     */
    readonly securityProtocol: string;
    /**
     * Name of the host the SSH key is valid for.
     */
    readonly sshHost: string;
    /**
     * Private SSH key string.
     */
    readonly sshKey: string;
    /**
     * Sudo location
     */
    readonly sshSudoLocation: string;
    /**
     * The username (credential) used when creating or updating this resource.
     */
    readonly sshUser: string;
    readonly sslCa: string;
    readonly sslCert: string;
    readonly sslCrl: string;
    readonly sslKey: string;
    /**
     * SSL mode to be used for the connection.
     */
    readonly sslMode: string;
    /**
     * The Connection's current lifecycle state.
     */
    readonly state: string;
    /**
     * Oracle Cloud Infrastructure resource ID.
     */
    readonly subnetId: string;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: {
        [key: string]: string;
    };
    /**
     * The type of MySQL source or target connection. Example: OCI_MYSQL represents Oracle Cloud Infrastructure MySQL HeatWave Database Service
     */
    readonly technologyType: string;
    /**
     * The time when this resource was created. An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
     */
    readonly timeCreated: string;
    /**
     * The time when this resource was updated. An RFC3339 formatted datetime string such as `2016-08-25T21:10:29.600Z`.
     */
    readonly timeUpdated: string;
    /**
     * The username (credential) used when creating or updating this resource.
     */
    readonly username: string;
    /**
     * Oracle Cloud Infrastructure resource ID.
     */
    readonly vaultId: string;
    readonly wallet: string;
}
/**
 * This data source provides details about a specific Connection resource in Oracle Cloud Infrastructure Database Migration service.
 *
 * Display Database Connection details.
 *
 * Note: If you wish to use the DMS deprecated API version /20210929 it is necessary to pin the Terraform Provider version to v5.47.0. Newer Terraform provider versions will not support the DMS deprecated API version /20210929
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testConnection = oci.databasemigration.getConnection({
 *     connectionId: testConnectionOciDatabaseMigrationConnection.id,
 * });
 * ```
 */
export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
/**
 * A collection of arguments for invoking getConnection.
 */
export interface GetConnectionOutputArgs {
    /**
     * The OCID of the database connection.
     */
    connectionId: pulumi.Input<string>;
}
//# sourceMappingURL=getConnection.d.ts.map