import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the database specified by the resource name. */ export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDatabaseArgs { catalogId: string; databaseId: string; location: string; project?: string; } export interface GetDatabaseResult { /** * The creation time of the database. */ readonly createTime: string; /** * The deletion time of the database. Only set after the database is deleted. */ readonly deleteTime: string; /** * The time when this database is considered expired. Only set after the database is deleted. */ readonly expireTime: string; /** * Options of a Hive database. */ readonly hiveOptions: outputs.biglake.v1.HiveDatabaseOptionsResponse; /** * The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */ readonly name: string; /** * The database type. */ readonly type: string; /** * The last modification time of the database. */ readonly updateTime: string; } /** * Gets the database specified by the resource name. */ export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDatabaseOutputArgs { catalogId: pulumi.Input; databaseId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }