import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Oci Cache User resource in Oracle Cloud Infrastructure Redis service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/redis/latest/OciCacheUser
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/redis
 *
 * Creates a new Oracle Cloud Infrastructure Cache user. Oracle Cloud Infrastructure Cache user is required to authenticate to Oracle Cloud Infrastructure Cache cluster.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testOciCacheUser = new oci.redis.OciCacheUser("test_oci_cache_user", {
 *     aclString: ociCacheUserAclString,
 *     authenticationMode: {
 *         authenticationType: ociCacheUserAuthenticationModeAuthenticationType,
 *         hashedPasswords: ociCacheUserAuthenticationModeHashedPasswords,
 *     },
 *     compartmentId: compartmentId,
 *     description: ociCacheUserDescription,
 *     name: ociCacheUserName,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     status: ociCacheUserStatus,
 * });
 * ```
 *
 * ## Import
 *
 * OciCacheUsers can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Redis/ociCacheUser:OciCacheUser test_oci_cache_user "id"
 * ```
 */
export declare class OciCacheUser extends pulumi.CustomResource {
    /**
     * Get an existing OciCacheUser 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?: OciCacheUserState, opts?: pulumi.CustomResourceOptions): OciCacheUser;
    /**
     * Returns true if the given object is an instance of OciCacheUser.  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 OciCacheUser;
    /**
     * (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
     */
    readonly aclString: pulumi.Output<string>;
    /**
     * (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
     */
    readonly authenticationMode: pulumi.Output<outputs.Redis.OciCacheUserAuthenticationMode>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) Description of Oracle Cloud Infrastructure cache user.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Oracle Cloud Infrastructure Cache user lifecycle state.
     */
    readonly state: pulumi.Output<string>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
     *
     *
     * ** 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 status: pulumi.Output<string>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The date and time, when the Oracle Cloud Infrastructure cache user was created.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time, when the Oracle Cloud Infrastructure cache user was updated.
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * Create a OciCacheUser 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: OciCacheUserArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering OciCacheUser resources.
 */
export interface OciCacheUserState {
    /**
     * (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
     */
    aclString?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
     */
    authenticationMode?: pulumi.Input<inputs.Redis.OciCacheUserAuthenticationMode | undefined>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description of Oracle Cloud Infrastructure cache user.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Oracle Cloud Infrastructure Cache user lifecycle state.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
     *
     *
     * ** 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
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The date and time, when the Oracle Cloud Infrastructure cache user was created.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time, when the Oracle Cloud Infrastructure cache user was updated.
     */
    timeUpdated?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a OciCacheUser resource.
 */
export interface OciCacheUserArgs {
    /**
     * (Updatable) ACL string of Oracle Cloud Infrastructure cache user.
     */
    aclString: pulumi.Input<string>;
    /**
     * (Updatable) These are the Authentication details of an Oracle Cloud Infrastructure cache user.
     */
    authenticationMode: pulumi.Input<inputs.Redis.OciCacheUserAuthenticationMode>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user compartment ID.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Description of Oracle Cloud Infrastructure cache user.
     */
    description: pulumi.Input<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Oracle Cloud Infrastructure cache user name is required to connect to an Oracle Cloud Infrastructure cache cluster.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Oracle Cloud Infrastructure cache user status. ON enables and OFF disables the Oracle Cloud Infrastructure cache user to login to the associated clusters. Default value is ON.
     *
     *
     * ** 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
     */
    status?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=ociCacheUser.d.ts.map