import * as pulumi from "@pulumi/pulumi"; /** * Creates an identity user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myUser = new ovh.me.IdentityUser("my_user", { * description: "Some custom description", * email: "my_login@example.com", * group: "DEFAULT", * login: "my_login", * password: "super-s3cr3t!password", * }); * ``` * * ## Import * * An identity user can be imported using the `login` E.g., * * bash * * ```sh * $ pulumi import ovh:Me/identityUser:IdentityUser my_user login * ``` */ export declare class IdentityUser extends pulumi.CustomResource { /** * Get an existing IdentityUser 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, state?: IdentityUserState, opts?: pulumi.CustomResourceOptions): IdentityUser; /** * Returns true if the given object is an instance of IdentityUser. 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 IdentityUser; /** * URN of the user, used when writing IAM policies */ readonly UserURN: pulumi.Output; /** * Creation date of this user. */ readonly creation: pulumi.Output; /** * User description. */ readonly description: pulumi.Output; /** * User's email. */ readonly email: pulumi.Output; /** * User's group. */ readonly group: pulumi.Output; /** * Last update of this user. */ readonly lastUpdate: pulumi.Output; /** * User's login suffix. */ readonly login: pulumi.Output; /** * User's password. */ readonly password: pulumi.Output; /** * When the user changed his password for the last time. */ readonly passwordLastUpdate: pulumi.Output; /** * Current user's status. */ readonly status: pulumi.Output; /** * Create a IdentityUser 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: IdentityUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdentityUser resources. */ export interface IdentityUserState { /** * URN of the user, used when writing IAM policies */ UserURN?: pulumi.Input; /** * Creation date of this user. */ creation?: pulumi.Input; /** * User description. */ description?: pulumi.Input; /** * User's email. */ email?: pulumi.Input; /** * User's group. */ group?: pulumi.Input; /** * Last update of this user. */ lastUpdate?: pulumi.Input; /** * User's login suffix. */ login?: pulumi.Input; /** * User's password. */ password?: pulumi.Input; /** * When the user changed his password for the last time. */ passwordLastUpdate?: pulumi.Input; /** * Current user's status. */ status?: pulumi.Input; } /** * The set of arguments for constructing a IdentityUser resource. */ export interface IdentityUserArgs { /** * User description. */ description?: pulumi.Input; /** * User's email. */ email: pulumi.Input; /** * User's group. */ group?: pulumi.Input; /** * User's login suffix. */ login: pulumi.Input; /** * User's password. */ password: pulumi.Input; }