import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves a resource containing information about a database inside a Cloud SQL instance. */ export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDatabaseArgs { database: string; instance: string; project?: string; } export interface GetDatabaseResult { /** * The Cloud SQL charset value. */ readonly charset: string; /** * The Cloud SQL collation value. */ readonly collation: string; /** * This field is deprecated and will be removed from a future version of the API. * * @deprecated This field is deprecated and will be removed from a future version of the API. */ readonly etag: string; /** * The name of the Cloud SQL instance. This does not include the project ID. */ readonly instance: string; /** * This is always `sql#database`. */ readonly kind: string; /** * The name of the database in the Cloud SQL instance. This does not include the project ID or instance name. */ readonly name: string; /** * The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. */ readonly project: string; /** * The URI of this resource. */ readonly selfLink: string; readonly sqlserverDatabaseDetails: outputs.sqladmin.v1.SqlServerDatabaseDetailsResponse; } /** * Retrieves a resource containing information about a database inside a Cloud SQL instance. */ export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDatabaseOutputArgs { database: pulumi.Input; instance: pulumi.Input; project?: pulumi.Input; }