import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudElasticsearchInstanceLogsConfig extends cdktf.TerraformMetaArguments { /** * End time. The format is YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#end_time DataTencentcloudElasticsearchInstanceLogs#end_time} */ readonly endTime?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#id DataTencentcloudElasticsearchInstanceLogs#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/elasticsearch_instance_logs#instance_id DataTencentcloudElasticsearchInstanceLogs#instance_id} */ readonly instanceId: string; /** * Log type. Log type, default is 1, Valid values: * - 1: master log * - 2: Search slow log * - 3: Index slow log * - 4: GC log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#log_type DataTencentcloudElasticsearchInstanceLogs#log_type} */ readonly logType?: number; /** * Order type. Time sort method. Default is 0, valid values: * - 0: descending; * - 1: ascending order. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#order_by_type DataTencentcloudElasticsearchInstanceLogs#order_by_type} */ readonly orderByType?: number; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#result_output_file DataTencentcloudElasticsearchInstanceLogs#result_output_file} */ readonly resultOutputFile?: string; /** * Search key. Support LUCENE syntax, such as level:WARN, ip:1.1.1.1, message:test-index, etc. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#search_key DataTencentcloudElasticsearchInstanceLogs#search_key} */ readonly searchKey?: string; /** * Start time. The format is YYYY-MM-DD HH:MM:SS, such as 2019-01-22 20:15:53. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#start_time DataTencentcloudElasticsearchInstanceLogs#start_time} */ readonly startTime?: string; } export interface DataTencentcloudElasticsearchInstanceLogsInstanceLogListStruct { } export declare function dataTencentcloudElasticsearchInstanceLogsInstanceLogListStructToTerraform(struct?: DataTencentcloudElasticsearchInstanceLogsInstanceLogListStruct): any; export declare function dataTencentcloudElasticsearchInstanceLogsInstanceLogListStructToHclTerraform(struct?: DataTencentcloudElasticsearchInstanceLogsInstanceLogListStruct): any; export declare class DataTencentcloudElasticsearchInstanceLogsInstanceLogListStructOutputReference 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(): DataTencentcloudElasticsearchInstanceLogsInstanceLogListStruct | undefined; set internalValue(value: DataTencentcloudElasticsearchInstanceLogsInstanceLogListStruct | undefined); get ip(): any; get level(): any; get message(): any; get nodeId(): any; get time(): any; } export declare class DataTencentcloudElasticsearchInstanceLogsInstanceLogListStructList 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): DataTencentcloudElasticsearchInstanceLogsInstanceLogListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs tencentcloud_elasticsearch_instance_logs} */ export declare class DataTencentcloudElasticsearchInstanceLogs extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_elasticsearch_instance_logs"; /** * Generates CDKTF code for importing a DataTencentcloudElasticsearchInstanceLogs 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 DataTencentcloudElasticsearchInstanceLogs to import * @param importFromId The id of the existing DataTencentcloudElasticsearchInstanceLogs that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_instance_logs#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudElasticsearchInstanceLogs 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/elasticsearch_instance_logs tencentcloud_elasticsearch_instance_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 DataTencentcloudElasticsearchInstanceLogsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudElasticsearchInstanceLogsConfig); private _endTime?; get endTime(): string; set endTime(value: string); resetEndTime(): void; 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 _instanceLogList; get instanceLogList(): DataTencentcloudElasticsearchInstanceLogsInstanceLogListStructList; private _logType?; get logType(): number; set logType(value: number); resetLogType(): void; get logTypeInput(): number; private _orderByType?; get orderByType(): number; set orderByType(value: number); resetOrderByType(): void; get orderByTypeInput(): number; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _searchKey?; get searchKey(): string; set searchKey(value: string); resetSearchKey(): void; get searchKeyInput(): string; private _startTime?; get startTime(): string; set startTime(value: string); resetStartTime(): void; get startTimeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }