import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates a block storage volume backup in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const backup = new ovh.CloudStorageBlockVolumeBackup("backup", { * serviceName: "xxxxxxxxx", * name: "my-backup", * description: "Daily backup", * region: "GRA9", * volumeId: volume.id, * }); * ``` * * ## Import * * A block storage volume backup can be imported using the `service_name` and `id` separated by a `/`: * * bash * * ```sh * $ pulumi import ovh:index/cloudStorageBlockVolumeBackup:CloudStorageBlockVolumeBackup backup service_name/backup_id * ``` */ export declare class CloudStorageBlockVolumeBackup extends pulumi.CustomResource { /** * Get an existing CloudStorageBlockVolumeBackup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CloudStorageBlockVolumeBackupState, opts?: pulumi.CustomResourceOptions): CloudStorageBlockVolumeBackup; /** * Returns true if the given object is an instance of CloudStorageBlockVolumeBackup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CloudStorageBlockVolumeBackup; /** * Computed hash representing the current target specification value. */ readonly checksum: pulumi.Output; /** * Creation date of the backup. */ readonly createdAt: pulumi.Output; /** * Current state of the backup: */ readonly currentState: pulumi.Output; /** * A description for the backup. */ readonly description: pulumi.Output; /** * The name of the backup. */ readonly name: pulumi.Output; /** * The region where the backup will be created. Changing this value recreates the resource. */ readonly region: pulumi.Output; /** * Backup readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: pulumi.Output; /** * The id of the public cloud project. Changing this value recreates the resource. */ readonly serviceName: pulumi.Output; /** * Last update date of the backup. */ readonly updatedAt: pulumi.Output; /** * The ID of the volume to back up. Changing this value recreates the resource. */ readonly volumeId: pulumi.Output; /** * Create a CloudStorageBlockVolumeBackup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CloudStorageBlockVolumeBackupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudStorageBlockVolumeBackup resources. */ export interface CloudStorageBlockVolumeBackupState { /** * Computed hash representing the current target specification value. */ checksum?: pulumi.Input; /** * Creation date of the backup. */ createdAt?: pulumi.Input; /** * Current state of the backup: */ currentState?: pulumi.Input; /** * A description for the backup. */ description?: pulumi.Input; /** * The name of the backup. */ name?: pulumi.Input; /** * The region where the backup will be created. Changing this value recreates the resource. */ region?: pulumi.Input; /** * Backup readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ resourceStatus?: pulumi.Input; /** * The id of the public cloud project. Changing this value recreates the resource. */ serviceName?: pulumi.Input; /** * Last update date of the backup. */ updatedAt?: pulumi.Input; /** * The ID of the volume to back up. Changing this value recreates the resource. */ volumeId?: pulumi.Input; } /** * The set of arguments for constructing a CloudStorageBlockVolumeBackup resource. */ export interface CloudStorageBlockVolumeBackupArgs { /** * A description for the backup. */ description?: pulumi.Input; /** * The name of the backup. */ name?: pulumi.Input; /** * The region where the backup will be created. Changing this value recreates the resource. */ region: pulumi.Input; /** * The id of the public cloud project. Changing this value recreates the resource. */ serviceName?: pulumi.Input; /** * The ID of the volume to back up. Changing this value recreates the resource. */ volumeId: pulumi.Input; }