import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates a file storage share (NFS) in a public cloud project. * * ## Import * * A cloud storage file share can be imported using the `service_name` and `file_share_id`, separated by `/`: * * terraform * * import { * * to = ovh_cloud_storage_file_share.share * * id = "/" * * } * * bash * * ```sh * $ pulumi import ovh:index/cloudStorageFileShare:CloudStorageFileShare share service_name/file_share_id * ``` */ export declare class CloudStorageFileShare extends pulumi.CustomResource { /** * Get an existing CloudStorageFileShare resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CloudStorageFileShareState, opts?: pulumi.CustomResourceOptions): CloudStorageFileShare; /** * Returns true if the given object is an instance of CloudStorageFileShare. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CloudStorageFileShare; /** * Access rules for the file share. Each rule has: */ readonly accessRules: pulumi.Output; /** * Availability zone where the file share will be created. **Changing this value recreates the resource.** */ readonly availabilityZone: pulumi.Output; /** * Computed hash representing the current target specification value. */ readonly checksum: pulumi.Output; /** * Access rule creation date. */ readonly createdAt: pulumi.Output; /** * Current state of the file storage share: */ readonly currentState: pulumi.Output; /** * File share description. */ readonly description: pulumi.Output; /** * File share name. */ readonly name: pulumi.Output; /** * File share protocol (`NFS`). **Changing this value recreates the resource.** */ readonly protocol: pulumi.Output; /** * Region where the file share will be created. **Changing this value recreates the resource.** */ readonly region: pulumi.Output; /** * File share readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: pulumi.Output; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ readonly serviceName: pulumi.Output; /** * ID of a pre-existing share network to attach the file share to. **Changing this value recreates the resource.** */ readonly shareNetworkId: pulumi.Output; /** * File share type (e.g. `STANDARD_1AZ`). **Changing this value recreates the resource.** */ readonly shareType: pulumi.Output; /** * Size of the file share in GB. */ readonly size: pulumi.Output; /** * Last update date of the file share. */ readonly updatedAt: pulumi.Output; /** * Create a CloudStorageFileShare resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CloudStorageFileShareArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudStorageFileShare resources. */ export interface CloudStorageFileShareState { /** * Access rules for the file share. Each rule has: */ accessRules?: pulumi.Input[]>; /** * Availability zone where the file share will be created. **Changing this value recreates the resource.** */ availabilityZone?: pulumi.Input; /** * Computed hash representing the current target specification value. */ checksum?: pulumi.Input; /** * Access rule creation date. */ createdAt?: pulumi.Input; /** * Current state of the file storage share: */ currentState?: pulumi.Input; /** * File share description. */ description?: pulumi.Input; /** * File share name. */ name?: pulumi.Input; /** * File share protocol (`NFS`). **Changing this value recreates the resource.** */ protocol?: pulumi.Input; /** * Region where the file share will be created. **Changing this value recreates the resource.** */ region?: pulumi.Input; /** * File share readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ resourceStatus?: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; /** * ID of a pre-existing share network to attach the file share to. **Changing this value recreates the resource.** */ shareNetworkId?: pulumi.Input; /** * File share type (e.g. `STANDARD_1AZ`). **Changing this value recreates the resource.** */ shareType?: pulumi.Input; /** * Size of the file share in GB. */ size?: pulumi.Input; /** * Last update date of the file share. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a CloudStorageFileShare resource. */ export interface CloudStorageFileShareArgs { /** * Access rules for the file share. Each rule has: */ accessRules?: pulumi.Input[]>; /** * Availability zone where the file share will be created. **Changing this value recreates the resource.** */ availabilityZone?: pulumi.Input; /** * File share description. */ description?: pulumi.Input; /** * File share name. */ name?: pulumi.Input; /** * File share protocol (`NFS`). **Changing this value recreates the resource.** */ protocol: pulumi.Input; /** * Region where the file share will be created. **Changing this value recreates the resource.** */ region: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. **Changing this value recreates the resource.** */ serviceName: pulumi.Input; /** * ID of a pre-existing share network to attach the file share to. **Changing this value recreates the resource.** */ shareNetworkId: pulumi.Input; /** * File share type (e.g. `STANDARD_1AZ`). **Changing this value recreates the resource.** */ shareType: pulumi.Input; /** * Size of the file share in GB. */ size: pulumi.Input; }