import * as pulumi from "@pulumi/pulumi"; /** * Get information on a volume for use in other resources. This data source provides all of the volumes properties as configured on your Civo account. * * An error will be raised if the provided volume name does not exist in your Civo account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const myvolume = civo.getVolume({ * name: "test-volume-name", * }); * export const volumeOutput = myvolume; * ``` */ export declare function getVolume(args?: GetVolumeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeArgs { /** * The ID of this resource. */ id?: string; /** * The name of the volume */ name?: string; /** * The region where volume is running */ region?: string; } /** * A collection of values returned by getVolume. */ export interface GetVolumeResult { /** * The date of the creation of the volume */ readonly createdAt: string; /** * The ID of this resource. */ readonly id?: string; /** * The mount point of the volume */ readonly mountPoint: string; /** * The name of the volume */ readonly name?: string; /** * The region where volume is running */ readonly region?: string; /** * The size of the volume (in GB) */ readonly sizeGb: number; } /** * Get information on a volume for use in other resources. This data source provides all of the volumes properties as configured on your Civo account. * * An error will be raised if the provided volume name does not exist in your Civo account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as civo from "@pulumi/civo"; * * const myvolume = civo.getVolume({ * name: "test-volume-name", * }); * export const volumeOutput = myvolume; * ``` */ export declare function getVolumeOutput(args?: GetVolumeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolume. */ export interface GetVolumeOutputArgs { /** * The ID of this resource. */ id?: pulumi.Input; /** * The name of the volume */ name?: pulumi.Input; /** * The region where volume is running */ region?: pulumi.Input; }