import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDbbrainHealthScoresConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#id DataTencentcloudDbbrainHealthScores#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; /** * The ID of the instance whose health score needs to be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#instance_id DataTencentcloudDbbrainHealthScores#instance_id} */ readonly instanceId: string; /** * Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database TDSQL-C for MySQL, the default is mysql. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#product DataTencentcloudDbbrainHealthScores#product} */ readonly product: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#result_output_file DataTencentcloudDbbrainHealthScores#result_output_file} */ readonly resultOutputFile?: string; /** * The time to obtain the health score, the time format is as follows: 2019-09-10 12:13:14. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#time DataTencentcloudDbbrainHealthScores#time} */ readonly time: string; } export interface DataTencentcloudDbbrainHealthScoresDataIssueTypesEvents { } export declare function dataTencentcloudDbbrainHealthScoresDataIssueTypesEventsToTerraform(struct?: DataTencentcloudDbbrainHealthScoresDataIssueTypesEvents): any; export declare function dataTencentcloudDbbrainHealthScoresDataIssueTypesEventsToHclTerraform(struct?: DataTencentcloudDbbrainHealthScoresDataIssueTypesEvents): any; export declare class DataTencentcloudDbbrainHealthScoresDataIssueTypesEventsOutputReference 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(): DataTencentcloudDbbrainHealthScoresDataIssueTypesEvents | undefined; set internalValue(value: DataTencentcloudDbbrainHealthScoresDataIssueTypesEvents | undefined); get count(): any; get diagType(): any; get endTime(): any; get eventId(): any; get metric(): any; get outline(): any; get scoreLost(): any; get severity(): any; get startTime(): any; } export declare class DataTencentcloudDbbrainHealthScoresDataIssueTypesEventsList 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): DataTencentcloudDbbrainHealthScoresDataIssueTypesEventsOutputReference; } export interface DataTencentcloudDbbrainHealthScoresDataIssueTypes { } export declare function dataTencentcloudDbbrainHealthScoresDataIssueTypesToTerraform(struct?: DataTencentcloudDbbrainHealthScoresDataIssueTypes): any; export declare function dataTencentcloudDbbrainHealthScoresDataIssueTypesToHclTerraform(struct?: DataTencentcloudDbbrainHealthScoresDataIssueTypes): any; export declare class DataTencentcloudDbbrainHealthScoresDataIssueTypesOutputReference 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(): DataTencentcloudDbbrainHealthScoresDataIssueTypes | undefined; set internalValue(value: DataTencentcloudDbbrainHealthScoresDataIssueTypes | undefined); private _events; get events(): DataTencentcloudDbbrainHealthScoresDataIssueTypesEventsList; get issueType(): any; get totalCount(): any; } export declare class DataTencentcloudDbbrainHealthScoresDataIssueTypesList 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): DataTencentcloudDbbrainHealthScoresDataIssueTypesOutputReference; } export interface DataTencentcloudDbbrainHealthScoresData { } export declare function dataTencentcloudDbbrainHealthScoresDataToTerraform(struct?: DataTencentcloudDbbrainHealthScoresData): any; export declare function dataTencentcloudDbbrainHealthScoresDataToHclTerraform(struct?: DataTencentcloudDbbrainHealthScoresData): any; export declare class DataTencentcloudDbbrainHealthScoresDataOutputReference 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(): DataTencentcloudDbbrainHealthScoresData | undefined; set internalValue(value: DataTencentcloudDbbrainHealthScoresData | undefined); get eventsTotalCount(): any; get healthLevel(): any; get healthScore(): any; private _issueTypes; get issueTypes(): DataTencentcloudDbbrainHealthScoresDataIssueTypesList; } export declare class DataTencentcloudDbbrainHealthScoresDataList 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): DataTencentcloudDbbrainHealthScoresDataOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores tencentcloud_dbbrain_health_scores} */ export declare class DataTencentcloudDbbrainHealthScores extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dbbrain_health_scores"; /** * Generates CDKTF code for importing a DataTencentcloudDbbrainHealthScores 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 DataTencentcloudDbbrainHealthScores to import * @param importFromId The id of the existing DataTencentcloudDbbrainHealthScores that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_health_scores#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDbbrainHealthScores 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_health_scores tencentcloud_dbbrain_health_scores} 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 DataTencentcloudDbbrainHealthScoresConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudDbbrainHealthScoresConfig); private _data; get data(): DataTencentcloudDbbrainHealthScoresDataList; 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 _product?; get product(): string; set product(value: string); get productInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _time?; get time(): string; set time(value: string); get timeInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }