import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface UserManagementConfig extends cdktf.TerraformMetaArguments { /** * Accepted Authentication Methods * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#auth_methods UserManagement#auth_methods} */ readonly authMethods?: string[]; /** * Additional information about this user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#comments UserManagement#comments} */ readonly comments?: string; /** * User email consists of a user name and domain name. It does not have to be a valid email address, but it must be unique and its domain must belong to the organization. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#email UserManagement#email} */ readonly email: string; /** * User name. This appears when choosing users for policies. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#name UserManagement#name} */ readonly name: string; /** * User's password. Applicable only when authentication type is Hosted DB. Password strength must follow what is defined in the auth settings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#password UserManagement#password} */ readonly password: string; /** * Temporary Authentication Email. If you enabled one-time tokens or links, enter the email address to which the Zscaler service sends the tokens or links. If this is empty, the service will send the email to the User email. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#temp_auth_email UserManagement#temp_auth_email} */ readonly tempAuthEmail?: string; /** * department block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#department UserManagement#department} */ readonly department: UserManagementDepartment; /** * groups block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#groups UserManagement#groups} */ readonly groups?: UserManagementGroups; } export interface UserManagementDepartment { /** * Additional information about this department * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#comments UserManagement#comments} */ readonly comments?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#deleted UserManagement#deleted} */ readonly deleted?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#id UserManagement#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: number; /** * Identity provider (IdP) ID * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#idp_id UserManagement#idp_id} */ readonly idpId?: number; /** * Department name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#name UserManagement#name} */ readonly name?: string; } export declare function userManagementDepartmentToTerraform(struct?: UserManagementDepartmentOutputReference | UserManagementDepartment): any; export declare function userManagementDepartmentToHclTerraform(struct?: UserManagementDepartmentOutputReference | UserManagementDepartment): any; export declare class UserManagementDepartmentOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): UserManagementDepartment | undefined; set internalValue(value: UserManagementDepartment | undefined); private _comments?; get comments(): string; set comments(value: string); resetComments(): void; get commentsInput(): string; private _deleted?; get deleted(): boolean | cdktf.IResolvable; set deleted(value: boolean | cdktf.IResolvable); resetDeleted(): void; get deletedInput(): any; private _id?; get id(): number; set id(value: number); resetId(): void; get idInput(): number; private _idpId?; get idpId(): number; set idpId(value: number); resetIdpId(): void; get idpIdInput(): number; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; } export interface UserManagementGroups { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#id UserManagement#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: number[]; } export declare function userManagementGroupsToTerraform(struct?: UserManagementGroupsOutputReference | UserManagementGroups): any; export declare function userManagementGroupsToHclTerraform(struct?: UserManagementGroupsOutputReference | UserManagementGroups): any; export declare class UserManagementGroupsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): UserManagementGroups | undefined; set internalValue(value: UserManagementGroups | undefined); private _id?; get id(): number[]; set id(value: number[]); resetId(): void; get idInput(): number[]; } /** * Represents a {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management zia_user_management} */ export declare class UserManagement extends cdktf.TerraformResource { static readonly tfResourceType = "zia_user_management"; /** * Generates CDKTF code for importing a UserManagement resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the UserManagement to import * @param importFromId The id of the existing UserManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the UserManagement to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/zscaler/zia/4.6.5/docs/resources/user_management zia_user_management} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options UserManagementConfig */ constructor(scope: Construct, id: string, config: UserManagementConfig); private _authMethods?; get authMethods(): string[]; set authMethods(value: string[]); resetAuthMethods(): void; get authMethodsInput(): string[]; private _comments?; get comments(): string; set comments(value: string); resetComments(): void; get commentsInput(): string; private _email?; get email(): string; set email(value: string); get emailInput(): string; get id(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _password?; get password(): string; set password(value: string); get passwordInput(): string; private _tempAuthEmail?; get tempAuthEmail(): string; set tempAuthEmail(value: string); resetTempAuthEmail(): void; get tempAuthEmailInput(): string; get userId(): any; private _department; get department(): UserManagementDepartmentOutputReference; putDepartment(value: UserManagementDepartment): void; get departmentInput(): UserManagementDepartment; private _groups; get groups(): UserManagementGroupsOutputReference; putGroups(value: UserManagementGroups): void; resetGroups(): void; get groupsInput(): UserManagementGroups; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }