import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataVultrDatabaseConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database#id DataVultrDatabase#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; /** * filter block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database#filter DataVultrDatabase#filter} */ readonly filter?: DataVultrDatabaseFilter[] | cdktf.IResolvable; } export interface DataVultrDatabaseReadReplicas { } export declare function dataVultrDatabaseReadReplicasToTerraform(struct?: DataVultrDatabaseReadReplicas): any; export declare function dataVultrDatabaseReadReplicasToHclTerraform(struct?: DataVultrDatabaseReadReplicas): any; export declare class DataVultrDatabaseReadReplicasOutputReference 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(): DataVultrDatabaseReadReplicas | undefined; set internalValue(value: DataVultrDatabaseReadReplicas | undefined); get backupHour(): any; get backupMinute(): any; get clusterTimeZone(): any; get databaseEngine(): any; get databaseEngineVersion(): any; get dateCreated(): any; get dbname(): any; get evictionPolicy(): any; private _ferretdbCredentials; get ferretdbCredentials(): any; get host(): any; get id(): any; get label(): any; get latestBackup(): any; get maintenanceDow(): any; get maintenanceTime(): any; get mysqlLongQueryTime(): any; get mysqlRequirePrimaryKey(): any; get mysqlSlowQueryLog(): any; get mysqlSqlModes(): any; get password(): any; get plan(): any; get planDisk(): any; get planRam(): any; get planReplicas(): any; get planVcpus(): any; get port(): any; get publicHost(): any; get region(): any; get status(): any; get tag(): any; get trustedIps(): any; get user(): any; get vpcId(): any; } export declare class DataVultrDatabaseReadReplicasList 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): DataVultrDatabaseReadReplicasOutputReference; } export interface DataVultrDatabaseFilter { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database#name DataVultrDatabase#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database#values DataVultrDatabase#values} */ readonly values: string[]; } export declare function dataVultrDatabaseFilterToTerraform(struct?: DataVultrDatabaseFilter | cdktf.IResolvable): any; export declare function dataVultrDatabaseFilterToHclTerraform(struct?: DataVultrDatabaseFilter | cdktf.IResolvable): any; export declare class DataVultrDatabaseFilterOutputReference 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(): DataVultrDatabaseFilter | cdktf.IResolvable | undefined; set internalValue(value: DataVultrDatabaseFilter | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[]; } export declare class DataVultrDatabaseFilterList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataVultrDatabaseFilter[] | 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): DataVultrDatabaseFilterOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database vultr_database} */ export declare class DataVultrDatabase extends cdktf.TerraformDataSource { static readonly tfResourceType = "vultr_database"; /** * Generates CDKTF code for importing a DataVultrDatabase 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 DataVultrDatabase to import * @param importFromId The id of the existing DataVultrDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/vultr/vultr/2.28.0/docs/data-sources/database#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataVultrDatabase 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/vultr/vultr/2.28.0/docs/data-sources/database vultr_database} 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 DataVultrDatabaseConfig = {} */ constructor(scope: Construct, id: string, config?: DataVultrDatabaseConfig); get accessCert(): any; get accessKey(): any; get backupHour(): any; get backupMinute(): any; get caCertificate(): any; get clusterTimeZone(): any; get databaseEngine(): any; get databaseEngineVersion(): any; get dateCreated(): any; get dbname(): any; get enableKafkaConnect(): any; get enableKafkaRest(): any; get enableSchemaRegistry(): any; get evictionPolicy(): any; private _ferretdbCredentials; get ferretdbCredentials(): any; get host(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get kafkaRestUri(): any; get label(): any; get latestBackup(): any; get maintenanceDow(): any; get maintenanceTime(): any; get mysqlLongQueryTime(): any; get mysqlRequirePrimaryKey(): any; get mysqlSlowQueryLog(): any; get mysqlSqlModes(): any; get password(): any; get plan(): any; get planBrokers(): any; get planDisk(): any; get planRam(): any; get planReplicas(): any; get planVcpus(): any; get port(): any; get publicHost(): any; private _readReplicas; get readReplicas(): DataVultrDatabaseReadReplicasList; get region(): any; get saslPort(): any; get schemaRegistryUri(): any; get status(): any; get tag(): any; get trustedIps(): any; get user(): any; get vpcId(): any; private _filter; get filter(): DataVultrDatabaseFilterList; putFilter(value: DataVultrDatabaseFilter[] | cdktf.IResolvable): void; resetFilter(): void; get filterInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }