import * as pulumi from "@pulumi/pulumi"; /** * Gets information about an RDB backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const findByName = scaleway.getRdbDatabaseBackup({ * name: "mybackup", * }); * const findByNameAndInstance = scaleway.getRdbDatabaseBackup({ * instanceId: "11111111-1111-1111-1111-111111111111", * name: "mybackup", * }); * const findById = scaleway.getRdbDatabaseBackup({ * backupId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getRdbDatabaseBackup(args?: GetRdbDatabaseBackupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRdbDatabaseBackup. */ export interface GetRdbDatabaseBackupArgs { /** * The backup ID. */ backupId?: string; /** * The Database Instance ID. */ instanceId?: string; /** * The name of the RDB instance. * * > **Note** You must specify at least one: `name` and/or `backupId`. */ name?: string; /** * The ID of the project the Database Backup is associated with. */ projectId?: string; /** * `region`) The region in which the Database Backup is associated with. */ region?: string; } /** * A collection of values returned by getRdbDatabaseBackup. */ export interface GetRdbDatabaseBackupResult { readonly backupId?: string; readonly createdAt: string; readonly databaseName: string; readonly expiresAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId?: string; readonly instanceName: string; readonly name?: string; readonly projectId?: string; readonly region?: string; readonly size: number; readonly updatedAt: string; } /** * Gets information about an RDB backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const findByName = scaleway.getRdbDatabaseBackup({ * name: "mybackup", * }); * const findByNameAndInstance = scaleway.getRdbDatabaseBackup({ * instanceId: "11111111-1111-1111-1111-111111111111", * name: "mybackup", * }); * const findById = scaleway.getRdbDatabaseBackup({ * backupId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getRdbDatabaseBackupOutput(args?: GetRdbDatabaseBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRdbDatabaseBackup. */ export interface GetRdbDatabaseBackupOutputArgs { /** * The backup ID. */ backupId?: pulumi.Input; /** * The Database Instance ID. */ instanceId?: pulumi.Input; /** * The name of the RDB instance. * * > **Note** You must specify at least one: `name` and/or `backupId`. */ name?: pulumi.Input; /** * The ID of the project the Database Backup is associated with. */ projectId?: pulumi.Input; /** * `region`) The region in which the Database Backup is associated with. */ region?: pulumi.Input; }