import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface BhUserConfig extends cdktf.TerraformMetaArguments { /** * Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. Default is 0 if not provided. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#auth_type BhUser#auth_type} */ readonly authType?: number; /** * Department ID to which the user belongs, e.g.: "1.2.3". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#department_id BhUser#department_id} */ readonly departmentId?: string; /** * Email address. At least one of phone and email parameters must be provided. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#email BhUser#email} */ readonly email?: string; /** * User group ID set to which the user belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#group_id_set BhUser#group_id_set} */ readonly groupIdSet?: number[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#id BhUser#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?: string; /** * Input in the format of "country code|phone number", e.g.: "+86|xxxxxxxx". At least one of phone and email parameters must be provided. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#phone BhUser#phone} */ readonly phone?: string; /** * User's real name, maximum length 20 characters, cannot contain whitespace characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#real_name BhUser#real_name} */ readonly realName: string; /** * Username, 3-20 characters, must start with an English letter and cannot contain characters other than `letters`, `numbers`, `.`, `_`, `-`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#user_name BhUser#user_name} */ readonly userName: string; /** * User effective time, e.g.: "2021-09-22T00:00:00+00:00". If effective and expiration times are not filled, the user will be valid permanently. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#validate_from BhUser#validate_from} */ readonly validateFrom?: string; /** * Access time restriction, a string composed of 0 and 1 with length 168 (7 * 24), representing the time slots allowed for the user in a week. The Nth character in the string represents the Nth hour in the week, 0 - not allowed to access, 1 - allowed to access. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#validate_time BhUser#validate_time} */ readonly validateTime?: string; /** * User expiration time, e.g.: "2021-09-23T00:00:00+00:00". If effective and expiration times are not filled, the user will be valid permanently. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#validate_to BhUser#validate_to} */ readonly validateTo?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user tencentcloud_bh_user} */ export declare class BhUser extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_bh_user"; /** * Generates CDKTF code for importing a BhUser 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 BhUser to import * @param importFromId The id of the existing BhUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the BhUser 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/tencentcloudstack/tencentcloud/1.82.49/docs/resources/bh_user tencentcloud_bh_user} 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 BhUserConfig */ constructor(scope: Construct, id: string, config: BhUserConfig); private _authType?; get authType(): number; set authType(value: number); resetAuthType(): void; get authTypeInput(): number; private _departmentId?; get departmentId(): string; set departmentId(value: string); resetDepartmentId(): void; get departmentIdInput(): string; private _email?; get email(): string; set email(value: string); resetEmail(): void; get emailInput(): string; private _groupIdSet?; get groupIdSet(): number[]; set groupIdSet(value: number[]); resetGroupIdSet(): void; get groupIdSetInput(): number[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _phone?; get phone(): string; set phone(value: string); resetPhone(): void; get phoneInput(): string; private _realName?; get realName(): string; set realName(value: string); get realNameInput(): string; get userId(): any; private _userName?; get userName(): string; set userName(value: string); get userNameInput(): string; private _validateFrom?; get validateFrom(): string; set validateFrom(value: string); resetValidateFrom(): void; get validateFromInput(): string; private _validateTime?; get validateTime(): string; set validateTime(value: string); resetValidateTime(): void; get validateTimeInput(): string; private _validateTo?; get validateTo(): string; set validateTo(value: string); resetValidateTo(): void; get validateToInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }