import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Database Tools Connection Credential resource in Oracle Cloud Infrastructure Database Tools Runtime service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database_tools_runtime
 *
 * Creates a credential for the user specified by the key.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDatabaseToolsConnectionCredential = new oci.databasetools.RuntimeDatabaseToolsConnectionCredential("test_database_tools_connection_credential", {
 *     databaseToolsConnectionId: testDatabaseToolsConnection.id,
 *     key: databaseToolsConnectionCredentialKey,
 *     password: databaseToolsConnectionCredentialPassword,
 *     type: databaseToolsConnectionCredentialType,
 *     userName: testUser.name,
 * });
 * ```
 *
 * ## Import
 *
 * DatabaseToolsConnectionCredentials can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DatabaseTools/runtimeDatabaseToolsConnectionCredential:RuntimeDatabaseToolsConnectionCredential test_database_tools_connection_credential "databaseToolsConnections/{databaseToolsConnectionId}/credentials/{credentialKey}"
 * ```
 */
export declare class RuntimeDatabaseToolsConnectionCredential extends pulumi.CustomResource {
    /**
     * Get an existing RuntimeDatabaseToolsConnectionCredential 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?: RuntimeDatabaseToolsConnectionCredentialState, opts?: pulumi.CustomResourceOptions): RuntimeDatabaseToolsConnectionCredential;
    /**
     * Returns true if the given object is an instance of RuntimeDatabaseToolsConnectionCredential.  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 RuntimeDatabaseToolsConnectionCredential;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
     */
    readonly databaseToolsConnectionId: pulumi.Output<string>;
    /**
     * Indicates whether this credential is enabled (TRUE) or not (FALSE)
     */
    readonly enabled: pulumi.Output<string>;
    /**
     * The credentialName to be created
     */
    readonly key: pulumi.Output<string>;
    /**
     * Indicates whether this refers to a public synonym or not.
     */
    readonly keyType: pulumi.Output<string>;
    /**
     * Owner of the credential
     */
    readonly owner: pulumi.Output<string>;
    /**
     * (Updatable) The password for the new credential.
     */
    readonly password: pulumi.Output<string>;
    /**
     * A related resource for a credential.
     */
    readonly relatedResources: pulumi.Output<outputs.DatabaseTools.RuntimeDatabaseToolsConnectionCredentialRelatedResource[]>;
    /**
     * (Updatable) The type of credential.
     */
    readonly type: pulumi.Output<string>;
    /**
     * (Updatable) The username for the new credential.
     *
     *
     * ** 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 userName: pulumi.Output<string>;
    /**
     * For a Windows target, the Windows domain to use when logging in
     */
    readonly windowsDomain: pulumi.Output<string>;
    /**
     * Create a RuntimeDatabaseToolsConnectionCredential 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: RuntimeDatabaseToolsConnectionCredentialArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RuntimeDatabaseToolsConnectionCredential resources.
 */
export interface RuntimeDatabaseToolsConnectionCredentialState {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
     */
    databaseToolsConnectionId?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether this credential is enabled (TRUE) or not (FALSE)
     */
    enabled?: pulumi.Input<string | undefined>;
    /**
     * The credentialName to be created
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * Indicates whether this refers to a public synonym or not.
     */
    keyType?: pulumi.Input<string | undefined>;
    /**
     * Owner of the credential
     */
    owner?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The password for the new credential.
     */
    password?: pulumi.Input<string | undefined>;
    /**
     * A related resource for a credential.
     */
    relatedResources?: pulumi.Input<pulumi.Input<inputs.DatabaseTools.RuntimeDatabaseToolsConnectionCredentialRelatedResource>[] | undefined>;
    /**
     * (Updatable) The type of credential.
     */
    type?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The username for the new credential.
     *
     *
     * ** 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
     */
    userName?: pulumi.Input<string | undefined>;
    /**
     * For a Windows target, the Windows domain to use when logging in
     */
    windowsDomain?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a RuntimeDatabaseToolsConnectionCredential resource.
 */
export interface RuntimeDatabaseToolsConnectionCredentialArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Database Tools connection.
     */
    databaseToolsConnectionId: pulumi.Input<string>;
    /**
     * The credentialName to be created
     */
    key: pulumi.Input<string>;
    /**
     * (Updatable) The password for the new credential.
     */
    password: pulumi.Input<string>;
    /**
     * (Updatable) The type of credential.
     */
    type: pulumi.Input<string>;
    /**
     * (Updatable) The username for the new credential.
     *
     *
     * ** 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
     */
    userName: pulumi.Input<string>;
}
//# sourceMappingURL=runtimeDatabaseToolsConnectionCredential.d.ts.map