1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. CloudStorageFileShare
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud

    Creates a file storage share (NFS) in a public cloud project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const share = new ovh.CloudStorageFileShare("share", {
        serviceName: "<Public cloud project id>",
        name: "my-share",
        size: 150,
        region: "GRA1",
        protocol: "NFS",
        shareType: "STANDARD_1AZ",
        shareNetworkId: "<share network id>",
        description: "My NFS share",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    share = ovh.CloudStorageFileShare("share",
        service_name="<Public cloud project id>",
        name="my-share",
        size=150,
        region="GRA1",
        protocol="NFS",
        share_type="STANDARD_1AZ",
        share_network_id="<share network id>",
        description="My NFS share")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.NewCloudStorageFileShare(ctx, "share", &ovh.CloudStorageFileShareArgs{
    			ServiceName:    pulumi.String("<Public cloud project id>"),
    			Name:           pulumi.String("my-share"),
    			Size:           pulumi.Int(150),
    			Region:         pulumi.String("GRA1"),
    			Protocol:       pulumi.String("NFS"),
    			ShareType:      pulumi.String("STANDARD_1AZ"),
    			ShareNetworkId: pulumi.String("<share network id>"),
    			Description:    pulumi.String("My NFS share"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var share = new Ovh.CloudStorageFileShare("share", new()
        {
            ServiceName = "<Public cloud project id>",
            Name = "my-share",
            Size = 150,
            Region = "GRA1",
            Protocol = "NFS",
            ShareType = "STANDARD_1AZ",
            ShareNetworkId = "<share network id>",
            Description = "My NFS share",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudStorageFileShare;
    import com.ovhcloud.pulumi.ovh.CloudStorageFileShareArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var share = new CloudStorageFileShare("share", CloudStorageFileShareArgs.builder()
                .serviceName("<Public cloud project id>")
                .name("my-share")
                .size(150)
                .region("GRA1")
                .protocol("NFS")
                .shareType("STANDARD_1AZ")
                .shareNetworkId("<share network id>")
                .description("My NFS share")
                .build());
    
        }
    }
    
    resources:
      share:
        type: ovh:CloudStorageFileShare
        properties:
          serviceName: <Public cloud project id>
          name: my-share
          size: 150
          region: GRA1
          protocol: NFS
          shareType: STANDARD_1AZ
          shareNetworkId: <share network id>
          description: My NFS share
    
    Example coming soon!
    

    Create CloudStorageFileShare Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudStorageFileShare(name: string, args: CloudStorageFileShareArgs, opts?: CustomResourceOptions);
    @overload
    def CloudStorageFileShare(resource_name: str,
                              args: CloudStorageFileShareArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudStorageFileShare(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              protocol: Optional[str] = None,
                              region: Optional[str] = None,
                              service_name: Optional[str] = None,
                              share_network_id: Optional[str] = None,
                              share_type: Optional[str] = None,
                              size: Optional[int] = None,
                              availability_zone: Optional[str] = None,
                              description: Optional[str] = None,
                              name: Optional[str] = None)
    func NewCloudStorageFileShare(ctx *Context, name string, args CloudStorageFileShareArgs, opts ...ResourceOption) (*CloudStorageFileShare, error)
    public CloudStorageFileShare(string name, CloudStorageFileShareArgs args, CustomResourceOptions? opts = null)
    public CloudStorageFileShare(String name, CloudStorageFileShareArgs args)
    public CloudStorageFileShare(String name, CloudStorageFileShareArgs args, CustomResourceOptions options)
    
    type: ovh:CloudStorageFileShare
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_storage_file_share" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudStorageFileShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudStorageFileShareArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudStorageFileShareArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudStorageFileShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudStorageFileShareArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudStorageFileShareResource = new Ovh.CloudStorageFileShare("cloudStorageFileShareResource", new()
    {
        Protocol = "string",
        Region = "string",
        ServiceName = "string",
        ShareNetworkId = "string",
        ShareType = "string",
        Size = 0,
        AvailabilityZone = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := ovh.NewCloudStorageFileShare(ctx, "cloudStorageFileShareResource", &ovh.CloudStorageFileShareArgs{
    	Protocol:         pulumi.String("string"),
    	Region:           pulumi.String("string"),
    	ServiceName:      pulumi.String("string"),
    	ShareNetworkId:   pulumi.String("string"),
    	ShareType:        pulumi.String("string"),
    	Size:             pulumi.Int(0),
    	AvailabilityZone: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    })
    
    resource "ovh_cloud_storage_file_share" "cloudStorageFileShareResource" {
      lifecycle {
        create_before_destroy = true
      }
      protocol          = "string"
      region            = "string"
      service_name      = "string"
      share_network_id  = "string"
      share_type        = "string"
      size              = 0
      availability_zone = "string"
      description       = "string"
      name              = "string"
    }
    
    var cloudStorageFileShareResource = new CloudStorageFileShare("cloudStorageFileShareResource", CloudStorageFileShareArgs.builder()
        .protocol("string")
        .region("string")
        .serviceName("string")
        .shareNetworkId("string")
        .shareType("string")
        .size(0)
        .availabilityZone("string")
        .description("string")
        .name("string")
        .build());
    
    cloud_storage_file_share_resource = ovh.CloudStorageFileShare("cloudStorageFileShareResource",
        protocol="string",
        region="string",
        service_name="string",
        share_network_id="string",
        share_type="string",
        size=0,
        availability_zone="string",
        description="string",
        name="string")
    
    const cloudStorageFileShareResource = new ovh.CloudStorageFileShare("cloudStorageFileShareResource", {
        protocol: "string",
        region: "string",
        serviceName: "string",
        shareNetworkId: "string",
        shareType: "string",
        size: 0,
        availabilityZone: "string",
        description: "string",
        name: "string",
    });
    
    type: ovh:CloudStorageFileShare
    properties:
        availabilityZone: string
        description: string
        name: string
        protocol: string
        region: string
        serviceName: string
        shareNetworkId: string
        shareType: string
        size: 0
    

    CloudStorageFileShare Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudStorageFileShare resource accepts the following input properties:

    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Description string
    File share description.
    Name string
    File share name.
    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Description string
    File share description.
    Name string
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    service_name string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    share_network_id string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    availability_zone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    description string
    File share description.
    name string
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Integer
    Size of the file share in GB.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    description String
    File share description.
    name String
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    serviceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    availabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    description string
    File share description.
    name string
    File share name.
    protocol str
    File share protocol (NFS). Changing this value recreates the resource.
    region str
    Region where the file share will be created. Changing this value recreates the resource.
    service_name str
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    share_network_id str
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type str
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size int
    Size of the file share in GB.
    availability_zone str
    Availability zone where the file share will be created. Changing this value recreates the resource.
    description str
    File share description.
    name str
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Number
    Size of the file share in GB.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    description String
    File share description.
    name String
    File share name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudStorageFileShare resource produces the following output properties:

    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the file share.
    CurrentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the file share.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the file share.
    CurrentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the file share.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the file share.
    current_state object
    Current state of the file storage share:
    id string
    The provider-assigned unique ID for this managed resource.
    resource_status string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at string
    Last update date of the file share.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the file share.
    currentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the file share.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the file share.
    currentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    id string
    The provider-assigned unique ID for this managed resource.
    resourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt string
    Last update date of the file share.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the file share.
    current_state CloudStorageFileShareCurrentState
    Current state of the file storage share:
    id str
    The provider-assigned unique ID for this managed resource.
    resource_status str
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at str
    Last update date of the file share.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the file share.
    currentState Property Map
    Current state of the file storage share:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the file share.

    Look up Existing CloudStorageFileShare Resource

    Get an existing CloudStorageFileShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudStorageFileShareState, opts?: CustomResourceOptions): CloudStorageFileShare
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudStorageFileShareCurrentStateArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[str] = None,
            region: Optional[str] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            share_network_id: Optional[str] = None,
            share_type: Optional[str] = None,
            size: Optional[int] = None,
            updated_at: Optional[str] = None) -> CloudStorageFileShare
    func GetCloudStorageFileShare(ctx *Context, name string, id IDInput, state *CloudStorageFileShareState, opts ...ResourceOption) (*CloudStorageFileShare, error)
    public static CloudStorageFileShare Get(string name, Input<string> id, CloudStorageFileShareState? state, CustomResourceOptions? opts = null)
    public static CloudStorageFileShare get(String name, Output<String> id, CloudStorageFileShareState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudStorageFileShare    get:      id: ${id}
    import {
      to = ovh_cloud_storage_file_share.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the file share.
    CurrentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    Description string
    File share description.
    Name string
    File share name.
    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    ResourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    UpdatedAt string
    Last update date of the file share.
    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the file share.
    CurrentState CloudStorageFileShareCurrentStateArgs
    Current state of the file storage share:
    Description string
    File share description.
    Name string
    File share name.
    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    ResourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    UpdatedAt string
    Last update date of the file share.
    availability_zone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the file share.
    current_state object
    Current state of the file storage share:
    description string
    File share description.
    name string
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    resource_status string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    share_network_id string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    updated_at string
    Last update date of the file share.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the file share.
    currentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    description String
    File share description.
    name String
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.
    resourceStatus String
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Integer
    Size of the file share in GB.
    updatedAt String
    Last update date of the file share.
    availabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the file share.
    currentState CloudStorageFileShareCurrentState
    Current state of the file storage share:
    description string
    File share description.
    name string
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    resourceStatus string
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName string
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    updatedAt string
    Last update date of the file share.
    availability_zone str
    Availability zone where the file share will be created. Changing this value recreates the resource.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the file share.
    current_state CloudStorageFileShareCurrentStateArgs
    Current state of the file storage share:
    description str
    File share description.
    name str
    File share name.
    protocol str
    File share protocol (NFS). Changing this value recreates the resource.
    region str
    Region where the file share will be created. Changing this value recreates the resource.
    resource_status str
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name str
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    share_network_id str
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type str
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size int
    Size of the file share in GB.
    updated_at str
    Last update date of the file share.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the file share.
    currentState Property Map
    Current state of the file storage share:
    description String
    File share description.
    name String
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.
    resourceStatus String
    File share readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    Service name of the resource representing the id of the cloud project. Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Number
    Size of the file share in GB.
    updatedAt String
    Last update date of the file share.

    Supporting Types

    CloudStorageFileShareCurrentState, CloudStorageFileShareCurrentStateArgs

    Capabilities List<CloudStorageFileShareCurrentStateCapability>
    Action-availability flags derived from the file share status:
    Description string
    File share description.
    ExportLocations List<CloudStorageFileShareCurrentStateExportLocation>
    Export locations for the file share:
    Location CloudStorageFileShareCurrentStateLocation
    Current location:
    Name string
    File share name.
    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    Capabilities []CloudStorageFileShareCurrentStateCapability
    Action-availability flags derived from the file share status:
    Description string
    File share description.
    ExportLocations []CloudStorageFileShareCurrentStateExportLocation
    Export locations for the file share:
    Location CloudStorageFileShareCurrentStateLocation
    Current location:
    Name string
    File share name.
    Protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    ShareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    ShareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    Size int
    Size of the file share in GB.
    capabilities list(object)
    Action-availability flags derived from the file share status:
    description string
    File share description.
    export_locations list(object)
    Export locations for the file share:
    location object
    Current location:
    name string
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    share_network_id string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    capabilities List<CloudStorageFileShareCurrentStateCapability>
    Action-availability flags derived from the file share status:
    description String
    File share description.
    exportLocations List<CloudStorageFileShareCurrentStateExportLocation>
    Export locations for the file share:
    location CloudStorageFileShareCurrentStateLocation
    Current location:
    name String
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Integer
    Size of the file share in GB.
    capabilities CloudStorageFileShareCurrentStateCapability[]
    Action-availability flags derived from the file share status:
    description string
    File share description.
    exportLocations CloudStorageFileShareCurrentStateExportLocation[]
    Export locations for the file share:
    location CloudStorageFileShareCurrentStateLocation
    Current location:
    name string
    File share name.
    protocol string
    File share protocol (NFS). Changing this value recreates the resource.
    shareNetworkId string
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType string
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size number
    Size of the file share in GB.
    capabilities Sequence[CloudStorageFileShareCurrentStateCapability]
    Action-availability flags derived from the file share status:
    description str
    File share description.
    export_locations Sequence[CloudStorageFileShareCurrentStateExportLocation]
    Export locations for the file share:
    location CloudStorageFileShareCurrentStateLocation
    Current location:
    name str
    File share name.
    protocol str
    File share protocol (NFS). Changing this value recreates the resource.
    share_network_id str
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    share_type str
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size int
    Size of the file share in GB.
    capabilities List<Property Map>
    Action-availability flags derived from the file share status:
    description String
    File share description.
    exportLocations List<Property Map>
    Export locations for the file share:
    location Property Map
    Current location:
    name String
    File share name.
    protocol String
    File share protocol (NFS). Changing this value recreates the resource.
    shareNetworkId String
    ID of a pre-existing share network to attach the file share to. Changing this value recreates the resource.
    shareType String
    File share type (e.g. STANDARD_1AZ). Changing this value recreates the resource.
    size Number
    Size of the file share in GB.

    CloudStorageFileShareCurrentStateCapability, CloudStorageFileShareCurrentStateCapabilityArgs

    Enabled bool
    Whether the capability is enabled.
    Name string
    File share name.
    Reason string
    Reason why the capability is disabled, when applicable.
    Enabled bool
    Whether the capability is enabled.
    Name string
    File share name.
    Reason string
    Reason why the capability is disabled, when applicable.
    enabled bool
    Whether the capability is enabled.
    name string
    File share name.
    reason string
    Reason why the capability is disabled, when applicable.
    enabled Boolean
    Whether the capability is enabled.
    name String
    File share name.
    reason String
    Reason why the capability is disabled, when applicable.
    enabled boolean
    Whether the capability is enabled.
    name string
    File share name.
    reason string
    Reason why the capability is disabled, when applicable.
    enabled bool
    Whether the capability is enabled.
    name str
    File share name.
    reason str
    Reason why the capability is disabled, when applicable.
    enabled Boolean
    Whether the capability is enabled.
    name String
    File share name.
    reason String
    Reason why the capability is disabled, when applicable.

    CloudStorageFileShareCurrentStateExportLocation, CloudStorageFileShareCurrentStateExportLocationArgs

    Path string
    Export path.
    Preferred bool
    Whether this is the preferred export location.
    Path string
    Export path.
    Preferred bool
    Whether this is the preferred export location.
    path string
    Export path.
    preferred bool
    Whether this is the preferred export location.
    path String
    Export path.
    preferred Boolean
    Whether this is the preferred export location.
    path string
    Export path.
    preferred boolean
    Whether this is the preferred export location.
    path str
    Export path.
    preferred bool
    Whether this is the preferred export location.
    path String
    Export path.
    preferred Boolean
    Whether this is the preferred export location.

    CloudStorageFileShareCurrentStateLocation, CloudStorageFileShareCurrentStateLocationArgs

    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    AvailabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    Region string
    Region where the file share will be created. Changing this value recreates the resource.
    availability_zone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.
    availabilityZone string
    Availability zone where the file share will be created. Changing this value recreates the resource.
    region string
    Region where the file share will be created. Changing this value recreates the resource.
    availability_zone str
    Availability zone where the file share will be created. Changing this value recreates the resource.
    region str
    Region where the file share will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone where the file share will be created. Changing this value recreates the resource.
    region String
    Region where the file share will be created. Changing this value recreates the resource.

    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 = “<service_name>/<file_share_id>”

    }

    bash

    $ pulumi import ovh:index/cloudStorageFileShare:CloudStorageFileShare share service_name/file_share_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.19.1
    published on Tuesday, Aug 18, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial