import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Ui Password resource in Oracle Cloud Infrastructure Identity service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/identity/latest/UiPassword
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity
 *
 * Creates a new Console one-time password for the specified user. For more information about user
 * credentials, see [User Credentials](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/usercredentials.htm).
 *
 * Use this operation after creating a new user, or if a user forgets their password. The new one-time
 * password is returned to you in the response, and you must securely deliver it to the user. They'll
 * be prompted to change this password the next time they sign in to the Console. If they don't change
 * it within 7 days, the password will expire and you'll need to create a new one-time password for the
 * user.
 *
 * **Note:** The user's Console login is the unique name you specified when you created the user
 * (see [CreateUser](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/User/CreateUser)).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testUiPassword = new oci.identity.UiPassword("test_ui_password", {userId: testUser.id});
 * ```
 *
 * ## Import
 *
 * Import is not supported for this resource.
 */
export declare class UiPassword extends pulumi.CustomResource {
    /**
     * Get an existing UiPassword 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?: UiPasswordState, opts?: pulumi.CustomResourceOptions): UiPassword;
    /**
     * Returns true if the given object is an instance of UiPassword.  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 UiPassword;
    /**
     * The detailed status of INACTIVE lifecycleState.
     */
    readonly inactiveStatus: pulumi.Output<string>;
    /**
     * The user's password for the Console.
     */
    readonly password: pulumi.Output<string>;
    /**
     * The password's current state.
     */
    readonly state: pulumi.Output<string>;
    /**
     * Date and time the password was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
     */
    readonly timeCreated: 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 UiPassword 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: UiPasswordArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering UiPassword resources.
 */
export interface UiPasswordState {
    /**
     * The detailed status of INACTIVE lifecycleState.
     */
    inactiveStatus?: pulumi.Input<string | undefined>;
    /**
     * The user's password for the Console.
     */
    password?: pulumi.Input<string | undefined>;
    /**
     * The password's current state.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Date and time the password was created, in the format defined by RFC3339.  Example: `2016-08-25T21:10:29.600Z`
     */
    timeCreated?: 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 UiPassword resource.
 */
export interface UiPasswordArgs {
    /**
     * 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=uiPassword.d.ts.map