import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudMysqlErrorLogConfig extends cdktf.TerraformMetaArguments { /** * End timestamp. For example 1585142640. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log#end_time DataTencentcloudMysqlErrorLog#end_time} */ readonly endTime: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log#id DataTencentcloudMysqlErrorLog#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_error_log#inst_type DataTencentcloudMysqlErrorLog#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_error_log#instance_id DataTencentcloudMysqlErrorLog#instance_id} */ readonly instanceId: string; /** * A list of keywords to match, up to 15 keywords are supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log#key_words DataTencentcloudMysqlErrorLog#key_words} */ readonly keyWords?: string[]; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log#result_output_file DataTencentcloudMysqlErrorLog#result_output_file} */ readonly resultOutputFile?: 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_error_log#start_time DataTencentcloudMysqlErrorLog#start_time} */ readonly startTime: number; } export interface DataTencentcloudMysqlErrorLogItems { } export declare function dataTencentcloudMysqlErrorLogItemsToTerraform(struct?: DataTencentcloudMysqlErrorLogItems): any; export declare function dataTencentcloudMysqlErrorLogItemsToHclTerraform(struct?: DataTencentcloudMysqlErrorLogItems): any; export declare class DataTencentcloudMysqlErrorLogItemsOutputReference 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(): DataTencentcloudMysqlErrorLogItems | undefined; set internalValue(value: DataTencentcloudMysqlErrorLogItems | undefined); get content(): any; get timestamp(): any; } export declare class DataTencentcloudMysqlErrorLogItemsList 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): DataTencentcloudMysqlErrorLogItemsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log tencentcloud_mysql_error_log} */ export declare class DataTencentcloudMysqlErrorLog extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_mysql_error_log"; /** * Generates CDKTF code for importing a DataTencentcloudMysqlErrorLog 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 DataTencentcloudMysqlErrorLog to import * @param importFromId The id of the existing DataTencentcloudMysqlErrorLog that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/mysql_error_log#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudMysqlErrorLog 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_error_log tencentcloud_mysql_error_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 DataTencentcloudMysqlErrorLogConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudMysqlErrorLogConfig); 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(): DataTencentcloudMysqlErrorLogItemsList; private _keyWords?; get keyWords(): string[]; set keyWords(value: string[]); resetKeyWords(): void; get keyWordsInput(): string[]; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _startTime?; get startTime(): number; set startTime(value: number); get startTimeInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }