import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Get a file storage share (NFS) in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const share = ovh.getCloudStorageFileShare({ * serviceName: "", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageFileShare(args: GetCloudStorageFileShareArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudStorageFileShare. */ export interface GetCloudStorageFileShareArgs { /** * The ID of the file share. */ id: string; /** * The id of the public cloud project. */ serviceName: string; } /** * A collection of values returned by getCloudStorageFileShare. */ export interface GetCloudStorageFileShareResult { /** * Current access rules for the file share: */ readonly accessRules: outputs.GetCloudStorageFileShareAccessRule[]; /** * Computed hash representing the current target specification value. */ readonly checksum: string; /** * Access rule creation date. */ readonly createdAt: string; /** * Current state of the file storage share: */ readonly currentState: outputs.GetCloudStorageFileShareCurrentState; /** * File share description. */ readonly description: string; /** * Access rule ID. */ readonly id: string; /** * Current location: */ readonly location: outputs.GetCloudStorageFileShareLocation; /** * Capability name. */ readonly name: string; /** * File share protocol. */ readonly protocol: string; /** * File share readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * ID of the share network the file share is attached to. */ readonly shareNetworkId: string; /** * File share type. */ readonly shareType: string; /** * Size of the file share in GB. */ readonly size: number; /** * Last update date of the file share. */ readonly updatedAt: string; } /** * Get a file storage share (NFS) in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const share = ovh.getCloudStorageFileShare({ * serviceName: "", * id: "00000000-0000-0000-0000-000000000000", * }); * ``` */ export declare function getCloudStorageFileShareOutput(args: GetCloudStorageFileShareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudStorageFileShare. */ export interface GetCloudStorageFileShareOutputArgs { /** * The ID of the file share. */ id: pulumi.Input; /** * The id of the public cloud project. */ serviceName: pulumi.Input; }