import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MysqlProxyConfig extends cdktf.TerraformMetaArguments { /** * Connection Pool Threshold. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#connection_pool_limit MysqlProxy#connection_pool_limit} */ readonly connectionPoolLimit?: number; /** * Describe. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#desc MysqlProxy#desc} */ readonly desc?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#id MysqlProxy#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; /** * Instance id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#instance_id MysqlProxy#instance_id} */ readonly instanceId: string; /** * The current version of the database agent. No need to fill in when creating. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#proxy_version MysqlProxy#proxy_version} */ readonly proxyVersion?: string; /** * Security group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#security_group MysqlProxy#security_group} */ readonly securityGroup?: string[]; /** * Subnet id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#uniq_subnet_id MysqlProxy#uniq_subnet_id} */ readonly uniqSubnetId: string; /** * Vpc id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#uniq_vpc_id MysqlProxy#uniq_vpc_id} */ readonly uniqVpcId: string; /** * Upgrade time: nowTime (upgrade completed) timeWindow (instance maintenance time), Required when modifying the agent version, No need to fill in when creating. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#upgrade_time MysqlProxy#upgrade_time} */ readonly upgradeTime?: string; /** * IP address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#vip MysqlProxy#vip} */ readonly vip?: string; /** * Port. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#vport MysqlProxy#vport} */ readonly vport?: number; /** * proxy_node_custom block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#proxy_node_custom MysqlProxy#proxy_node_custom} */ readonly proxyNodeCustom: MysqlProxyProxyNodeCustom[] | cdktf.IResolvable; } export interface MysqlProxyProxyNodeCustom { /** * Number of CPU cores. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#cpu MysqlProxy#cpu} */ readonly cpu: number; /** * Memory size. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#mem MysqlProxy#mem} */ readonly mem: number; /** * Number of nodes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#node_count MysqlProxy#node_count} */ readonly nodeCount: number; /** * Region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#region MysqlProxy#region} */ readonly region: string; /** * Zone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#zone MysqlProxy#zone} */ readonly zone: string; } export declare function mysqlProxyProxyNodeCustomToTerraform(struct?: MysqlProxyProxyNodeCustom | cdktf.IResolvable): any; export declare function mysqlProxyProxyNodeCustomToHclTerraform(struct?: MysqlProxyProxyNodeCustom | cdktf.IResolvable): any; export declare class MysqlProxyProxyNodeCustomOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MysqlProxyProxyNodeCustom | cdktf.IResolvable | undefined; set internalValue(value: MysqlProxyProxyNodeCustom | cdktf.IResolvable | undefined); private _cpu?; get cpu(): number; set cpu(value: number); get cpuInput(): number; private _mem?; get mem(): number; set mem(value: number); get memInput(): number; private _nodeCount?; get nodeCount(): number; set nodeCount(value: number); get nodeCountInput(): number; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; } export declare class MysqlProxyProxyNodeCustomList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MysqlProxyProxyNodeCustom[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MysqlProxyProxyNodeCustomOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy tencentcloud_mysql_proxy} */ export declare class MysqlProxy extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mysql_proxy"; /** * Generates CDKTF code for importing a MysqlProxy 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 MysqlProxy to import * @param importFromId The id of the existing MysqlProxy that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mysql_proxy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MysqlProxy 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_proxy tencentcloud_mysql_proxy} 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 MysqlProxyConfig */ constructor(scope: Construct, id: string, config: MysqlProxyConfig); private _connectionPoolLimit?; get connectionPoolLimit(): number; set connectionPoolLimit(value: number); resetConnectionPoolLimit(): void; get connectionPoolLimitInput(): number; private _desc?; get desc(): string; set desc(value: string); resetDesc(): void; get descInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; get proxyAddressId(): any; get proxyGroupId(): any; private _proxyVersion?; get proxyVersion(): string; set proxyVersion(value: string); resetProxyVersion(): void; get proxyVersionInput(): string; private _securityGroup?; get securityGroup(): string[]; set securityGroup(value: string[]); resetSecurityGroup(): void; get securityGroupInput(): string[]; private _uniqSubnetId?; get uniqSubnetId(): string; set uniqSubnetId(value: string); get uniqSubnetIdInput(): string; private _uniqVpcId?; get uniqVpcId(): string; set uniqVpcId(value: string); get uniqVpcIdInput(): string; private _upgradeTime?; get upgradeTime(): string; set upgradeTime(value: string); resetUpgradeTime(): void; get upgradeTimeInput(): string; private _vip?; get vip(): string; set vip(value: string); resetVip(): void; get vipInput(): string; private _vport?; get vport(): number; set vport(value: number); resetVport(): void; get vportInput(): number; private _proxyNodeCustom; get proxyNodeCustom(): MysqlProxyProxyNodeCustomList; putProxyNodeCustom(value: MysqlProxyProxyNodeCustom[] | cdktf.IResolvable): void; get proxyNodeCustomInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }