import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * List the snapshots 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 snapshots = ovh.getCloudStorageBlockVolumeSnapshots({ * serviceName: "xxxxxxxxx", * region: "GRA9", * volumeId: volume.id, * }); * ``` */ export declare function getCloudStorageBlockVolumeSnapshots(args: GetCloudStorageBlockVolumeSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudStorageBlockVolumeSnapshots. */ export interface GetCloudStorageBlockVolumeSnapshotsArgs { /** * The region where the snapshots reside. */ region: string; /** * The id of the public cloud project. */ serviceName: string; /** * The ID of the volume whose snapshots to list. */ volumeId: string; } /** * A collection of values returned by getCloudStorageBlockVolumeSnapshots. */ export interface GetCloudStorageBlockVolumeSnapshotsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Region. */ readonly region: string; readonly serviceName: string; /** * List of snapshots for the volume: */ readonly snapshots: outputs.GetCloudStorageBlockVolumeSnapshotsSnapshot[]; /** * ID of the snapshotted volume. */ readonly volumeId: string; } /** * List the snapshots 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 snapshots = ovh.getCloudStorageBlockVolumeSnapshots({ * serviceName: "xxxxxxxxx", * region: "GRA9", * volumeId: volume.id, * }); * ``` */ export declare function getCloudStorageBlockVolumeSnapshotsOutput(args: GetCloudStorageBlockVolumeSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudStorageBlockVolumeSnapshots. */ export interface GetCloudStorageBlockVolumeSnapshotsOutputArgs { /** * The region where the snapshots reside. */ region: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; /** * The ID of the volume whose snapshots to list. */ volumeId: pulumi.Input; }