import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGcorePostgresClusterConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#id DataGcorePostgresCluster#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 name of the PostgreSQL cluster. It must be unique within the project and region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#name DataGcorePostgresCluster#name} */ readonly name: string; /** * Project ID, only one of project_id or project_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#project_id DataGcorePostgresCluster#project_id} */ readonly projectId?: number; /** * Project name, only one of project_id or project_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#project_name DataGcorePostgresCluster#project_name} */ readonly projectName?: string; /** * Region ID, only one of region_id or region_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#region_id DataGcorePostgresCluster#region_id} */ readonly regionId?: number; /** * Region name, only one of region_id or region_name should be set * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#region_name DataGcorePostgresCluster#region_name} */ readonly regionName?: string; } export interface DataGcorePostgresClusterDatabase { } export declare function dataGcorePostgresClusterDatabaseToTerraform(struct?: DataGcorePostgresClusterDatabase): any; export declare function dataGcorePostgresClusterDatabaseToHclTerraform(struct?: DataGcorePostgresClusterDatabase): any; export declare class DataGcorePostgresClusterDatabaseOutputReference 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(): DataGcorePostgresClusterDatabase | undefined; set internalValue(value: DataGcorePostgresClusterDatabase | undefined); get name(): any; get owner(): any; get size(): any; } export declare class DataGcorePostgresClusterDatabaseList 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): DataGcorePostgresClusterDatabaseOutputReference; } export interface DataGcorePostgresClusterFlavor { } export declare function dataGcorePostgresClusterFlavorToTerraform(struct?: DataGcorePostgresClusterFlavor): any; export declare function dataGcorePostgresClusterFlavorToHclTerraform(struct?: DataGcorePostgresClusterFlavor): any; export declare class DataGcorePostgresClusterFlavorOutputReference 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(): DataGcorePostgresClusterFlavor | undefined; set internalValue(value: DataGcorePostgresClusterFlavor | undefined); get cpu(): any; get memory(): any; } export declare class DataGcorePostgresClusterFlavorList 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): DataGcorePostgresClusterFlavorOutputReference; } export interface DataGcorePostgresClusterNetwork { } export declare function dataGcorePostgresClusterNetworkToTerraform(struct?: DataGcorePostgresClusterNetwork): any; export declare function dataGcorePostgresClusterNetworkToHclTerraform(struct?: DataGcorePostgresClusterNetwork): any; export declare class DataGcorePostgresClusterNetworkOutputReference 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(): DataGcorePostgresClusterNetwork | undefined; set internalValue(value: DataGcorePostgresClusterNetwork | undefined); get acl(): any; get connectionString(): any; get host(): any; get networkType(): any; } export declare class DataGcorePostgresClusterNetworkList 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): DataGcorePostgresClusterNetworkOutputReference; } export interface DataGcorePostgresClusterPgConfig { } export declare function dataGcorePostgresClusterPgConfigToTerraform(struct?: DataGcorePostgresClusterPgConfig): any; export declare function dataGcorePostgresClusterPgConfigToHclTerraform(struct?: DataGcorePostgresClusterPgConfig): any; export declare class DataGcorePostgresClusterPgConfigOutputReference 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(): DataGcorePostgresClusterPgConfig | undefined; set internalValue(value: DataGcorePostgresClusterPgConfig | undefined); get pgConf(): any; get poolerMode(): any; get poolerType(): any; get version(): any; } export declare class DataGcorePostgresClusterPgConfigList 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): DataGcorePostgresClusterPgConfigOutputReference; } export interface DataGcorePostgresClusterStorage { } export declare function dataGcorePostgresClusterStorageToTerraform(struct?: DataGcorePostgresClusterStorage): any; export declare function dataGcorePostgresClusterStorageToHclTerraform(struct?: DataGcorePostgresClusterStorage): any; export declare class DataGcorePostgresClusterStorageOutputReference 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(): DataGcorePostgresClusterStorage | undefined; set internalValue(value: DataGcorePostgresClusterStorage | undefined); get size(): any; get type(): any; } export declare class DataGcorePostgresClusterStorageList 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): DataGcorePostgresClusterStorageOutputReference; } export interface DataGcorePostgresClusterUser { } export declare function dataGcorePostgresClusterUserToTerraform(struct?: DataGcorePostgresClusterUser): any; export declare function dataGcorePostgresClusterUserToHclTerraform(struct?: DataGcorePostgresClusterUser): any; export declare class DataGcorePostgresClusterUserOutputReference 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(): DataGcorePostgresClusterUser | undefined; set internalValue(value: DataGcorePostgresClusterUser | undefined); get isSecretRevealed(): any; get name(): any; get roleAttributes(): any; } export declare class DataGcorePostgresClusterUserList 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): DataGcorePostgresClusterUserOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster gcore_postgres_cluster} */ export declare class DataGcorePostgresCluster extends cdktf.TerraformDataSource { static readonly tfResourceType = "gcore_postgres_cluster"; /** * Generates CDKTF code for importing a DataGcorePostgresCluster 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 DataGcorePostgresCluster to import * @param importFromId The id of the existing DataGcorePostgresCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGcorePostgresCluster 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/g-core/gcore/0.32.5/docs/data-sources/postgres_cluster gcore_postgres_cluster} 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 DataGcorePostgresClusterConfig */ constructor(scope: Construct, id: string, config: DataGcorePostgresClusterConfig); get createdAt(): any; private _database; get database(): DataGcorePostgresClusterDatabaseList; private _flavor; get flavor(): DataGcorePostgresClusterFlavorList; get haReplicationMode(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _network; get network(): DataGcorePostgresClusterNetworkList; private _pgConfig; get pgConfig(): DataGcorePostgresClusterPgConfigList; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; get status(): any; private _storage; get storage(): DataGcorePostgresClusterStorageList; private _user; get user(): DataGcorePostgresClusterUserList; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }