import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudCdwpgLogConfig extends cdktf.TerraformMetaArguments { /** * Database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#database DataTencentcloudCdwpgLog#database} */ readonly database?: string; /** * Filter duration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#duration DataTencentcloudCdwpgLog#duration} */ readonly duration?: number; /** * End time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#end_time DataTencentcloudCdwpgLog#end_time} */ readonly endTime: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#id DataTencentcloudCdwpgLog#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/cdwpg_log#instance_id DataTencentcloudCdwpgLog#instance_id} */ readonly instanceId: string; /** * Sort by. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#order_by DataTencentcloudCdwpgLog#order_by} */ readonly orderBy?: string; /** * Ascending/Descending. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#order_by_type DataTencentcloudCdwpgLog#order_by_type} */ readonly orderByType?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#result_output_file DataTencentcloudCdwpgLog#result_output_file} */ readonly resultOutputFile?: string; /** * Start time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#start_time DataTencentcloudCdwpgLog#start_time} */ readonly startTime: string; } export interface DataTencentcloudCdwpgLogErrorLogDetails { } export declare function dataTencentcloudCdwpgLogErrorLogDetailsToTerraform(struct?: DataTencentcloudCdwpgLogErrorLogDetails): any; export declare function dataTencentcloudCdwpgLogErrorLogDetailsToHclTerraform(struct?: DataTencentcloudCdwpgLogErrorLogDetails): any; export declare class DataTencentcloudCdwpgLogErrorLogDetailsOutputReference 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(): DataTencentcloudCdwpgLogErrorLogDetails | undefined; set internalValue(value: DataTencentcloudCdwpgLogErrorLogDetails | undefined); get database(): any; get errorMessage(): any; get errorTime(): any; get userName(): any; } export declare class DataTencentcloudCdwpgLogErrorLogDetailsList 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): DataTencentcloudCdwpgLogErrorLogDetailsOutputReference; } export interface DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerys { } export declare function dataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysToTerraform(struct?: DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerys): any; export declare function dataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysToHclTerraform(struct?: DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerys): any; export declare class DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysOutputReference 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(): DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerys | undefined; set internalValue(value: DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerys | undefined); get callTimes(): any; get clientIp(): any; get costTime(): any; get databaseName(): any; get firstTime(): any; get lastTime(): any; get maxCostTime(): any; get maxElapsedQuery(): any; get minCostTime(): any; get normalQuery(): any; get readCostTime(): any; get sharedReadBlocks(): any; get sharedWriteBlocks(): any; get totalCallTimesPercent(): any; get totalCostTimePercent(): any; get userName(): any; get writeCostTime(): any; } export declare class DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysList 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): DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysOutputReference; } export interface DataTencentcloudCdwpgLogSlowLogDetails { } export declare function dataTencentcloudCdwpgLogSlowLogDetailsToTerraform(struct?: DataTencentcloudCdwpgLogSlowLogDetails): any; export declare function dataTencentcloudCdwpgLogSlowLogDetailsToHclTerraform(struct?: DataTencentcloudCdwpgLogSlowLogDetails): any; export declare class DataTencentcloudCdwpgLogSlowLogDetailsOutputReference 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(): DataTencentcloudCdwpgLogSlowLogDetails | undefined; set internalValue(value: DataTencentcloudCdwpgLogSlowLogDetails | undefined); private _normalQuerys; get normalQuerys(): DataTencentcloudCdwpgLogSlowLogDetailsNormalQuerysList; get totalCallTimes(): any; get totalTime(): any; } export declare class DataTencentcloudCdwpgLogSlowLogDetailsList 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): DataTencentcloudCdwpgLogSlowLogDetailsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log tencentcloud_cdwpg_log} */ export declare class DataTencentcloudCdwpgLog extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_cdwpg_log"; /** * Generates CDKTF code for importing a DataTencentcloudCdwpgLog 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 DataTencentcloudCdwpgLog to import * @param importFromId The id of the existing DataTencentcloudCdwpgLog that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/cdwpg_log#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudCdwpgLog 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/cdwpg_log tencentcloud_cdwpg_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 DataTencentcloudCdwpgLogConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudCdwpgLogConfig); private _database?; get database(): string; set database(value: string); resetDatabase(): void; get databaseInput(): string; private _duration?; get duration(): number; set duration(value: number); resetDuration(): void; get durationInput(): number; private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): string; private _errorLogDetails; get errorLogDetails(): DataTencentcloudCdwpgLogErrorLogDetailsList; 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 _orderByType?; get orderByType(): string; set orderByType(value: string); resetOrderByType(): void; get orderByTypeInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _slowLogDetails; get slowLogDetails(): DataTencentcloudCdwpgLogSlowLogDetailsList; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }