import * as pulumi from "@pulumi/pulumi"; /** * Resource for creating a Harness user * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const johnDoe = new harness.User("john_doe", { * name: "John Doe", * email: "john.doe@example.com", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import using the email address of the user * * ```sh * $ pulumi import harness:index/user:User john_doe john.doe@example.com * ``` */ export declare class User extends pulumi.CustomResource { /** * Get an existing User 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?: UserState, opts?: pulumi.CustomResourceOptions): User; /** * Returns true if the given object is an instance of User. 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 User; /** * The email of the user. */ readonly email: pulumi.Output; /** * The groups the user belongs to. This is only used during the creation of the user. The groups are not updated after the user is created. When using this option you should also set `lifecycle = { ignoreChanges = ["groupIds"] }`. */ readonly groupIds: pulumi.Output; /** * Flag indicating whether or not the users email has been verified. */ readonly isEmailVerified: pulumi.Output; /** * Flag indicating whether or not the user was imported from an identity provider. */ readonly isImportedFromIdentityProvider: pulumi.Output; /** * Flag indicating whether or not the users password has expired. */ readonly isPasswordExpired: pulumi.Output; /** * Flag indicating whether or not two-factor authentication is enabled for the user. */ readonly isTwoFactorAuthEnabled: pulumi.Output; /** * Flag indicating whether or not the user is locked out. */ readonly isUserLocked: pulumi.Output; /** * The name of the user. */ readonly name: pulumi.Output; /** * Create a User 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: UserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering User resources. */ export interface UserState { /** * The email of the user. */ email?: pulumi.Input; /** * The groups the user belongs to. This is only used during the creation of the user. The groups are not updated after the user is created. When using this option you should also set `lifecycle = { ignoreChanges = ["groupIds"] }`. */ groupIds?: pulumi.Input[] | undefined>; /** * Flag indicating whether or not the users email has been verified. */ isEmailVerified?: pulumi.Input; /** * Flag indicating whether or not the user was imported from an identity provider. */ isImportedFromIdentityProvider?: pulumi.Input; /** * Flag indicating whether or not the users password has expired. */ isPasswordExpired?: pulumi.Input; /** * Flag indicating whether or not two-factor authentication is enabled for the user. */ isTwoFactorAuthEnabled?: pulumi.Input; /** * Flag indicating whether or not the user is locked out. */ isUserLocked?: pulumi.Input; /** * The name of the user. */ name?: pulumi.Input; } /** * The set of arguments for constructing a User resource. */ export interface UserArgs { /** * The email of the user. */ email: pulumi.Input; /** * The groups the user belongs to. This is only used during the creation of the user. The groups are not updated after the user is created. When using this option you should also set `lifecycle = { ignoreChanges = ["groupIds"] }`. */ groupIds?: pulumi.Input[] | undefined>; /** * The name of the user. */ name?: pulumi.Input; } //# sourceMappingURL=user.d.ts.map