import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDbbrainSlowLogTopSqlsConfig extends cdktf.TerraformMetaArguments { /** * The deadline, such as `2019-09-11 10:13:14`, the interval between the deadline and the start time is less than 7 days. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#end_time DataTencentcloudDbbrainSlowLogTopSqls#end_time} */ readonly endTime: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#id DataTencentcloudDbbrainSlowLogTopSqls#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/data-sources/dbbrain_slow_log_top_sqls#instance_id DataTencentcloudDbbrainSlowLogTopSqls#instance_id} */ readonly instanceId: string; /** * The sorting method supports ASC (ascending) and DESC (descending). The default is DESC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#order_by DataTencentcloudDbbrainSlowLogTopSqls#order_by} */ readonly orderBy?: string; /** * Service product type, supported values include: `mysql` - cloud database MySQL, `cynosdb` - cloud database CynosDB for MySQL, the default is `mysql`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#product DataTencentcloudDbbrainSlowLogTopSqls#product} */ readonly product?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#result_output_file DataTencentcloudDbbrainSlowLogTopSqls#result_output_file} */ readonly resultOutputFile?: string; /** * Sort key, currently supports sort keys such as QueryTime, ExecTimes, RowsSent, LockTime and RowsExamined, the default is QueryTime. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#sort_by DataTencentcloudDbbrainSlowLogTopSqls#sort_by} */ readonly sortBy?: string; /** * Start time, such as `2019-09-10 12:13:14`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#start_time DataTencentcloudDbbrainSlowLogTopSqls#start_time} */ readonly startTime: string; /** * schema_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#schema_list DataTencentcloudDbbrainSlowLogTopSqls#schema_list} */ readonly schemaList?: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct[] | cdktf.IResolvable; } export interface DataTencentcloudDbbrainSlowLogTopSqlsRows { } export declare function dataTencentcloudDbbrainSlowLogTopSqlsRowsToTerraform(struct?: DataTencentcloudDbbrainSlowLogTopSqlsRows): any; export declare function dataTencentcloudDbbrainSlowLogTopSqlsRowsToHclTerraform(struct?: DataTencentcloudDbbrainSlowLogTopSqlsRows): any; export declare class DataTencentcloudDbbrainSlowLogTopSqlsRowsOutputReference 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(): DataTencentcloudDbbrainSlowLogTopSqlsRows | undefined; set internalValue(value: DataTencentcloudDbbrainSlowLogTopSqlsRows | undefined); get execTimes(): any; get lockTime(): any; get lockTimeAvg(): any; get lockTimeMax(): any; get lockTimeMin(): any; get lockTimeRatio(): any; get md5(): any; get queryTime(): any; get queryTimeAvg(): any; get queryTimeMax(): any; get queryTimeMin(): any; get queryTimeRatio(): any; get rowsExamined(): any; get rowsExaminedAvg(): any; get rowsExaminedMax(): any; get rowsExaminedMin(): any; get rowsExaminedRatio(): any; get rowsSent(): any; get rowsSentAvg(): any; get rowsSentMax(): any; get rowsSentMin(): any; get rowsSentRatio(): any; get schema(): any; get sqlTemplate(): any; get sqlText(): any; } export declare class DataTencentcloudDbbrainSlowLogTopSqlsRowsList 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): DataTencentcloudDbbrainSlowLogTopSqlsRowsOutputReference; } export interface DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct { /** * DB name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#schema DataTencentcloudDbbrainSlowLogTopSqls#schema} */ readonly schema: string; } export declare function dataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructToTerraform(struct?: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct | cdktf.IResolvable): any; export declare function dataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructToHclTerraform(struct?: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct | cdktf.IResolvable): any; export declare class DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructOutputReference 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(): DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct | cdktf.IResolvable | undefined); private _schema?; get schema(): string; set schema(value: string); get schemaInput(): string; } export declare class DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct[] | 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): DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls tencentcloud_dbbrain_slow_log_top_sqls} */ export declare class DataTencentcloudDbbrainSlowLogTopSqls extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dbbrain_slow_log_top_sqls"; /** * Generates CDKTF code for importing a DataTencentcloudDbbrainSlowLogTopSqls 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 DataTencentcloudDbbrainSlowLogTopSqls to import * @param importFromId The id of the existing DataTencentcloudDbbrainSlowLogTopSqls that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_log_top_sqls#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDbbrainSlowLogTopSqls 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/data-sources/dbbrain_slow_log_top_sqls tencentcloud_dbbrain_slow_log_top_sqls} Data Source * * @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 DataTencentcloudDbbrainSlowLogTopSqlsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudDbbrainSlowLogTopSqlsConfig); private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): 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; private _orderBy?; get orderBy(): string; set orderBy(value: string); resetOrderBy(): void; get orderByInput(): string; private _product?; get product(): string; set product(value: string); resetProduct(): void; get productInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _rows; get rows(): DataTencentcloudDbbrainSlowLogTopSqlsRowsList; private _sortBy?; get sortBy(): string; set sortBy(value: string); resetSortBy(): void; get sortByInput(): string; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; private _schemaList; get schemaList(): DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStructList; putSchemaList(value: DataTencentcloudDbbrainSlowLogTopSqlsSchemaListStruct[] | cdktf.IResolvable): void; resetSchemaList(): void; get schemaListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }