import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CynosdbReadonlyInstanceConfig extends cdktf.TerraformMetaArguments { /** * Cluster ID which the readonly instance belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_readonly_instance#cluster_id CynosdbReadonlyInstance#cluster_id} */ readonly clusterId: string; /** * Indicate whether to delete readonly instance directly or not. Default is false. If set true, instance 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_readonly_instance#force_delete CynosdbReadonlyInstance#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_readonly_instance#id CynosdbReadonlyInstance#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 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_readonly_instance#instance_cpu_core CynosdbReadonlyInstance#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_readonly_instance#instance_maintain_duration CynosdbReadonlyInstance#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_readonly_instance#instance_maintain_start_time CynosdbReadonlyInstance#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_readonly_instance#instance_maintain_weekdays CynosdbReadonlyInstance#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_readonly_instance#instance_memory_size CynosdbReadonlyInstance#instance_memory_size} */ readonly instanceMemorySize?: number; /** * Name of instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_readonly_instance#instance_name CynosdbReadonlyInstance#instance_name} */ readonly instanceName: string; /** * 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_readonly_instance#subnet_id CynosdbReadonlyInstance#subnet_id} */ readonly subnetId?: string; /** * ID of the VPC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_readonly_instance#vpc_id CynosdbReadonlyInstance#vpc_id} */ readonly vpcId?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_readonly_instance tencentcloud_cynosdb_readonly_instance} */ export declare class CynosdbReadonlyInstance extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cynosdb_readonly_instance"; /** * Generates CDKTF code for importing a CynosdbReadonlyInstance 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 CynosdbReadonlyInstance to import * @param importFromId The id of the existing CynosdbReadonlyInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_readonly_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CynosdbReadonlyInstance 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_readonly_instance tencentcloud_cynosdb_readonly_instance} 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 CynosdbReadonlyInstanceConfig */ constructor(scope: Construct, id: string, config: CynosdbReadonlyInstanceConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): 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 _instanceCpuCore?; get instanceCpuCore(): number; set instanceCpuCore(value: number); resetInstanceCpuCore(): void; get instanceCpuCoreInput(): number; 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; private _instanceName?; get instanceName(): string; set instanceName(value: string); get instanceNameInput(): string; get instanceStatus(): any; get instanceStorageSize(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }