import * as pulumi from "@pulumi/pulumi"; /** * Gets the DatabaseInstance identified by the specified resource name. */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetInstanceArgs { instanceId: string; location: string; project?: string; } export interface GetInstanceResult { /** * Output Only. The globally unique hostname of the database. */ readonly databaseUrl: string; /** * The fully qualified resource name of the database instance, in the form: `projects/{project-number}/locations/{location-id}/instances/{database-id}`. */ readonly name: string; /** * The resource name of the project this instance belongs to. For example: `projects/{project-number}`. */ readonly project: string; /** * The database's lifecycle state. Read-only. */ readonly state: string; /** * Immutable. The database instance type. On creation only USER_DATABASE is allowed, which is also the default when omitted. */ readonly type: string; } /** * Gets the DatabaseInstance identified by the specified resource name. */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetInstanceOutputArgs { instanceId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }