import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * A Backup and DR Backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.backupdisasterrecovery.getBackup({ * location: "us-central1", * project: "project-test", * dataSourceId: "ds-test", * backupVaultId: "bv-test", * }); * ``` */ export declare function getBackup(args: GetBackupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackup. */ export interface GetBackupArgs { /** * The ID of the Backup Vault of the Data Source in which the Backup belongs. */ backupVaultId: string; /** * The ID of the Data Source in which the Backup belongs. */ dataSourceId: string; /** * The location in which the Backup belongs. */ location: string; /** * The Google Cloud Project in which the Backup belongs. */ project: string; } /** * A collection of values returned by getBackup. */ export interface GetBackupResult { readonly backupVaultId: string; readonly backups: outputs.backupdisasterrecovery.GetBackupBackup[]; readonly createTime: string; readonly dataSourceId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly project: string; } /** * A Backup and DR Backup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.backupdisasterrecovery.getBackup({ * location: "us-central1", * project: "project-test", * dataSourceId: "ds-test", * backupVaultId: "bv-test", * }); * ``` */ export declare function getBackupOutput(args: GetBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackup. */ export interface GetBackupOutputArgs { /** * The ID of the Backup Vault of the Data Source in which the Backup belongs. */ backupVaultId: pulumi.Input; /** * The ID of the Data Source in which the Backup belongs. */ dataSourceId: pulumi.Input; /** * The location in which the Backup belongs. */ location: pulumi.Input; /** * The Google Cloud Project in which the Backup belongs. */ project: pulumi.Input; }