import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudElasticsearchLogstashInstanceLogsConfig extends cdktf.TerraformMetaArguments { /** * Log end time, in YYYY-MM-DD HH:MM:SS format, 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_logstash_instance_logs#end_time DataTencentcloudElasticsearchLogstashInstanceLogs#end_time} */ readonly endTime?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_logstash_instance_logs#id DataTencentcloudElasticsearchLogstashInstanceLogs#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_logstash_instance_logs#instance_id DataTencentcloudElasticsearchLogstashInstanceLogs#instance_id} */ readonly instanceId: string; /** * Log type. Default 1, Valid values: * - 1: Main Log * - 2: Slow log * - 3: GC Log. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_logstash_instance_logs#log_type DataTencentcloudElasticsearchLogstashInstanceLogs#log_type} */ readonly logType: number; /** * Time sort method. Default is 0. 0: descending; 1: ascending order. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_logstash_instance_logs#order_by_type DataTencentcloudElasticsearchLogstashInstanceLogs#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_logstash_instance_logs#result_output_file DataTencentcloudElasticsearchLogstashInstanceLogs#result_output_file} */ readonly resultOutputFile?: string; /** * Search terms, 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_logstash_instance_logs#search_key DataTencentcloudElasticsearchLogstashInstanceLogs#search_key} */ readonly searchKey?: string; /** * Log start time, in YYYY-MM-DD HH:MM:SS format, 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_logstash_instance_logs#start_time DataTencentcloudElasticsearchLogstashInstanceLogs#start_time} */ readonly startTime?: string; } export interface DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStruct { } export declare function dataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructToTerraform(struct?: DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStruct): any; export declare function dataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructToHclTerraform(struct?: DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStruct): any; export declare class DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructOutputReference 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(): DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStruct | undefined; set internalValue(value: DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStruct | undefined); get ip(): any; get level(): any; get message(): any; get nodeId(): any; get time(): any; } export declare class DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructList 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): DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_logstash_instance_logs tencentcloud_elasticsearch_logstash_instance_logs} */ export declare class DataTencentcloudElasticsearchLogstashInstanceLogs extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_elasticsearch_logstash_instance_logs"; /** * Generates CDKTF code for importing a DataTencentcloudElasticsearchLogstashInstanceLogs 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 DataTencentcloudElasticsearchLogstashInstanceLogs to import * @param importFromId The id of the existing DataTencentcloudElasticsearchLogstashInstanceLogs that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/elasticsearch_logstash_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 DataTencentcloudElasticsearchLogstashInstanceLogs 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_logstash_instance_logs tencentcloud_elasticsearch_logstash_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 DataTencentcloudElasticsearchLogstashInstanceLogsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudElasticsearchLogstashInstanceLogsConfig); 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(): DataTencentcloudElasticsearchLogstashInstanceLogsInstanceLogListStructList; private _logType?; get logType(): number; set logType(value: number); 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; }; }