import * as pulumi from "@pulumi/pulumi"; 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; /** * @SUMMARY User can be used to allow access to foreman. */ readonly __meta_: pulumi.Output; /** * If the user is allow admin privileges */ readonly admin: pulumi.Output; /** * Set the authentication source, i.e internal (1,default) or external (2) */ readonly authSourceId: pulumi.Output; /** * Default location for the user, if empty takes global default */ readonly defaultLocationId: pulumi.Output; /** * Default organization for the user, if empty takes global default */ readonly defaultOrganizationId: pulumi.Output; /** * Description of user */ readonly description: pulumi.Output; /** * First name of the user */ readonly firstname: pulumi.Output; /** * Last name of user */ readonly lastname: pulumi.Output; /** * Sets the timezone/location of a user */ readonly locale: pulumi.Output; /** * List of all locations a user has access to */ readonly locationIds: pulumi.Output; /** * Username used for logging-in */ readonly login: pulumi.Output; /** * Email of user */ readonly mail: pulumi.Output; /** * List of all organizations a user has access to */ readonly organizationIds: pulumi.Output; /** * Password of user, required if authSourceId is 1 (internal) */ readonly password: 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 { /** * @SUMMARY User can be used to allow access to foreman. */ __meta_?: pulumi.Input; /** * If the user is allow admin privileges */ admin?: pulumi.Input; /** * Set the authentication source, i.e internal (1,default) or external (2) */ authSourceId?: pulumi.Input; /** * Default location for the user, if empty takes global default */ defaultLocationId?: pulumi.Input; /** * Default organization for the user, if empty takes global default */ defaultOrganizationId?: pulumi.Input; /** * Description of user */ description?: pulumi.Input; /** * First name of the user */ firstname?: pulumi.Input; /** * Last name of user */ lastname?: pulumi.Input; /** * Sets the timezone/location of a user */ locale?: pulumi.Input; /** * List of all locations a user has access to */ locationIds?: pulumi.Input[]>; /** * Username used for logging-in */ login?: pulumi.Input; /** * Email of user */ mail?: pulumi.Input; /** * List of all organizations a user has access to */ organizationIds?: pulumi.Input[]>; /** * Password of user, required if authSourceId is 1 (internal) */ password?: pulumi.Input; } /** * The set of arguments for constructing a User resource. */ export interface UserArgs { /** * If the user is allow admin privileges */ admin?: pulumi.Input; /** * Set the authentication source, i.e internal (1,default) or external (2) */ authSourceId?: pulumi.Input; /** * Default location for the user, if empty takes global default */ defaultLocationId?: pulumi.Input; /** * Default organization for the user, if empty takes global default */ defaultOrganizationId?: pulumi.Input; /** * Description of user */ description?: pulumi.Input; /** * First name of the user */ firstname?: pulumi.Input; /** * Last name of user */ lastname?: pulumi.Input; /** * Sets the timezone/location of a user */ locale?: pulumi.Input; /** * List of all locations a user has access to */ locationIds?: pulumi.Input[]>; /** * Username used for logging-in */ login: pulumi.Input; /** * Email of user */ mail?: pulumi.Input; /** * List of all organizations a user has access to */ organizationIds?: pulumi.Input[]>; /** * Password of user, required if authSourceId is 1 (internal) */ password?: pulumi.Input; }