import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get a backup of a block storage volume in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const backup = ovh.getCloudStorageBlockVolumeBackup({ * serviceName: "xxxxxxxxx", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageBlockVolumeBackup(args: GetCloudStorageBlockVolumeBackupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudStorageBlockVolumeBackup. */ export interface GetCloudStorageBlockVolumeBackupArgs { /** * The ID of the backup. */ id: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudStorageBlockVolumeBackup. */ export interface GetCloudStorageBlockVolumeBackupResult { /** * Backup description. */ readonly description: string; readonly id: string; /** * Location of the backup: */ readonly location: outputs.GetCloudStorageBlockVolumeBackupLocation; /** * Backup name. */ readonly name: string; /** * Backup readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * Size of the backup in GB. */ readonly size: number; /** * ID of the backed-up volume. */ readonly volumeId: string; } /** * Get a backup of a block storage volume in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const backup = ovh.getCloudStorageBlockVolumeBackup({ * serviceName: "xxxxxxxxx", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageBlockVolumeBackupOutput(args: GetCloudStorageBlockVolumeBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudStorageBlockVolumeBackup. */ export interface GetCloudStorageBlockVolumeBackupOutputArgs { /** * The ID of the backup. */ id: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }