import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataTencentcloudPostgresqlBaseBackupsConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#id DataTencentcloudPostgresqlBaseBackups#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; /** * Maximum end time of a backup in the format of `2018-01-01 00:00:00`. It is the current time by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#max_finish_time DataTencentcloudPostgresqlBaseBackups#max_finish_time} */ readonly maxFinishTime?: string; /** * Minimum end time of a backup in the format of `2018-01-01 00:00:00`. It is 7 days ago by default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#min_finish_time DataTencentcloudPostgresqlBaseBackups#min_finish_time} */ readonly minFinishTime?: string; /** * Sorting field. Valid values: `StartTime`, `FinishTime`, `Size`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#order_by DataTencentcloudPostgresqlBaseBackups#order_by} */ readonly orderBy?: string; /** * Sorting order. Valid values: `asc` (ascending), `desc` (descending). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#order_by_type DataTencentcloudPostgresqlBaseBackups#order_by_type} */ readonly orderByType?: string; /** * Used to save results. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#result_output_file DataTencentcloudPostgresqlBaseBackups#result_output_file} */ readonly resultOutputFile?: string; /** * filters block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#filters DataTencentcloudPostgresqlBaseBackups#filters} */ readonly filters?: DataTencentcloudPostgresqlBaseBackupsFilters[] | cdktf.IResolvable; } export interface DataTencentcloudPostgresqlBaseBackupsBaseBackupSet { } export declare function dataTencentcloudPostgresqlBaseBackupsBaseBackupSetToTerraform(struct?: DataTencentcloudPostgresqlBaseBackupsBaseBackupSet): any; export declare function dataTencentcloudPostgresqlBaseBackupsBaseBackupSetToHclTerraform(struct?: DataTencentcloudPostgresqlBaseBackupsBaseBackupSet): any; export declare class DataTencentcloudPostgresqlBaseBackupsBaseBackupSetOutputReference 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(): DataTencentcloudPostgresqlBaseBackupsBaseBackupSet | undefined; set internalValue(value: DataTencentcloudPostgresqlBaseBackupsBaseBackupSet | undefined); get backupMethod(): any; get backupMode(): any; get dbInstanceId(): any; get expireTime(): any; get finishTime(): any; get id(): any; get name(): any; get size(): any; get startTime(): any; get state(): any; } export declare class DataTencentcloudPostgresqlBaseBackupsBaseBackupSetList 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): DataTencentcloudPostgresqlBaseBackupsBaseBackupSetOutputReference; } export interface DataTencentcloudPostgresqlBaseBackupsFilters { /** * Filter name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#name DataTencentcloudPostgresqlBaseBackups#name} */ readonly name?: string; /** * One or more filter values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#values DataTencentcloudPostgresqlBaseBackups#values} */ readonly values?: string[]; } export declare function dataTencentcloudPostgresqlBaseBackupsFiltersToTerraform(struct?: DataTencentcloudPostgresqlBaseBackupsFilters | cdktf.IResolvable): any; export declare function dataTencentcloudPostgresqlBaseBackupsFiltersToHclTerraform(struct?: DataTencentcloudPostgresqlBaseBackupsFilters | cdktf.IResolvable): any; export declare class DataTencentcloudPostgresqlBaseBackupsFiltersOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): DataTencentcloudPostgresqlBaseBackupsFilters | cdktf.IResolvable | undefined; set internalValue(value: DataTencentcloudPostgresqlBaseBackupsFilters | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _values?; get values(): string[]; set values(value: string[]); resetValues(): void; get valuesInput(): string[]; } export declare class DataTencentcloudPostgresqlBaseBackupsFiltersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataTencentcloudPostgresqlBaseBackupsFilters[] | cdktf.IResolvable; /** * @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): DataTencentcloudPostgresqlBaseBackupsFiltersOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups tencentcloud_postgresql_base_backups} */ export declare class DataTencentcloudPostgresqlBaseBackups extends cdktf.TerraformDataSource { static readonly tfResourceType = "tencentcloud_postgresql_base_backups"; /** * Generates CDKTF code for importing a DataTencentcloudPostgresqlBaseBackups 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 DataTencentcloudPostgresqlBaseBackups to import * @param importFromId The id of the existing DataTencentcloudPostgresqlBaseBackups that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/data-sources/postgresql_base_backups#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataTencentcloudPostgresqlBaseBackups 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/postgresql_base_backups tencentcloud_postgresql_base_backups} 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 DataTencentcloudPostgresqlBaseBackupsConfig = {} */ constructor(scope: Construct, id: string, config?: DataTencentcloudPostgresqlBaseBackupsConfig); private _baseBackupSet; get baseBackupSet(): DataTencentcloudPostgresqlBaseBackupsBaseBackupSetList; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _maxFinishTime?; get maxFinishTime(): string; set maxFinishTime(value: string); resetMaxFinishTime(): void; get maxFinishTimeInput(): string; private _minFinishTime?; get minFinishTime(): string; set minFinishTime(value: string); resetMinFinishTime(): void; get minFinishTimeInput(): string; private _orderBy?; get orderBy(): string; set orderBy(value: string); resetOrderBy(): void; get orderByInput(): string; private _orderByType?; get orderByType(): string; set orderByType(value: string); resetOrderByType(): void; get orderByTypeInput(): string; private _resultOutputFile?; get resultOutputFile(): string; set resultOutputFile(value: string); resetResultOutputFile(): void; get resultOutputFileInput(): string; private _filters; get filters(): DataTencentcloudPostgresqlBaseBackupsFiltersList; putFilters(value: DataTencentcloudPostgresqlBaseBackupsFilters[] | cdktf.IResolvable): void; resetFilters(): void; get filtersInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }