import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Db Credential resource in Oracle Cloud Infrastructure Identity service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/identity/latest/DbCredential
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity
 *
 * Creates a new DB credential for the specified user.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDbCredential = new oci.identity.DbCredential("test_db_credential", {
 *     description: dbCredentialDescription,
 *     password: dbCredentialPassword,
 *     userId: testUser.id,
 * });
 * ```
 *
 * ## Import
 *
 * Import is not supported for this resource.
 */
export declare class DbCredential extends pulumi.CustomResource {
    /**
     * Get an existing DbCredential 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?: DbCredentialState, opts?: pulumi.CustomResourceOptions): DbCredential;
    /**
     * Returns true if the given object is an instance of DbCredential.  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 DbCredential;
    /**
     * The description you assign to the DB credentials during creation.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The detailed status of INACTIVE lifecycleState.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * The password for the DB credentials during creation.
     */
    readonly password: pulumi.Output<string>;
    /**
     * The credential's current state. After creating a DB credential, make sure its `lifecycleState` changes from CREATING to ACTIVE before using it.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Date and time the `DbCredential` object was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeExpires: pulumi.Output<string>;
    /**
     * The OCID of the user.
     *
     *
     * ** 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 userId: pulumi.Output<string>;
    /**
     * Create a DbCredential 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: DbCredentialArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DbCredential resources.
 */
export interface DbCredentialState {
    /**
     * The description you assign to the DB credentials during creation.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The detailed status of INACTIVE lifecycleState.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * The password for the DB credentials during creation.
     */
    password?: pulumi.Input<string | undefined>;
    /**
     * The credential's current state. After creating a DB credential, make sure its `lifecycleState` changes from CREATING to ACTIVE before using it.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Date and time the `DbCredential` object was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires.  Example: `2016-08-25T21:10:29.600Z`
     */
    timeExpires?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the user.
     *
     *
     * ** 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
     */
    userId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a DbCredential resource.
 */
export interface DbCredentialArgs {
    /**
     * The description you assign to the DB credentials during creation.
     */
    description: pulumi.Input<string>;
    /**
     * The password for the DB credentials during creation.
     */
    password: pulumi.Input<string>;
    /**
     * The OCID of the user.
     *
     *
     * ** 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
     */
    userId: pulumi.Input<string>;
}
//# sourceMappingURL=dbCredential.d.ts.map