import * as pulumi from "@pulumi/pulumi"; /** * > **NOTE** Prefer using the new `ovh_cloud_storage_block_volume*` resources and data sources instead. * * Get information about a volume in 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", * volumeId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", * }); * ``` */ export declare function getVolume(args: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeArgs { /** * A valid OVHcloud public cloud region name in which the volume is available. Ex.: "GRA11". */ regionName: string; /** * The id of the public cloud project. */ serviceName: string; /** * Volume id to get the informations */ volumeId: string; } /** * A collection of values returned by getVolume. */ export interface GetVolumeResult { readonly id: string; /** * The name of the volume (E.g.: "GRA", meaning Gravelines, for region "GRA1") */ readonly name: string; /** * The region name where volume is available */ readonly regionName: string; /** * The id of the public cloud project. */ readonly serviceName: string; /** * The size of the volume */ readonly size: number; /** * The id of the volume */ readonly volumeId: string; } /** * > **NOTE** Prefer using the new `ovh_cloud_storage_block_volume*` resources and data sources instead. * * Get information about a volume in 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", * volumeId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", * }); * ``` */ export declare function getVolumeOutput(args: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeOutputArgs { /** * A valid OVHcloud public cloud region name in which the volume is available. Ex.: "GRA11". */ regionName: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; /** * Volume id to get the informations */ volumeId: pulumi.Input; }