import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single backup. */ export declare function getBackup(args: GetBackupArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetBackupArgs { backupId: string; location: string; project?: string; serviceId: string; } export interface GetBackupResult { /** * The time when the backup was started. */ readonly createTime: string; /** * The description of the backup. */ readonly description: string; /** * The time when the backup finished creating. */ readonly endTime: string; /** * Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */ readonly name: string; /** * Services that are restoring from the backup. */ readonly restoringServices: string[]; /** * The revision of the service at the time of backup. */ readonly serviceRevision: outputs.metastore.v1.ServiceResponse; /** * The current state of the backup. */ readonly state: string; } /** * Gets details of a single backup. */ export declare function getBackupOutput(args: GetBackupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetBackupOutputArgs { backupId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; serviceId: pulumi.Input; }