import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The zia.UserManagementUser resource manages user accounts in the Zscaler Internet Access (ZIA) cloud. * Users can be assigned to departments and groups, and enrolled with authentication methods such as * BASIC or DIGEST. * * ## Example Usage * ### Basic User Management * * ```typescript * import * as zia from "@bdzscaler/pulumi-zia"; * * import * as pulumi from "@pulumi/pulumi"; * * const cfg = new pulumi.Config(); * const userPassword = cfg.requireSecret("userPassword"); * * const example = new zia.UserManagementUser("example", { * name: "John Doe", * email: "john.doe@example.com", * password: userPassword, * authMethods: ["BASIC"], * groups: [12345], * department: { * id: 67890, * }, * }); * ``` * * ## Import * * An existing user can be imported using its ID, e.g. * * ```sh * $ pulumi import zia:index:UserManagementUser example 12345 * ``` */ export declare class UserManagementUser extends pulumi.CustomResource { /** * Get an existing UserManagementUser 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): UserManagementUser; /** * Returns true if the given object is an instance of UserManagementUser. 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 UserManagementUser; /** * Authentication methods for the user. Accepted values: 'BASIC', 'DIGEST'. */ readonly authMethods: pulumi.Output; /** * Comments or notes about the user. Maximum 10240 characters. */ readonly comments: pulumi.Output; /** * The department the user belongs to. */ readonly department: pulumi.Output; /** * The user's email address. Maximum 127 characters. */ readonly email: pulumi.Output; /** * List of group IDs the user belongs to. */ readonly groups: pulumi.Output; /** * The user's full name. Maximum 127 characters. */ readonly name: pulumi.Output; /** * The user's password. This is a secret and will not be stored in plaintext in the state. */ readonly password: pulumi.Output; /** * Temporary authentication email for the user. */ readonly tempAuthEmail: pulumi.Output; /** * The unique identifier for the user assigned by the ZIA cloud. */ readonly userId: pulumi.Output; /** * Create a UserManagementUser 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: UserManagementUserArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a UserManagementUser resource. */ export interface UserManagementUserArgs { /** * Authentication methods for the user. Accepted values: 'BASIC', 'DIGEST'. */ authMethods?: pulumi.Input[] | undefined>; /** * Comments or notes about the user. Maximum 10240 characters. */ comments?: pulumi.Input; /** * The department the user belongs to. */ department?: pulumi.Input; /** * The user's email address. Maximum 127 characters. */ email: pulumi.Input; /** * List of group IDs the user belongs to. */ groups?: pulumi.Input[] | undefined>; /** * The user's full name. Maximum 127 characters. */ name: pulumi.Input; /** * The user's password. This is a secret and will not be stored in plaintext in the state. */ password: pulumi.Input; /** * Temporary authentication email for the user. */ tempAuthEmail?: pulumi.Input; } //# sourceMappingURL=userManagementUser.d.ts.map