import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudDbbrainTopSpaceTablesConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_top_space_tables#id DataTencentcloudDbbrainTopSpaceTables#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/dbbrain_top_space_tables#instance_id DataTencentcloudDbbrainTopSpaceTables#instance_id} */ readonly instanceId: string; /** * The number of Top tables returned, the maximum value is 100, and the default is 20. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_top_space_tables#limit DataTencentcloudDbbrainTopSpaceTables#limit} */ readonly limit?: number; /** * Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB 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_top_space_tables#product DataTencentcloudDbbrainTopSpaceTables#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_top_space_tables#result_output_file DataTencentcloudDbbrainTopSpaceTables#result_output_file} */ readonly resultOutputFile?: string; /** * The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_top_space_tables#sort_by DataTencentcloudDbbrainTopSpaceTables#sort_by} */ readonly sortBy?: string; } export interface DataTencentcloudDbbrainTopSpaceTablesTopSpaceTables { } export declare function dataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesToTerraform(struct?: DataTencentcloudDbbrainTopSpaceTablesTopSpaceTables): any; export declare function dataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesToHclTerraform(struct?: DataTencentcloudDbbrainTopSpaceTablesTopSpaceTables): any; export declare class DataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesOutputReference 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(): DataTencentcloudDbbrainTopSpaceTablesTopSpaceTables | undefined; set internalValue(value: DataTencentcloudDbbrainTopSpaceTablesTopSpaceTables | undefined); get dataFree(): any; get dataLength(): any; get engine(): any; get fragRatio(): any; get indexLength(): any; get physicalFileSize(): any; get tableName(): any; get tableRows(): any; get tableSchema(): any; get totalLength(): any; } export declare class DataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesList 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): DataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_top_space_tables tencentcloud_dbbrain_top_space_tables} */ export declare class DataTencentcloudDbbrainTopSpaceTables extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_dbbrain_top_space_tables"; /** * Generates CDKTF code for importing a DataTencentcloudDbbrainTopSpaceTables 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 DataTencentcloudDbbrainTopSpaceTables to import * @param importFromId The id of the existing DataTencentcloudDbbrainTopSpaceTables that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/dbbrain_top_space_tables#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudDbbrainTopSpaceTables 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_top_space_tables tencentcloud_dbbrain_top_space_tables} 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 DataTencentcloudDbbrainTopSpaceTablesConfig */ constructor(scope: Construct, id: string, config: DataTencentcloudDbbrainTopSpaceTablesConfig); 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 _limit?; get limit(): number; set limit(value: number); resetLimit(): void; get limitInput(): number; private _product?; get product(): string; set product(value: string); resetProduct(): void; get productInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _sortBy?; get sortBy(): string; set sortBy(value: string); resetSortBy(): void; get sortByInput(): string; get timestamp(): any; private _topSpaceTables; get topSpaceTables(): DataTencentcloudDbbrainTopSpaceTablesTopSpaceTablesList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }