import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CynosdbClusterConfig extends cdktf.TerraformMetaArguments { /** * Specify whether the cluster can auto-pause while `db_mode` is `SERVERLESS`. Values: `yes` (default), `no`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#auto_pause CynosdbCluster#auto_pause} */ readonly autoPause?: string; /** * Specify auto-pause delay in second while `db_mode` is `SERVERLESS`. Value range: `[600, 691200]`. Default: `600`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#auto_pause_delay CynosdbCluster#auto_pause_delay} */ readonly autoPauseDelay?: number; /** * Auto renew flag. Valid values are `0`(MANUAL_RENEW), `1`(AUTO_RENEW). Default value is `0`. Only works for PREPAID cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#auto_renew_flag CynosdbCluster#auto_renew_flag} */ readonly autoRenewFlag?: number; /** * The available zone of the CynosDB Cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#available_zone CynosdbCluster#available_zone} */ readonly availableZone: string; /** * The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. Default value is `POSTPAID_BY_HOUR`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#charge_type CynosdbCluster#charge_type} */ readonly chargeType?: string; /** * Name of CynosDB cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#cluster_name CynosdbCluster#cluster_name} */ readonly clusterName: string; /** * Kernel version, you can enter it when modifying. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#cynos_version CynosdbCluster#cynos_version} */ readonly cynosVersion?: string; /** * Specify DB mode, only available when `db_type` is `MYSQL`. Values: `NORMAL` (Default), `SERVERLESS`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#db_mode CynosdbCluster#db_mode} */ readonly dbMode?: string; /** * Type of CynosDB, and available values include `MYSQL`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#db_type CynosdbCluster#db_type} */ readonly dbType: string; /** * Version of CynosDB, which is related to `db_type`. For `MYSQL`, available value is `5.7`, `8.0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#db_version CynosdbCluster#db_version} */ readonly dbVersion: string; /** * Indicate whether to delete cluster instance directly or not. Default is false. If set true, the cluster and its `All RELATED INSTANCES` will be deleted instead of staying recycle bin. Note: works for both `PREPAID` and `POSTPAID_BY_HOUR` cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#force_delete CynosdbCluster#force_delete} */ readonly forceDelete?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#id CynosdbCluster#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 number of instances, the range is (0,16], the default value is 2 (i.e. one RW instance + one Ro instance), the passed n means 1 RW instance + n-1 Ro instances (with the same specifications), if you need a more accurate cluster composition, please use InstanceInitInfos. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_count CynosdbCluster#instance_count} */ readonly instanceCount?: number; /** * The number of CPU cores of read-write type instance in the CynosDB cluster. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_cpu_core CynosdbCluster#instance_cpu_core} */ readonly instanceCpuCore?: number; /** * Duration time for maintenance, unit in second. `3600` by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_maintain_duration CynosdbCluster#instance_maintain_duration} */ readonly instanceMaintainDuration?: number; /** * Offset time from 00:00, unit in second. For example, 03:00am should be `10800`. `10800` by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_maintain_start_time CynosdbCluster#instance_maintain_start_time} */ readonly instanceMaintainStartTime?: number; /** * Weekdays for maintenance. `["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]` by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_maintain_weekdays CynosdbCluster#instance_maintain_weekdays} */ readonly instanceMaintainWeekdays?: string[]; /** * Memory capacity of read-write type instance, unit in GB. Required while creating normal cluster. Note: modification of this field will take effect immediately, if want to upgrade on maintenance window, please upgrade from console. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_memory_size CynosdbCluster#instance_memory_size} */ readonly instanceMemorySize?: number; /** * Maximum CPU core count, required while `db_mode` is `SERVERLESS`, request DescribeServerlessInstanceSpecs for more reference. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#max_cpu CynosdbCluster#max_cpu} */ readonly maxCpu?: number; /** * Minimum CPU core count, required while `db_mode` is `SERVERLESS`, request DescribeServerlessInstanceSpecs for more reference. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#min_cpu CynosdbCluster#min_cpu} */ readonly minCpu?: number; /** * Recycling time of the old address, must be filled in when modifying the vpcRecycling time of the old address, must be filled in when modifying the vpc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#old_ip_reserve_hours CynosdbCluster#old_ip_reserve_hours} */ readonly oldIpReserveHours?: number; /** * The ID of the parameter template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#param_template_id CynosdbCluster#param_template_id} */ readonly paramTemplateId?: number; /** * Password of `root` account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#password CynosdbCluster#password} */ readonly password: string; /** * Port of CynosDB cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#port CynosdbCluster#port} */ readonly port?: number; /** * The ID of the parameter template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#prarm_template_id CynosdbCluster#prarm_template_id} */ readonly prarmTemplateId?: number; /** * The tenancy (time unit is month) of the prepaid instance. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. NOTE: it only works when charge_type is set to `PREPAID`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#prepaid_period CynosdbCluster#prepaid_period} */ readonly prepaidPeriod?: number; /** * ID of the project. `0` by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#project_id CynosdbCluster#project_id} */ readonly projectId?: number; /** * IDs of security group for `ro_group`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#ro_group_sg CynosdbCluster#ro_group_sg} */ readonly roGroupSg?: string[]; /** * IDs of security group for `rw_group`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#rw_group_sg CynosdbCluster#rw_group_sg} */ readonly rwGroupSg?: string[]; /** * Specify whether to pause or resume serverless cluster. values: `resume`, `pause`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#serverless_status_flag CynosdbCluster#serverless_status_flag} */ readonly serverlessStatusFlag?: string; /** * Multi zone Addresses of the CynosDB Cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#slave_zone CynosdbCluster#slave_zone} */ readonly slaveZone?: string; /** * Storage limit of CynosDB cluster instance, unit in GB. The maximum storage of a non-serverless instance in GB. NOTE: If db_type is `MYSQL` and charge_type is `PREPAID`, the value cannot exceed the maximum storage corresponding to the CPU and memory specifications, and the transaction mode is `order and pay`. when charge_type is `POSTPAID_BY_HOUR`, this argument is unnecessary. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#storage_limit CynosdbCluster#storage_limit} */ readonly storageLimit?: number; /** * Cluster storage billing mode, pay-as-you-go: `0`-yearly/monthly: `1`-The default is pay-as-you-go. When the DbType is MYSQL, when the cluster computing billing mode is post-paid (including DbMode is SERVERLESS), the storage billing mode can only be billing by volume; rollback and cloning do not support yearly subscriptions monthly storage. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#storage_pay_mode CynosdbCluster#storage_pay_mode} */ readonly storagePayMode?: number; /** * ID of the subnet within this VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#subnet_id CynosdbCluster#subnet_id} */ readonly subnetId: string; /** * The tags of the CynosDB cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#tags CynosdbCluster#tags} */ readonly tags?: { [key: string]: string; }; /** * ID of the VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#vpc_id CynosdbCluster#vpc_id} */ readonly vpcId: string; /** * instance_init_infos block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_init_infos CynosdbCluster#instance_init_infos} */ readonly instanceInitInfos?: CynosdbClusterInstanceInitInfos[] | cdktf.IResolvable; /** * param_items block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#param_items CynosdbCluster#param_items} */ readonly paramItems?: CynosdbClusterParamItems[] | cdktf.IResolvable; } export interface CynosdbClusterRoGroupAddr { } export declare function cynosdbClusterRoGroupAddrToTerraform(struct?: CynosdbClusterRoGroupAddr): any; export declare function cynosdbClusterRoGroupAddrToHclTerraform(struct?: CynosdbClusterRoGroupAddr): any; export declare class CynosdbClusterRoGroupAddrOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CynosdbClusterRoGroupAddr | undefined; set internalValue(value: CynosdbClusterRoGroupAddr | undefined); get ip(): any; get port(): any; } export declare class CynosdbClusterRoGroupAddrList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CynosdbClusterRoGroupAddrOutputReference; } export interface CynosdbClusterRoGroupInstances { } export declare function cynosdbClusterRoGroupInstancesToTerraform(struct?: CynosdbClusterRoGroupInstances): any; export declare function cynosdbClusterRoGroupInstancesToHclTerraform(struct?: CynosdbClusterRoGroupInstances): any; export declare class CynosdbClusterRoGroupInstancesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CynosdbClusterRoGroupInstances | undefined; set internalValue(value: CynosdbClusterRoGroupInstances | undefined); get instanceId(): any; get instanceName(): any; } export declare class CynosdbClusterRoGroupInstancesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CynosdbClusterRoGroupInstancesOutputReference; } export interface CynosdbClusterRwGroupAddr { } export declare function cynosdbClusterRwGroupAddrToTerraform(struct?: CynosdbClusterRwGroupAddr): any; export declare function cynosdbClusterRwGroupAddrToHclTerraform(struct?: CynosdbClusterRwGroupAddr): any; export declare class CynosdbClusterRwGroupAddrOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CynosdbClusterRwGroupAddr | undefined; set internalValue(value: CynosdbClusterRwGroupAddr | undefined); get ip(): any; get port(): any; } export declare class CynosdbClusterRwGroupAddrList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CynosdbClusterRwGroupAddrOutputReference; } export interface CynosdbClusterRwGroupInstances { } export declare function cynosdbClusterRwGroupInstancesToTerraform(struct?: CynosdbClusterRwGroupInstances): any; export declare function cynosdbClusterRwGroupInstancesToHclTerraform(struct?: CynosdbClusterRwGroupInstances): any; export declare class CynosdbClusterRwGroupInstancesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): CynosdbClusterRwGroupInstances | undefined; set internalValue(value: CynosdbClusterRwGroupInstances | undefined); get instanceId(): any; get instanceName(): any; } export declare class CynosdbClusterRwGroupInstancesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): CynosdbClusterRwGroupInstancesOutputReference; } export interface CynosdbClusterInstanceInitInfos { /** * CPU of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#cpu CynosdbCluster#cpu} */ readonly cpu: number; /** * Instance machine type. Values: `common`, `exclusive`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#device_type CynosdbCluster#device_type} */ readonly deviceType?: string; /** * Instance count. Range: [1, 15]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_count CynosdbCluster#instance_count} */ readonly instanceCount: number; /** * Instance type. Value: `rw`, `ro`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#instance_type CynosdbCluster#instance_type} */ readonly instanceType: string; /** * Maximum number of Serverless instances. Range [1,15]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#max_ro_count CynosdbCluster#max_ro_count} */ readonly maxRoCount?: number; /** * Maximum Serverless Instance Specifications. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#max_ro_cpu CynosdbCluster#max_ro_cpu} */ readonly maxRoCpu?: number; /** * Memory of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#memory CynosdbCluster#memory} */ readonly memory: number; /** * Minimum number of Serverless instances. Range [1,15]. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#min_ro_count CynosdbCluster#min_ro_count} */ readonly minRoCount?: number; /** * Minimum Serverless Instance Specifications. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#min_ro_cpu CynosdbCluster#min_ro_cpu} */ readonly minRoCpu?: number; } export declare function cynosdbClusterInstanceInitInfosToTerraform(struct?: CynosdbClusterInstanceInitInfos | cdktf.IResolvable): any; export declare function cynosdbClusterInstanceInitInfosToHclTerraform(struct?: CynosdbClusterInstanceInitInfos | cdktf.IResolvable): any; export declare class CynosdbClusterInstanceInitInfosOutputReference 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(): CynosdbClusterInstanceInitInfos | cdktf.IResolvable | undefined; set internalValue(value: CynosdbClusterInstanceInitInfos | cdktf.IResolvable | undefined); private _cpu?; get cpu(): number; set cpu(value: number); get cpuInput(): number; private _deviceType?; get deviceType(): string; set deviceType(value: string); resetDeviceType(): void; get deviceTypeInput(): string; private _instanceCount?; get instanceCount(): number; set instanceCount(value: number); get instanceCountInput(): number; private _instanceType?; get instanceType(): string; set instanceType(value: string); get instanceTypeInput(): string; private _maxRoCount?; get maxRoCount(): number; set maxRoCount(value: number); resetMaxRoCount(): void; get maxRoCountInput(): number; private _maxRoCpu?; get maxRoCpu(): number; set maxRoCpu(value: number); resetMaxRoCpu(): void; get maxRoCpuInput(): number; private _memory?; get memory(): number; set memory(value: number); get memoryInput(): number; private _minRoCount?; get minRoCount(): number; set minRoCount(value: number); resetMinRoCount(): void; get minRoCountInput(): number; private _minRoCpu?; get minRoCpu(): number; set minRoCpu(value: number); resetMinRoCpu(): void; get minRoCpuInput(): number; } export declare class CynosdbClusterInstanceInitInfosList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CynosdbClusterInstanceInitInfos[] | 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): CynosdbClusterInstanceInitInfosOutputReference; } export interface CynosdbClusterParamItems { /** * Param expected value to set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#current_value CynosdbCluster#current_value} */ readonly currentValue: string; /** * Name of param, e.g. `character_set_server`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#name CynosdbCluster#name} */ readonly name: string; /** * Param old value, indicates the value which already set, this value is required when modifying current_value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#old_value CynosdbCluster#old_value} */ readonly oldValue?: string; } export declare function cynosdbClusterParamItemsToTerraform(struct?: CynosdbClusterParamItems | cdktf.IResolvable): any; export declare function cynosdbClusterParamItemsToHclTerraform(struct?: CynosdbClusterParamItems | cdktf.IResolvable): any; export declare class CynosdbClusterParamItemsOutputReference 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(): CynosdbClusterParamItems | cdktf.IResolvable | undefined; set internalValue(value: CynosdbClusterParamItems | cdktf.IResolvable | undefined); private _currentValue?; get currentValue(): string; set currentValue(value: string); get currentValueInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _oldValue?; get oldValue(): string; set oldValue(value: string); resetOldValue(): void; get oldValueInput(): string; } export declare class CynosdbClusterParamItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CynosdbClusterParamItems[] | 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): CynosdbClusterParamItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster tencentcloud_cynosdb_cluster} */ export declare class CynosdbCluster extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cynosdb_cluster"; /** * Generates CDKTF code for importing a CynosdbCluster 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 CynosdbCluster to import * @param importFromId The id of the existing CynosdbCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CynosdbCluster 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/cynosdb_cluster tencentcloud_cynosdb_cluster} 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 CynosdbClusterConfig */ constructor(scope: Construct, id: string, config: CynosdbClusterConfig); private _autoPause?; get autoPause(): string; set autoPause(value: string); resetAutoPause(): void; get autoPauseInput(): string; private _autoPauseDelay?; get autoPauseDelay(): number; set autoPauseDelay(value: number); resetAutoPauseDelay(): void; get autoPauseDelayInput(): number; private _autoRenewFlag?; get autoRenewFlag(): number; set autoRenewFlag(value: number); resetAutoRenewFlag(): void; get autoRenewFlagInput(): number; private _availableZone?; get availableZone(): string; set availableZone(value: string); get availableZoneInput(): string; private _chargeType?; get chargeType(): string; set chargeType(value: string); resetChargeType(): void; get chargeTypeInput(): string; get charset(): any; private _clusterName?; get clusterName(): string; set clusterName(value: string); get clusterNameInput(): string; get clusterStatus(): any; get createTime(): any; private _cynosVersion?; get cynosVersion(): string; set cynosVersion(value: string); resetCynosVersion(): void; get cynosVersionInput(): string; private _dbMode?; get dbMode(): string; set dbMode(value: string); resetDbMode(): void; get dbModeInput(): string; private _dbType?; get dbType(): string; set dbType(value: string); get dbTypeInput(): string; private _dbVersion?; get dbVersion(): string; set dbVersion(value: string); get dbVersionInput(): string; private _forceDelete?; get forceDelete(): boolean | cdktf.IResolvable; set forceDelete(value: boolean | cdktf.IResolvable); resetForceDelete(): void; get forceDeleteInput(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceCount?; get instanceCount(): number; set instanceCount(value: number); resetInstanceCount(): void; get instanceCountInput(): number; private _instanceCpuCore?; get instanceCpuCore(): number; set instanceCpuCore(value: number); resetInstanceCpuCore(): void; get instanceCpuCoreInput(): number; get instanceId(): any; private _instanceMaintainDuration?; get instanceMaintainDuration(): number; set instanceMaintainDuration(value: number); resetInstanceMaintainDuration(): void; get instanceMaintainDurationInput(): number; private _instanceMaintainStartTime?; get instanceMaintainStartTime(): number; set instanceMaintainStartTime(value: number); resetInstanceMaintainStartTime(): void; get instanceMaintainStartTimeInput(): number; private _instanceMaintainWeekdays?; get instanceMaintainWeekdays(): string[]; set instanceMaintainWeekdays(value: string[]); resetInstanceMaintainWeekdays(): void; get instanceMaintainWeekdaysInput(): string[]; private _instanceMemorySize?; get instanceMemorySize(): number; set instanceMemorySize(value: number); resetInstanceMemorySize(): void; get instanceMemorySizeInput(): number; get instanceName(): any; get instanceStatus(): any; get instanceStorageSize(): any; private _maxCpu?; get maxCpu(): number; set maxCpu(value: number); resetMaxCpu(): void; get maxCpuInput(): number; private _minCpu?; get minCpu(): number; set minCpu(value: number); resetMinCpu(): void; get minCpuInput(): number; private _oldIpReserveHours?; get oldIpReserveHours(): number; set oldIpReserveHours(value: number); resetOldIpReserveHours(): void; get oldIpReserveHoursInput(): number; private _paramTemplateId?; get paramTemplateId(): number; set paramTemplateId(value: number); resetParamTemplateId(): void; get paramTemplateIdInput(): number; private _password?; get password(): string; set password(value: string); get passwordInput(): string; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _prarmTemplateId?; get prarmTemplateId(): number; set prarmTemplateId(value: number); resetPrarmTemplateId(): void; get prarmTemplateIdInput(): number; private _prepaidPeriod?; get prepaidPeriod(): number; set prepaidPeriod(value: number); resetPrepaidPeriod(): void; get prepaidPeriodInput(): number; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _roGroupAddr; get roGroupAddr(): CynosdbClusterRoGroupAddrList; get roGroupId(): any; private _roGroupInstances; get roGroupInstances(): CynosdbClusterRoGroupInstancesList; private _roGroupSg?; get roGroupSg(): string[]; set roGroupSg(value: string[]); resetRoGroupSg(): void; get roGroupSgInput(): string[]; private _rwGroupAddr; get rwGroupAddr(): CynosdbClusterRwGroupAddrList; get rwGroupId(): any; private _rwGroupInstances; get rwGroupInstances(): CynosdbClusterRwGroupInstancesList; private _rwGroupSg?; get rwGroupSg(): string[]; set rwGroupSg(value: string[]); resetRwGroupSg(): void; get rwGroupSgInput(): string[]; get serverlessStatus(): any; private _serverlessStatusFlag?; get serverlessStatusFlag(): string; set serverlessStatusFlag(value: string); resetServerlessStatusFlag(): void; get serverlessStatusFlagInput(): string; private _slaveZone?; get slaveZone(): string; set slaveZone(value: string); resetSlaveZone(): void; get slaveZoneInput(): string; private _storageLimit?; get storageLimit(): number; set storageLimit(value: number); resetStorageLimit(): void; get storageLimitInput(): number; private _storagePayMode?; get storagePayMode(): number; set storagePayMode(value: number); resetStoragePayMode(): void; get storagePayModeInput(): number; get storageUsed(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; private _instanceInitInfos; get instanceInitInfos(): CynosdbClusterInstanceInitInfosList; putInstanceInitInfos(value: CynosdbClusterInstanceInitInfos[] | cdktf.IResolvable): void; resetInstanceInitInfos(): void; get instanceInitInfosInput(): any; private _paramItems; get paramItems(): CynosdbClusterParamItemsList; putParamItems(value: CynosdbClusterParamItems[] | cdktf.IResolvable): void; resetParamItems(): void; get paramItemsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }