import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get a snapshot 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 snapshot = ovh.getCloudStorageBlockVolumeSnapshot({ * serviceName: "xxxxxxxxx", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageBlockVolumeSnapshot(args: GetCloudStorageBlockVolumeSnapshotArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudStorageBlockVolumeSnapshot. */ export interface GetCloudStorageBlockVolumeSnapshotArgs { /** * The ID of the snapshot. */ id: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudStorageBlockVolumeSnapshot. */ export interface GetCloudStorageBlockVolumeSnapshotResult { /** * Snapshot description. */ readonly description: string; readonly id: string; /** * Location of the snapshot: */ readonly location: outputs.GetCloudStorageBlockVolumeSnapshotLocation; /** * Snapshot name. */ readonly name: string; /** * Snapshot readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * Size of the snapshot in GB. */ readonly size: number; /** * ID of the snapshotted volume. */ readonly volumeId: string; } /** * Get a snapshot 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 snapshot = ovh.getCloudStorageBlockVolumeSnapshot({ * serviceName: "xxxxxxxxx", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageBlockVolumeSnapshotOutput(args: GetCloudStorageBlockVolumeSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudStorageBlockVolumeSnapshot. */ export interface GetCloudStorageBlockVolumeSnapshotOutputArgs { /** * The ID of the snapshot. */ id: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }