import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataYandexMdbClickhouseDatabaseConfig extends cdktf.TerraformMetaArguments { /** * ID of the ClickHouse cluster. Provided by the client when the database is created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#cluster_id DataYandexMdbClickhouseDatabase#cluster_id} */ readonly clusterId: string; /** * The name of the database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#name DataYandexMdbClickhouseDatabase#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#timeouts DataYandexMdbClickhouseDatabase#timeouts} */ readonly timeouts?: DataYandexMdbClickhouseDatabaseTimeouts; } export interface DataYandexMdbClickhouseDatabaseTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#create DataYandexMdbClickhouseDatabase#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#delete DataYandexMdbClickhouseDatabase#delete} */ readonly delete?: string; } export declare function dataYandexMdbClickhouseDatabaseTimeoutsToTerraform(struct?: DataYandexMdbClickhouseDatabaseTimeouts | cdktf.IResolvable): any; export declare function dataYandexMdbClickhouseDatabaseTimeoutsToHclTerraform(struct?: DataYandexMdbClickhouseDatabaseTimeouts | cdktf.IResolvable): any; export declare class DataYandexMdbClickhouseDatabaseTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DataYandexMdbClickhouseDatabaseTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DataYandexMdbClickhouseDatabaseTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database yandex_mdb_clickhouse_database} */ export declare class DataYandexMdbClickhouseDatabase extends cdktf.TerraformDataSource { static readonly tfResourceType = "yandex_mdb_clickhouse_database"; /** * Generates CDKTF code for importing a DataYandexMdbClickhouseDatabase 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 DataYandexMdbClickhouseDatabase to import * @param importFromId The id of the existing DataYandexMdbClickhouseDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataYandexMdbClickhouseDatabase 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/yandex-cloud/yandex/0.177.0/docs/data-sources/mdb_clickhouse_database yandex_mdb_clickhouse_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 DataYandexMdbClickhouseDatabaseConfig */ constructor(scope: Construct, id: string, config: DataYandexMdbClickhouseDatabaseConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; get engine(): any; get id(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _timeouts; get timeouts(): DataYandexMdbClickhouseDatabaseTimeoutsOutputReference; putTimeouts(value: DataYandexMdbClickhouseDatabaseTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }