import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides a list of Hetzner Storage Box Snapshots. * * See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const config = new pulumi.Config(); * const storageBoxId = config.requireObject("storageBoxId"); * const all = hcloud.getStorageBoxSnapshots({ * storageBoxId: storageBoxId, * }); * const byLabelSelector = hcloud.getStorageBoxSnapshots({ * storageBoxId: storageBoxId, * withSelector: "env=production", * }); * ``` */ export declare function getStorageBoxSnapshots(args: GetStorageBoxSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getStorageBoxSnapshots. */ export interface GetStorageBoxSnapshotsArgs { /** * ID of the Storage Box. */ storageBoxId: number; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getStorageBoxSnapshots. */ export interface GetStorageBoxSnapshotsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly snapshots: outputs.GetStorageBoxSnapshotsSnapshot[]; /** * ID of the Storage Box. */ readonly storageBoxId: number; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ readonly withSelector?: string; } /** * Provides a list of Hetzner Storage Box Snapshots. * * See the [Storage Box Snapshots API documentation](https://docs.hetzner.cloud/reference/hetzner#storage-box-snapshots) for more details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const config = new pulumi.Config(); * const storageBoxId = config.requireObject("storageBoxId"); * const all = hcloud.getStorageBoxSnapshots({ * storageBoxId: storageBoxId, * }); * const byLabelSelector = hcloud.getStorageBoxSnapshots({ * storageBoxId: storageBoxId, * withSelector: "env=production", * }); * ``` */ export declare function getStorageBoxSnapshotsOutput(args: GetStorageBoxSnapshotsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getStorageBoxSnapshots. */ export interface GetStorageBoxSnapshotsOutputArgs { /** * ID of the Storage Box. */ storageBoxId: pulumi.Input; /** * Filter results using a [Label Selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; }