import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new database. * Auto-naming is currently not supported for this resource. */ export declare class Database extends pulumi.CustomResource { /** * Get an existing Database resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Database; /** * Returns true if the given object is an instance of Database. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Database; readonly catalogId: pulumi.Output; /** * The creation time of the database. */ readonly createTime: pulumi.Output; /** * Required. The ID to use for the database, which will become the final component of the database's resource name. */ readonly databaseId: pulumi.Output; /** * The deletion time of the database. Only set after the database is deleted. */ readonly deleteTime: pulumi.Output; /** * The time when this database is considered expired. Only set after the database is deleted. */ readonly expireTime: pulumi.Output; /** * Options of a Hive database. */ readonly hiveOptions: pulumi.Output; readonly location: pulumi.Output; /** * The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The database type. */ readonly type: pulumi.Output; /** * The last modification time of the database. */ readonly updateTime: pulumi.Output; /** * Create a Database resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Database resource. */ export interface DatabaseArgs { catalogId: pulumi.Input; /** * Required. The ID to use for the database, which will become the final component of the database's resource name. */ databaseId: pulumi.Input; /** * Options of a Hive database. */ hiveOptions?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * The database type. */ type?: pulumi.Input; }