import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DasbUserConfig extends cdktf.TerraformMetaArguments { /** * Authentication method, 0 - local, 1 - LDAP, 2 - OAuth. If not passed, the default is 0. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#auth_type DasbUser#auth_type} */ readonly authType?: number; /** * Department ID, such as: 1.2.3. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#department_id DasbUser#department_id} */ readonly departmentId?: string; /** * Email. Please provide at least one of `phone` or `email`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#email DasbUser#email} */ readonly email?: string; /** * The set of user group IDs to which it belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#group_id_set DasbUser#group_id_set} */ readonly groupIdSet?: number[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#id DasbUser#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; /** * Enter it in the format of country area code|mobile phone number. For example: +86|***********, +852|xxxxxxxx. Please provide at least one of `phone` or `email`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#phone DasbUser#phone} */ readonly phone?: string; /** * Real name, maximum length 20 characters, cannot contain blank characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#real_name DasbUser#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/dasb_user#user_name DasbUser#user_name} */ readonly userName: string; /** * User effective time, such as: 2021-09-22T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#validate_from DasbUser#validate_from} */ readonly validateFrom?: string; /** * Access time period limit, a string composed of 0 and 1, length 168 (7 * 24), representing the time period the user is allowed to access in a week. The Nth character in the string represents the Nth hour of the week, 0 - means access is not allowed, 1 - means access is allowed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#validate_time DasbUser#validate_time} */ readonly validateTime?: string; /** * User expiration time, such as: 2021-09-23T00:00:00+00:00If the effective and expiry time are not filled in, the user will be valid for a long time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#validate_to DasbUser#validate_to} */ readonly validateTo?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user tencentcloud_dasb_user} */ export declare class DasbUser extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dasb_user"; /** * Generates CDKTF code for importing a DasbUser 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 DasbUser to import * @param importFromId The id of the existing DasbUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dasb_user#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DasbUser 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/dasb_user tencentcloud_dasb_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 DasbUserConfig */ constructor(scope: Construct, id: string, config: DasbUserConfig); 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; 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; }; }