import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for ClickHouse database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getClickhouseDatabase({ * project: "my-project", * serviceName: "my-clickhouse", * name: "testdb", * }); * ``` */ export declare function getClickhouseDatabase(args: GetClickhouseDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClickhouseDatabase. */ export interface GetClickhouseDatabaseArgs { /** * Service database name. */ name: string; /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetClickhouseDatabaseTimeouts; } /** * A collection of values returned by getClickhouseDatabase. */ export interface GetClickhouseDatabaseResult { /** * Resource ID composed as: `project/service_name/name`. */ readonly id: string; /** * Service database name. */ readonly name: string; /** * Project name. */ readonly project: string; /** * Service name. */ readonly serviceName: string; /** * Client-side deletion protection that prevents the resource from being deleted by Terraform. **Resource can still be deleted in the Aiven Console**. The default value is `false`. **Deprecated**: Instead, use `preventDestroy` * * @deprecated Instead, use [`preventDestroy`](https://developer.hashicorp.com/terraform/tutorials/state/resource-lifecycle#prevent-resource-deletion) */ readonly terminationProtection: boolean; readonly timeouts?: outputs.GetClickhouseDatabaseTimeouts; } /** * Gets information about an Aiven for ClickHouse database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getClickhouseDatabase({ * project: "my-project", * serviceName: "my-clickhouse", * name: "testdb", * }); * ``` */ export declare function getClickhouseDatabaseOutput(args: GetClickhouseDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClickhouseDatabase. */ export interface GetClickhouseDatabaseOutputArgs { /** * Service database name. */ name: pulumi.Input; /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=getClickhouseDatabase.d.ts.map