import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMysqlSlowLogDataConfig extends cdktf.TerraformMetaArguments { /** * List of databases accessed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#data_bases DataTencentcloudMysqlSlowLogData#data_bases} */ readonly dataBases?: string[]; /** * End timestamp. For example 1585142640. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#end_time DataTencentcloudMysqlSlowLogData#end_time} */ readonly endTime: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#id DataTencentcloudMysqlSlowLogData#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; /** * Only valid when the instance is the master instance or disaster recovery instance, the optional value: slave, which means to pull the log of the slave machine. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#inst_type DataTencentcloudMysqlSlowLogData#inst_type} */ readonly instType?: string; /** * instance id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#instance_id DataTencentcloudMysqlSlowLogData#instance_id} */ readonly instanceId: string; /** * Sort in ascending or descending order. Currently supported: ASC,DESC. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#order_by DataTencentcloudMysqlSlowLogData#order_by} */ readonly orderBy?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#result_output_file DataTencentcloudMysqlSlowLogData#result_output_file} */ readonly resultOutputFile?: string; /** * Sort field. Currently supported: Timestamp, QueryTime, LockTime, RowsExamined, RowsSent. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#sort_by DataTencentcloudMysqlSlowLogData#sort_by} */ readonly sortBy?: string; /** * Start timestamp. For example 1585142640. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#start_time DataTencentcloudMysqlSlowLogData#start_time} */ readonly startTime: number; /** * List of client hosts. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#user_hosts DataTencentcloudMysqlSlowLogData#user_hosts} */ readonly userHosts?: string[]; /** * A list of client usernames. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#user_names DataTencentcloudMysqlSlowLogData#user_names} */ readonly userNames?: string[]; } export interface DataTencentcloudMysqlSlowLogDataItems { } export declare function dataTencentcloudMysqlSlowLogDataItemsToTerraform(struct?: DataTencentcloudMysqlSlowLogDataItems): any; export declare function dataTencentcloudMysqlSlowLogDataItemsToHclTerraform(struct?: DataTencentcloudMysqlSlowLogDataItems): any; export declare class DataTencentcloudMysqlSlowLogDataItemsOutputReference 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(): DataTencentcloudMysqlSlowLogDataItems | undefined; set internalValue(value: DataTencentcloudMysqlSlowLogDataItems | undefined); get database(): any; get lockTime(): any; get md5(): any; get queryTime(): any; get rowsExamined(): any; get rowsSent(): any; get sqlTemplate(): any; get sqlText(): any; get timestamp(): any; get userHost(): any; get userName(): any; } export declare class DataTencentcloudMysqlSlowLogDataItemsList 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): DataTencentcloudMysqlSlowLogDataItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data tencentcloud_mysql_slow_log_data} */ export declare class DataTencentcloudMysqlSlowLogData extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mysql_slow_log_data"; /** * Generates CDKTF code for importing a DataTencentcloudMysqlSlowLogData 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 DataTencentcloudMysqlSlowLogData to import * @param importFromId The id of the existing DataTencentcloudMysqlSlowLogData that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_slow_log_data#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMysqlSlowLogData 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/mysql_slow_log_data tencentcloud_mysql_slow_log_data} 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 DataTencentcloudMysqlSlowLogDataConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudMysqlSlowLogDataConfig); private _dataBases?; get dataBases(): string[]; set dataBases(value: string[]); resetDataBases(): void; get dataBasesInput(): string[]; private _endTime?; get endTime(): number; set endTime(value: number); get endTimeInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instType?; get instType(): string; set instType(value: string); resetInstType(): void; get instTypeInput(): string; private _instanceId?; get instanceId(): string; set instanceId(value: string); get instanceIdInput(): string; private _items; get items(): DataTencentcloudMysqlSlowLogDataItemsList; private _orderBy?; get orderBy(): string; set orderBy(value: string); resetOrderBy(): void; get orderByInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _sortBy?; get sortBy(): string; set sortBy(value: string); resetSortBy(): void; get sortByInput(): string; private _startTime?; get startTime(): number; set startTime(value: number); get startTimeInput(): number; private _userHosts?; get userHosts(): string[]; set userHosts(value: string[]); resetUserHosts(): void; get userHostsInput(): string[]; private _userNames?; get userNames(): string[]; set userNames(value: string[]); resetUserNames(): void; get userNamesInput(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }