import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlAccountConfig extends cdktf.TerraformMetaArguments { /** * Database description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#description MysqlAccount#description} */ readonly description?: string; /** * Account host, default is `%`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#host MysqlAccount#host} */ readonly host?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#id MysqlAccount#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; /** * The maximum number of available connections for a new account, the default value is 10240, and the maximum value that can be set is 10240. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#max_user_connections MysqlAccount#max_user_connections} */ readonly maxUserConnections?: number; /** * Instance ID to which the account belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#mysql_id MysqlAccount#mysql_id} */ readonly mysqlId: string; /** * Account name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#name MysqlAccount#name} */ readonly name: string; /** * Operation password. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#password MysqlAccount#password} */ readonly password: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account tencentcloud_mysql_account} */ export declare class MysqlAccount extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_account"; /** * Generates CDKTF code for importing a MysqlAccount 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 MysqlAccount to import * @param importFromId The id of the existing MysqlAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_account#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlAccount 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/mysql_account tencentcloud_mysql_account} 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 MysqlAccountConfig */ constructor(scope: Construct, id: string, config: MysqlAccountConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _host?; get host(): string; set host(value: string); resetHost(): void; get hostInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _maxUserConnections?; get maxUserConnections(): number; set maxUserConnections(value: number); resetMaxUserConnections(): void; get maxUserConnectionsInput(): number; private _mysqlId?; get mysqlId(): string; set mysqlId(value: string); get mysqlIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _password?; get password(): string; set password(value: string); get passwordInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }