import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for creating a Harness User. This requires your authentication mechanism to be set to SAML, LDAP, or OAuth, and the feature flag AUTO_ACCEPT_SAML_ACCOUNT_INVITES to be enabled. * * ## Import * * The `pulumi import` command can be used, for example: * * Import account level * * ```sh * $ pulumi import harness:platform/user:User john_doe * ``` * * Import org level * * ```sh * $ pulumi import harness:platform/user:User john_doe / * ``` * * Import project level * * ```sh * $ pulumi import harness:platform/user:User john_doe // * ``` */ 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; /** * Whether or not the user account is disabled. */ readonly disabled: pulumi.Output; /** * The email of the user. */ readonly email: pulumi.Output; /** * Whether or not the user account is externally managed. */ readonly externallyManaged: pulumi.Output; /** * Unique identifier of the user. */ readonly identifier: pulumi.Output; /** * Whether or not the user account is locked. */ readonly locked: pulumi.Output; /** * Name of the user. */ readonly name: pulumi.Output; /** * Organization identifier of the user. */ readonly orgId: pulumi.Output; /** * Project identifier of the user. */ readonly projectId: pulumi.Output; /** * Role Bindings of the user. Cannot be updated. */ readonly roleBindings: pulumi.Output; /** * The user group of the user. Cannot be updated. */ readonly userGroups: 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 { /** * Whether or not the user account is disabled. */ disabled?: pulumi.Input; /** * The email of the user. */ email?: pulumi.Input; /** * Whether or not the user account is externally managed. */ externallyManaged?: pulumi.Input; /** * Unique identifier of the user. */ identifier?: pulumi.Input; /** * Whether or not the user account is locked. */ locked?: pulumi.Input; /** * Name of the user. */ name?: pulumi.Input; /** * Organization identifier of the user. */ orgId?: pulumi.Input; /** * Project identifier of the user. */ projectId?: pulumi.Input; /** * Role Bindings of the user. Cannot be updated. */ roleBindings?: pulumi.Input[] | undefined>; /** * The user group of the user. Cannot be updated. */ userGroups?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a User resource. */ export interface UserArgs { /** * The email of the user. */ email: pulumi.Input; /** * Organization identifier of the user. */ orgId?: pulumi.Input; /** * Project identifier of the user. */ projectId?: pulumi.Input; /** * Role Bindings of the user. Cannot be updated. */ roleBindings?: pulumi.Input[] | undefined>; /** * The user group of the user. Cannot be updated. */ userGroups: pulumi.Input[]>; } //# sourceMappingURL=user.d.ts.map