import * as pulumi from "@pulumi/pulumi";
/**
 * Gets information about a database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumiverse/scaleway";
 *
 * // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
 * const myDb = scaleway.databases.getDatabase({
 *     instanceId: "11111111-1111-1111-1111-111111111111",
 *     name: "foobar",
 * });
 * ```
 */
export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseResult>;
/**
 * A collection of arguments for invoking getDatabase.
 */
export interface GetDatabaseArgs {
    /**
     * The RDB instance ID.
     */
    instanceId: string;
    /**
     * The name of the RDB instance.
     */
    name: string;
    region?: string;
}
/**
 * A collection of values returned by getDatabase.
 */
export interface GetDatabaseResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly instanceId: string;
    /**
     * Whether the database is managed or not.
     */
    readonly managed: boolean;
    readonly name: string;
    /**
     * The name of the owner of the database.
     */
    readonly owner: string;
    readonly region?: string;
    /**
     * Size of the database (in bytes).
     */
    readonly size: string;
}
/**
 * Gets information about a database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as scaleway from "@pulumiverse/scaleway";
 *
 * // Get the database foobar hosted on instance id 11111111-1111-1111-1111-111111111111
 * const myDb = scaleway.databases.getDatabase({
 *     instanceId: "11111111-1111-1111-1111-111111111111",
 *     name: "foobar",
 * });
 * ```
 */
export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseResult>;
/**
 * A collection of arguments for invoking getDatabase.
 */
export interface GetDatabaseOutputArgs {
    /**
     * The RDB instance ID.
     */
    instanceId: pulumi.Input<string>;
    /**
     * The name of the RDB instance.
     */
    name: pulumi.Input<string>;
    region?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getDatabase.d.ts.map