import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a database. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myDb = scaleway.getRdbDatabase({ * instanceId: "11111111-1111-1111-1111-111111111111", * name: "foobar", * }); * ``` */ export declare function getRdbDatabase(args: GetRdbDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRdbDatabase. */ export interface GetRdbDatabaseArgs { /** * The RDB instance ID. */ instanceId: string; /** * The name of the RDB instance. */ name: string; region?: string; } /** * A collection of values returned by getRdbDatabase. */ export interface GetRdbDatabaseResult { /** * 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 "@pulumi/scaleway"; * * const myDb = scaleway.getRdbDatabase({ * instanceId: "11111111-1111-1111-1111-111111111111", * name: "foobar", * }); * ``` */ export declare function getRdbDatabaseOutput(args: GetRdbDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRdbDatabase. */ export interface GetRdbDatabaseOutputArgs { /** * The RDB instance ID. */ instanceId: pulumi.Input; /** * The name of the RDB instance. */ name: pulumi.Input; region?: pulumi.Input; }