import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDbbrainDiagEventsConfig extends cdktf.TerraformMetaArguments { /** * end time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#end_time DataTencentcloudDbbrainDiagEvents#end_time} */ readonly endTime: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#id DataTencentcloudDbbrainDiagEvents#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 list. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#instance_ids DataTencentcloudDbbrainDiagEvents#instance_ids} */ readonly instanceIds?: string[]; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#result_output_file DataTencentcloudDbbrainDiagEvents#result_output_file} */ readonly resultOutputFile?: string; /** * severity list, optional value is 1-fatal, 2-severity, 3-warning, 4-tips, 5-health. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#severities DataTencentcloudDbbrainDiagEvents#severities} */ readonly severities?: number[]; /** * start time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#start_time DataTencentcloudDbbrainDiagEvents#start_time} */ readonly startTime: string; } export interface DataTencentcloudDbbrainDiagEventsListStruct { } export declare function dataTencentcloudDbbrainDiagEventsListStructToTerraform(struct?: DataTencentcloudDbbrainDiagEventsListStruct): any; export declare function dataTencentcloudDbbrainDiagEventsListStructToHclTerraform(struct?: DataTencentcloudDbbrainDiagEventsListStruct): any; export declare class DataTencentcloudDbbrainDiagEventsListStructOutputReference 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(): DataTencentcloudDbbrainDiagEventsListStruct | undefined; set internalValue(value: DataTencentcloudDbbrainDiagEventsListStruct | undefined); get diagItem(): any; get diagType(): any; get endTime(): any; get eventId(): any; get instanceId(): any; get metric(): any; get outline(): any; get region(): any; get severity(): any; get startTime(): any; } export declare class DataTencentcloudDbbrainDiagEventsListStructList 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): DataTencentcloudDbbrainDiagEventsListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events tencentcloud_dbbrain_diag_events} */ export declare class DataTencentcloudDbbrainDiagEvents extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dbbrain_diag_events"; /** * Generates CDKTF code for importing a DataTencentcloudDbbrainDiagEvents 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 DataTencentcloudDbbrainDiagEvents to import * @param importFromId The id of the existing DataTencentcloudDbbrainDiagEvents that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_diag_events#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDbbrainDiagEvents 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/dbbrain_diag_events tencentcloud_dbbrain_diag_events} 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 DataTencentcloudDbbrainDiagEventsConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudDbbrainDiagEventsConfig); private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _instanceIds?; get instanceIds(): string[]; set instanceIds(value: string[]); resetInstanceIds(): void; get instanceIdsInput(): string[]; private _list; get list(): DataTencentcloudDbbrainDiagEventsListStructList; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _severities?; get severities(): number[]; set severities(value: number[]); resetSeverities(): void; get severitiesInput(): number[]; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }