import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Db Node Console Connection resource in Oracle Cloud Infrastructure Database service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/DbNodeConsoleConnection
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database
 *
 * Creates a new console connection to the specified database node.
 * After the console connection has been created and is available,
 * you connect to the console using SSH.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDbNodeConsoleConnection = new oci.database.DbNodeConsoleConnection("test_db_node_console_connection", {
 *     dbNodeId: testDbNode.id,
 *     publicKey: dbNodeConsoleConnectionPublicKey,
 *     definedTags: dbNodeConsoleConnectionDefinedTags,
 *     freeformTags: {
 *         Department: "Finance",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * DbNodeConsoleConnections can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Database/dbNodeConsoleConnection:DbNodeConsoleConnection test_db_node_console_connection "dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"
 * ```
 */
export declare class DbNodeConsoleConnection extends pulumi.CustomResource {
    /**
     * Get an existing DbNodeConsoleConnection resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbNodeConsoleConnectionState, opts?: pulumi.CustomResourceOptions): DbNodeConsoleConnection;
    /**
     * Returns true if the given object is an instance of DbNodeConsoleConnection.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is DbNodeConsoleConnection;
    /**
     * The OCID of the compartment to contain the console connection.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * The SSH connection string for the console connection.
     */
    readonly connectionString: pulumi.Output<string>;
    /**
     * The database node [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    readonly dbNodeId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The SSH public key fingerprint for the console connection.
     */
    readonly fingerprint: pulumi.Output<string>;
    /**
     * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Information about the current lifecycle state.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The SSH public key used to authenticate the console connection.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly publicKey: pulumi.Output<string>;
    /**
     * The SSH public key's fingerprint for the console connection service host.
     */
    readonly serviceHostKeyFingerprint: pulumi.Output<string>;
    /**
     * The current state of the console connection.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Create a DbNodeConsoleConnection resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: DbNodeConsoleConnectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DbNodeConsoleConnection resources.
 */
export interface DbNodeConsoleConnectionState {
    /**
     * The OCID of the compartment to contain the console connection.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * The SSH connection string for the console connection.
     */
    connectionString?: pulumi.Input<string | undefined>;
    /**
     * The database node [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    dbNodeId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The SSH public key fingerprint for the console connection.
     */
    fingerprint?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Information about the current lifecycle state.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The SSH public key used to authenticate the console connection.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    publicKey?: pulumi.Input<string | undefined>;
    /**
     * The SSH public key's fingerprint for the console connection service host.
     */
    serviceHostKeyFingerprint?: pulumi.Input<string | undefined>;
    /**
     * The current state of the console connection.
     */
    state?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DbNodeConsoleConnection resource.
 */
export interface DbNodeConsoleConnectionArgs {
    /**
     * The database node [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     */
    dbNodeId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).  Example: `{"Department": "Finance"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The SSH public key used to authenticate the console connection.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    publicKey: pulumi.Input<string>;
}
//# sourceMappingURL=dbNodeConsoleConnection.d.ts.map