import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Provides details about multiple Hetzner Cloud Volumes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const volume_ = hcloud.getVolumes({}); * const volume3 = hcloud.getVolumes({ * withSelector: "key=value", * }); * ``` */ export declare function getVolumes(args?: GetVolumesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesArgs { /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; /** * List only volumes with the specified status, could contain `creating` or `available`. */ withStatuses?: string[]; } /** * A collection of values returned by getVolumes. */ export interface GetVolumesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (list) List of all matching volumes. See `data.hcloud_volume` for schema. */ readonly volumes: outputs.GetVolumesVolume[]; readonly withSelector?: string; readonly withStatuses?: string[]; } /** * Provides details about multiple Hetzner Cloud Volumes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const volume_ = hcloud.getVolumes({}); * const volume3 = hcloud.getVolumes({ * withSelector: "key=value", * }); * ``` */ export declare function getVolumesOutput(args?: GetVolumesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesOutputArgs { /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; /** * List only volumes with the specified status, could contain `creating` or `available`. */ withStatuses?: pulumi.Input[]>; }