import * as pulumi from "@pulumi/pulumi"; /** * Gets the details of a specific backup. */ export declare function getBackup(args: GetBackupArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetBackupArgs { backupId: string; location: string; project?: string; } export interface GetBackupResult { /** * Capacity of the source file share when the backup was created. */ readonly capacityGb: string; /** * The time when the backup was created. */ readonly createTime: string; /** * A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. */ readonly description: string; /** * Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage. */ readonly downloadBytes: string; /** * Immutable. KMS key name used for data encryption. */ readonly kmsKey: string; /** * Resource labels to represent user provided metadata. */ readonly labels: { [key: string]: string; }; /** * The resource name of the backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. */ readonly name: string; /** * Reserved for future use. */ readonly satisfiesPzs: boolean; /** * Name of the file share in the source Filestore instance that the backup is created from. */ readonly sourceFileShare: string; /** * The resource name of the source Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup. */ readonly sourceInstance: string; /** * The service tier of the source Filestore instance that this backup is created from. */ readonly sourceInstanceTier: string; /** * The backup state. */ readonly state: string; /** * The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion. */ readonly storageBytes: string; } /** * Gets the details of a specific backup. */ export declare function getBackupOutput(args: GetBackupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetBackupOutputArgs { backupId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }