import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * > **NOTE** Prefer using the new `ovh_cloud_storage_block_volume*` resources and data sources instead. * * Get all the volume from a region of a public cloud project * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const volume = ovh.CloudProject.getVolume({ * regionName: "xxx", * serviceName: "yyy", * }); * ``` */ export declare function getVolumes(args: GetVolumesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesArgs { /** * A valid OVHcloud public cloud region name in which the volumes are available. Ex.: "GRA11". */ regionName: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getVolumes. */ export interface GetVolumesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The region name where volumes are available */ readonly regionName: string; /** * The id of the public cloud project. */ readonly serviceName: string; readonly volumes: outputs.CloudProject.GetVolumesVolume[]; } /** * > **NOTE** Prefer using the new `ovh_cloud_storage_block_volume*` resources and data sources instead. * * Get all the volume from a region of a public cloud project * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const volume = ovh.CloudProject.getVolume({ * regionName: "xxx", * serviceName: "yyy", * }); * ``` */ export declare function getVolumesOutput(args: GetVolumesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumes. */ export interface GetVolumesOutputArgs { /** * A valid OVHcloud public cloud region name in which the volumes are available. Ex.: "GRA11". */ regionName: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }