import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMongodbInstanceSlowLogConfig extends cdktf.TerraformMetaArguments { /** * Slow log termination time, format: yyyy-mm-dd hh:mm:ss, such as: 2019-06-02 12:00:00.The time interval between the start and end of the query cannot exceed 24 hours,and only slow logs within the last 7 days are allowed to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#end_time DataTencentcloudMongodbInstanceSlowLog#end_time} */ readonly endTime: string; /** * Slow log return format. By default, the original slow log format is returned,and versions 4.4 and above can be set to json. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#format DataTencentcloudMongodbInstanceSlowLog#format} */ readonly format?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#id DataTencentcloudMongodbInstanceSlowLog#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, the format is: cmgo-9d0p6umb.Same as the instance ID displayed in the cloud database console page. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#instance_id DataTencentcloudMongodbInstanceSlowLog#instance_id} */ readonly instanceId: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#result_output_file DataTencentcloudMongodbInstanceSlowLog#result_output_file} */ readonly resultOutputFile?: string; /** * Slow log execution time threshold, return slow logs whose execution time exceeds this threshold,the unit is milliseconds (ms), and the minimum is 100 milliseconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#slow_ms DataTencentcloudMongodbInstanceSlowLog#slow_ms} */ readonly slowMs: number; /** * Slow log start time, format: yyyy-mm-dd hh:mm:ss, such as: 2019-06-01 10:00:00. The time intervalbetween the start and end of the query cannot exceed 24 hours,and only slow logs within the last 7 days are allowed to be queried. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#start_time DataTencentcloudMongodbInstanceSlowLog#start_time} */ readonly startTime: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log tencentcloud_mongodb_instance_slow_log} */ export declare class DataTencentcloudMongodbInstanceSlowLog extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mongodb_instance_slow_log"; /** * Generates CDKTF code for importing a DataTencentcloudMongodbInstanceSlowLog 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 DataTencentcloudMongodbInstanceSlowLog to import * @param importFromId The id of the existing DataTencentcloudMongodbInstanceSlowLog that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mongodb_instance_slow_log#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMongodbInstanceSlowLog 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/mongodb_instance_slow_log tencentcloud_mongodb_instance_slow_log} 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 DataTencentcloudMongodbInstanceSlowLogConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudMongodbInstanceSlowLogConfig); private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): string; private _format?; get format(): string; set format(value: string); resetFormat(): void; get formatInput(): 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 _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; get slowLogs(): any; private _slowMs?; get slowMs(): number; set slowMs(value: number); get slowMsInput(): number; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }