import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDbbrainSlowLogsConfig extends cdktf.TerraformMetaArguments { /** * database list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#db DataTencentcloudDbbrainSlowLogs#db} */ readonly db?: string[]; /** * 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_logs#end_time DataTencentcloudDbbrainSlowLogs#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_logs#id DataTencentcloudDbbrainSlowLogs#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_logs#instance_id DataTencentcloudDbbrainSlowLogs#instance_id} */ readonly instanceId: string; /** * ip. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#ip DataTencentcloudDbbrainSlowLogs#ip} */ readonly ip?: string[]; /** * keywords. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#key DataTencentcloudDbbrainSlowLogs#key} */ readonly key?: string[]; /** * md5 value of sql template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#md5 DataTencentcloudDbbrainSlowLogs#md5} */ readonly md5: 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_logs#product DataTencentcloudDbbrainSlowLogs#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_logs#result_output_file DataTencentcloudDbbrainSlowLogs#result_output_file} */ readonly resultOutputFile?: 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_logs#start_time DataTencentcloudDbbrainSlowLogs#start_time} */ readonly startTime: string; /** * Time-consuming interval, the left and right boundaries of the time-consuming interval correspond to the 0th element and the first element of the array respectively. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#time DataTencentcloudDbbrainSlowLogs#time} */ readonly time?: number[]; /** * user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#user DataTencentcloudDbbrainSlowLogs#user} */ readonly user?: string[]; } export interface DataTencentcloudDbbrainSlowLogsRows { } export declare function dataTencentcloudDbbrainSlowLogsRowsToTerraform(struct?: DataTencentcloudDbbrainSlowLogsRows): any; export declare function dataTencentcloudDbbrainSlowLogsRowsToHclTerraform(struct?: DataTencentcloudDbbrainSlowLogsRows): any; export declare class DataTencentcloudDbbrainSlowLogsRowsOutputReference 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(): DataTencentcloudDbbrainSlowLogsRows | undefined; set internalValue(value: DataTencentcloudDbbrainSlowLogsRows | undefined); get database(): any; get lockTime(): any; get queryTime(): any; get rowsExamined(): any; get rowsSent(): any; get sqlText(): any; get timestamp(): any; get userHost(): any; get userName(): any; } export declare class DataTencentcloudDbbrainSlowLogsRowsList 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): DataTencentcloudDbbrainSlowLogsRowsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs tencentcloud_dbbrain_slow_logs} */ export declare class DataTencentcloudDbbrainSlowLogs extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dbbrain_slow_logs"; /** * Generates CDKTF code for importing a DataTencentcloudDbbrainSlowLogs 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 DataTencentcloudDbbrainSlowLogs to import * @param importFromId The id of the existing DataTencentcloudDbbrainSlowLogs that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_slow_logs#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDbbrainSlowLogs 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_logs tencentcloud_dbbrain_slow_logs} 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 DataTencentcloudDbbrainSlowLogsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudDbbrainSlowLogsConfig); private _db?; get db(): string[]; set db(value: string[]); resetDb(): void; get dbInput(): string[]; 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 _ip?; get ip(): string[]; set ip(value: string[]); resetIp(): void; get ipInput(): string[]; private _key?; get key(): string[]; set key(value: string[]); resetKey(): void; get keyInput(): string[]; private _md5?; get md5(): string; set md5(value: string); get md5Input(): string; private _product?; get product(): string; set product(value: string); get productInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _rows; get rows(): DataTencentcloudDbbrainSlowLogsRowsList; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; private _time?; get time(): number[]; set time(value: number[]); resetTime(): void; get timeInput(): number[]; private _user?; get user(): string[]; set user(value: string[]); resetUser(): void; get userInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }