import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CynosdbRollBackClusterConfig extends cdktf.TerraformMetaArguments { /** * The ID of cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#cluster_id CynosdbRollBackCluster#cluster_id} */ readonly clusterId: string; /** * Expected rollback Time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#expect_time CynosdbRollBackCluster#expect_time} */ readonly expectTime?: string; /** * Expected Threshold (Obsolete). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#expect_time_thresh CynosdbRollBackCluster#expect_time_thresh} */ readonly expectTimeThresh?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#id CynosdbRollBackCluster#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; /** * Rollback ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#rollback_id CynosdbRollBackCluster#rollback_id} */ readonly rollbackId: number; /** * Rollback mode by time point, full: normal; Db: fast; Table: Extreme speed (default is normal). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#rollback_mode CynosdbRollBackCluster#rollback_mode} */ readonly rollbackMode?: string; /** * Backfile policy timeRollback - Backfile by point in time snapRollback - Backfile by backup file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#rollback_strategy CynosdbRollBackCluster#rollback_strategy} */ readonly rollbackStrategy: string; /** * rollback_databases block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#rollback_databases CynosdbRollBackCluster#rollback_databases} */ readonly rollbackDatabases?: CynosdbRollBackClusterRollbackDatabases[] | cdktf.IResolvable; /** * rollback_tables block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#rollback_tables CynosdbRollBackCluster#rollback_tables} */ readonly rollbackTables?: CynosdbRollBackClusterRollbackTables[] | cdktf.IResolvable; } export interface CynosdbRollBackClusterRollbackDatabases { /** * New database name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#new_database CynosdbRollBackCluster#new_database} */ readonly newDatabase: string; /** * Old database name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#old_database CynosdbRollBackCluster#old_database} */ readonly oldDatabase: string; } export declare function cynosdbRollBackClusterRollbackDatabasesToTerraform(struct?: CynosdbRollBackClusterRollbackDatabases | cdktf.IResolvable): any; export declare function cynosdbRollBackClusterRollbackDatabasesToHclTerraform(struct?: CynosdbRollBackClusterRollbackDatabases | cdktf.IResolvable): any; export declare class CynosdbRollBackClusterRollbackDatabasesOutputReference 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(): CynosdbRollBackClusterRollbackDatabases | cdktf.IResolvable | undefined; set internalValue(value: CynosdbRollBackClusterRollbackDatabases | cdktf.IResolvable | undefined); private _newDatabase?; get newDatabase(): string; set newDatabase(value: string); get newDatabaseInput(): string; private _oldDatabase?; get oldDatabase(): string; set oldDatabase(value: string); get oldDatabaseInput(): string; } export declare class CynosdbRollBackClusterRollbackDatabasesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CynosdbRollBackClusterRollbackDatabases[] | 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): CynosdbRollBackClusterRollbackDatabasesOutputReference; } export interface CynosdbRollBackClusterRollbackTablesTables { /** * New table name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#new_table CynosdbRollBackCluster#new_table} */ readonly newTable: string; /** * Old table name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#old_table CynosdbRollBackCluster#old_table} */ readonly oldTable: string; } export declare function cynosdbRollBackClusterRollbackTablesTablesToTerraform(struct?: CynosdbRollBackClusterRollbackTablesTables | cdktf.IResolvable): any; export declare function cynosdbRollBackClusterRollbackTablesTablesToHclTerraform(struct?: CynosdbRollBackClusterRollbackTablesTables | cdktf.IResolvable): any; export declare class CynosdbRollBackClusterRollbackTablesTablesOutputReference 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(): CynosdbRollBackClusterRollbackTablesTables | cdktf.IResolvable | undefined; set internalValue(value: CynosdbRollBackClusterRollbackTablesTables | cdktf.IResolvable | undefined); private _newTable?; get newTable(): string; set newTable(value: string); get newTableInput(): string; private _oldTable?; get oldTable(): string; set oldTable(value: string); get oldTableInput(): string; } export declare class CynosdbRollBackClusterRollbackTablesTablesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CynosdbRollBackClusterRollbackTablesTables[] | 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): CynosdbRollBackClusterRollbackTablesTablesOutputReference; } export interface CynosdbRollBackClusterRollbackTables { /** * New database name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#database CynosdbRollBackCluster#database} */ readonly database: string; /** * tables block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#tables CynosdbRollBackCluster#tables} */ readonly tables: CynosdbRollBackClusterRollbackTablesTables[] | cdktf.IResolvable; } export declare function cynosdbRollBackClusterRollbackTablesToTerraform(struct?: CynosdbRollBackClusterRollbackTables | cdktf.IResolvable): any; export declare function cynosdbRollBackClusterRollbackTablesToHclTerraform(struct?: CynosdbRollBackClusterRollbackTables | cdktf.IResolvable): any; export declare class CynosdbRollBackClusterRollbackTablesOutputReference 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(): CynosdbRollBackClusterRollbackTables | cdktf.IResolvable | undefined; set internalValue(value: CynosdbRollBackClusterRollbackTables | cdktf.IResolvable | undefined); private _database?; get database(): string; set database(value: string); get databaseInput(): string; private _tables; get tables(): CynosdbRollBackClusterRollbackTablesTablesList; putTables(value: CynosdbRollBackClusterRollbackTablesTables[] | cdktf.IResolvable): void; get tablesInput(): any; } export declare class CynosdbRollBackClusterRollbackTablesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CynosdbRollBackClusterRollbackTables[] | 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): CynosdbRollBackClusterRollbackTablesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster tencentcloud_cynosdb_roll_back_cluster} */ export declare class CynosdbRollBackCluster extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_cynosdb_roll_back_cluster"; /** * Generates CDKTF code for importing a CynosdbRollBackCluster 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 CynosdbRollBackCluster to import * @param importFromId The id of the existing CynosdbRollBackCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/cynosdb_roll_back_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CynosdbRollBackCluster 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_roll_back_cluster tencentcloud_cynosdb_roll_back_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 CynosdbRollBackClusterConfig */ constructor(scope: Construct, id: string, config: CynosdbRollBackClusterConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _expectTime?; get expectTime(): string; set expectTime(value: string); resetExpectTime(): void; get expectTimeInput(): string; private _expectTimeThresh?; get expectTimeThresh(): number; set expectTimeThresh(value: number); resetExpectTimeThresh(): void; get expectTimeThreshInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _rollbackId?; get rollbackId(): number; set rollbackId(value: number); get rollbackIdInput(): number; private _rollbackMode?; get rollbackMode(): string; set rollbackMode(value: string); resetRollbackMode(): void; get rollbackModeInput(): string; private _rollbackStrategy?; get rollbackStrategy(): string; set rollbackStrategy(value: string); get rollbackStrategyInput(): string; private _rollbackDatabases; get rollbackDatabases(): CynosdbRollBackClusterRollbackDatabasesList; putRollbackDatabases(value: CynosdbRollBackClusterRollbackDatabases[] | cdktf.IResolvable): void; resetRollbackDatabases(): void; get rollbackDatabasesInput(): any; private _rollbackTables; get rollbackTables(): CynosdbRollBackClusterRollbackTablesList; putRollbackTables(value: CynosdbRollBackClusterRollbackTables[] | cdktf.IResolvable): void; resetRollbackTables(): void; get rollbackTablesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }