import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * List the file storage shares (NFS) in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const shares = ovh.getCloudStorageFileShares({ * serviceName: "", * }); * ``` * * Filter the shares by region: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const shares = ovh.getCloudStorageFileShares({ * serviceName: "", * region: "GRA9", * }); * ``` */ export declare function getCloudStorageFileShares(args: GetCloudStorageFileSharesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudStorageFileShares. */ export interface GetCloudStorageFileSharesArgs { /** * If set, only file shares located in this region are returned. */ region?: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudStorageFileShares. */ export interface GetCloudStorageFileSharesResult { /** * List of file shares: */ readonly fileShares: outputs.GetCloudStorageFileSharesFileShare[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Region. */ readonly region?: string; readonly serviceName: string; } /** * List the file storage shares (NFS) in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const shares = ovh.getCloudStorageFileShares({ * serviceName: "", * }); * ``` * * Filter the shares by region: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const shares = ovh.getCloudStorageFileShares({ * serviceName: "", * region: "GRA9", * }); * ``` */ export declare function getCloudStorageFileSharesOutput(args: GetCloudStorageFileSharesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudStorageFileShares. */ export interface GetCloudStorageFileSharesOutputArgs { /** * If set, only file shares located in this region are returned. */ region?: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }