1. Packages
  2. Packages
  3. OVH
  4. API Docs
  5. CloudStorageFileShareNetwork
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud

    Creates a file storage share network in a public cloud project. A share network binds a Neutron network and subnet to a region so that file shares can be attached to it.

    Share networks are immutable: every argument forces the resource to be recreated when changed, and there is no update operation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const network = new ovh.CloudStorageFileShareNetwork("network", {
        serviceName: "<public cloud project ID>",
        name: "my-share-network",
        description: "Share network for my NFS shares",
        networkId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        subnetId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        region: "GRA1",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    network = ovh.CloudStorageFileShareNetwork("network",
        service_name="<public cloud project ID>",
        name="my-share-network",
        description="Share network for my NFS shares",
        network_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        subnet_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        region="GRA1")
    
    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.NewCloudStorageFileShareNetwork(ctx, "network", &ovh.CloudStorageFileShareNetworkArgs{
    			ServiceName: pulumi.String("<public cloud project ID>"),
    			Name:        pulumi.String("my-share-network"),
    			Description: pulumi.String("Share network for my NFS shares"),
    			NetworkId:   pulumi.String("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
    			SubnetId:    pulumi.String("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"),
    			Region:      pulumi.String("GRA1"),
    		})
    		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 network = new Ovh.CloudStorageFileShareNetwork("network", new()
        {
            ServiceName = "<public cloud project ID>",
            Name = "my-share-network",
            Description = "Share network for my NFS shares",
            NetworkId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            SubnetId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            Region = "GRA1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudStorageFileShareNetwork;
    import com.ovhcloud.pulumi.ovh.CloudStorageFileShareNetworkArgs;
    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 network = new CloudStorageFileShareNetwork("network", CloudStorageFileShareNetworkArgs.builder()
                .serviceName("<public cloud project ID>")
                .name("my-share-network")
                .description("Share network for my NFS shares")
                .networkId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
                .subnetId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
                .region("GRA1")
                .build());
    
        }
    }
    
    resources:
      network:
        type: ovh:CloudStorageFileShareNetwork
        properties:
          serviceName: <public cloud project ID>
          name: my-share-network
          description: Share network for my NFS shares
          networkId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
          subnetId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
          region: GRA1
    
    Example coming soon!
    

    Create CloudStorageFileShareNetwork Resource

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

    Constructor syntax

    new CloudStorageFileShareNetwork(name: string, args: CloudStorageFileShareNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def CloudStorageFileShareNetwork(resource_name: str,
                                     args: CloudStorageFileShareNetworkArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudStorageFileShareNetwork(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     network_id: Optional[str] = None,
                                     region: Optional[str] = None,
                                     service_name: Optional[str] = None,
                                     subnet_id: Optional[str] = None,
                                     description: Optional[str] = None,
                                     name: Optional[str] = None)
    func NewCloudStorageFileShareNetwork(ctx *Context, name string, args CloudStorageFileShareNetworkArgs, opts ...ResourceOption) (*CloudStorageFileShareNetwork, error)
    public CloudStorageFileShareNetwork(string name, CloudStorageFileShareNetworkArgs args, CustomResourceOptions? opts = null)
    public CloudStorageFileShareNetwork(String name, CloudStorageFileShareNetworkArgs args)
    public CloudStorageFileShareNetwork(String name, CloudStorageFileShareNetworkArgs args, CustomResourceOptions options)
    
    type: ovh:CloudStorageFileShareNetwork
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_storage_file_share_network" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudStorageFileShareNetworkArgs
    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 CloudStorageFileShareNetworkArgs
    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 CloudStorageFileShareNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudStorageFileShareNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudStorageFileShareNetworkArgs
    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 cloudStorageFileShareNetworkResource = new Ovh.CloudStorageFileShareNetwork("cloudStorageFileShareNetworkResource", new()
    {
        NetworkId = "string",
        Region = "string",
        ServiceName = "string",
        SubnetId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := ovh.NewCloudStorageFileShareNetwork(ctx, "cloudStorageFileShareNetworkResource", &ovh.CloudStorageFileShareNetworkArgs{
    	NetworkId:   pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    	SubnetId:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "ovh_cloud_storage_file_share_network" "cloudStorageFileShareNetworkResource" {
      lifecycle {
        create_before_destroy = true
      }
      network_id   = "string"
      region       = "string"
      service_name = "string"
      subnet_id    = "string"
      description  = "string"
      name         = "string"
    }
    
    var cloudStorageFileShareNetworkResource = new CloudStorageFileShareNetwork("cloudStorageFileShareNetworkResource", CloudStorageFileShareNetworkArgs.builder()
        .networkId("string")
        .region("string")
        .serviceName("string")
        .subnetId("string")
        .description("string")
        .name("string")
        .build());
    
    cloud_storage_file_share_network_resource = ovh.CloudStorageFileShareNetwork("cloudStorageFileShareNetworkResource",
        network_id="string",
        region="string",
        service_name="string",
        subnet_id="string",
        description="string",
        name="string")
    
    const cloudStorageFileShareNetworkResource = new ovh.CloudStorageFileShareNetwork("cloudStorageFileShareNetworkResource", {
        networkId: "string",
        region: "string",
        serviceName: "string",
        subnetId: "string",
        description: "string",
        name: "string",
    });
    
    type: ovh:CloudStorageFileShareNetwork
    properties:
        description: string
        name: string
        networkId: string
        region: string
        serviceName: string
        subnetId: string
    

    CloudStorageFileShareNetwork 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 CloudStorageFileShareNetwork resource accepts the following input properties:

    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    Region string
    Region where the share network 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.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Name string
    Share network name. Changing this value recreates the resource.
    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    Region string
    Region where the share network 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.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Name string
    Share network name. Changing this value recreates the resource.
    network_id string
    ID of the network backing the share network. Changing this value recreates the resource.
    region string
    Region where the share network 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.
    subnet_id string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name string
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    region String
    Region where the share network 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.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name String
    Share network name. Changing this value recreates the resource.
    networkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    region string
    Region where the share network 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.
    subnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name string
    Share network name. Changing this value recreates the resource.
    network_id str
    ID of the network backing the share network. Changing this value recreates the resource.
    region str
    Region where the share network 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.
    subnet_id str
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description str
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name str
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    region String
    Region where the share network 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.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name String
    Share network name. Changing this value recreates the resource.

    Outputs

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

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

    Look up Existing CloudStorageFileShareNetwork Resource

    Get an existing CloudStorageFileShareNetwork 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?: CloudStorageFileShareNetworkState, opts?: CustomResourceOptions): CloudStorageFileShareNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudStorageFileShareNetworkCurrentStateArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            subnet_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> CloudStorageFileShareNetwork
    func GetCloudStorageFileShareNetwork(ctx *Context, name string, id IDInput, state *CloudStorageFileShareNetworkState, opts ...ResourceOption) (*CloudStorageFileShareNetwork, error)
    public static CloudStorageFileShareNetwork Get(string name, Input<string> id, CloudStorageFileShareNetworkState? state, CustomResourceOptions? opts = null)
    public static CloudStorageFileShareNetwork get(String name, Output<String> id, CloudStorageFileShareNetworkState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudStorageFileShareNetwork    get:      id: ${id}
    import {
      to = ovh_cloud_storage_file_share_network.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:
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the share network.
    CurrentState CloudStorageFileShareNetworkCurrentState
    Current state of the file storage share network:
    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Name string
    Share network name. Changing this value recreates the resource.
    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    Region string
    Region where the share network will be created. Changing this value recreates the resource.
    ResourceStatus string
    Share network 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.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the share network.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the share network.
    CurrentState CloudStorageFileShareNetworkCurrentStateArgs
    Current state of the file storage share network:
    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Name string
    Share network name. Changing this value recreates the resource.
    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    Region string
    Region where the share network will be created. Changing this value recreates the resource.
    ResourceStatus string
    Share network 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.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the share network.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the share network.
    current_state object
    Current state of the file storage share network:
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name string
    Share network name. Changing this value recreates the resource.
    network_id string
    ID of the network backing the share network. Changing this value recreates the resource.
    region string
    Region where the share network will be created. Changing this value recreates the resource.
    resource_status string
    Share network 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.
    subnet_id string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    updated_at string
    Last update date of the share network.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the share network.
    currentState CloudStorageFileShareNetworkCurrentState
    Current state of the file storage share network:
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name String
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    region String
    Region where the share network will be created. Changing this value recreates the resource.
    resourceStatus String
    Share network 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.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.
    updatedAt String
    Last update date of the share network.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the share network.
    currentState CloudStorageFileShareNetworkCurrentState
    Current state of the file storage share network:
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name string
    Share network name. Changing this value recreates the resource.
    networkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    region string
    Region where the share network will be created. Changing this value recreates the resource.
    resourceStatus string
    Share network 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.
    subnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    updatedAt string
    Last update date of the share network.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the share network.
    current_state CloudStorageFileShareNetworkCurrentStateArgs
    Current state of the file storage share network:
    description str
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name str
    Share network name. Changing this value recreates the resource.
    network_id str
    ID of the network backing the share network. Changing this value recreates the resource.
    region str
    Region where the share network will be created. Changing this value recreates the resource.
    resource_status str
    Share network 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.
    subnet_id str
    ID of the subnet backing the share network. Changing this value recreates the resource.
    updated_at str
    Last update date of the share network.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the share network.
    currentState Property Map
    Current state of the file storage share network:
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    name String
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    region String
    Region where the share network will be created. Changing this value recreates the resource.
    resourceStatus String
    Share network 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.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.
    updatedAt String
    Last update date of the share network.

    Supporting Types

    CloudStorageFileShareNetworkCurrentState, CloudStorageFileShareNetworkCurrentStateArgs

    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Location CloudStorageFileShareNetworkCurrentStateLocation
    Current location:
    Name string
    Share network name. Changing this value recreates the resource.
    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    Description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    Location CloudStorageFileShareNetworkCurrentStateLocation
    Current location:
    Name string
    Share network name. Changing this value recreates the resource.
    NetworkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    SubnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    location object
    Current location:
    name string
    Share network name. Changing this value recreates the resource.
    network_id string
    ID of the network backing the share network. Changing this value recreates the resource.
    subnet_id string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    location CloudStorageFileShareNetworkCurrentStateLocation
    Current location:
    name String
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description string
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    location CloudStorageFileShareNetworkCurrentStateLocation
    Current location:
    name string
    Share network name. Changing this value recreates the resource.
    networkId string
    ID of the network backing the share network. Changing this value recreates the resource.
    subnetId string
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description str
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    location CloudStorageFileShareNetworkCurrentStateLocation
    Current location:
    name str
    Share network name. Changing this value recreates the resource.
    network_id str
    ID of the network backing the share network. Changing this value recreates the resource.
    subnet_id str
    ID of the subnet backing the share network. Changing this value recreates the resource.
    description String
    Share network description. When omitted, this value is computed by the API (which may return an empty value). Changing this value recreates the resource.
    location Property Map
    Current location:
    name String
    Share network name. Changing this value recreates the resource.
    networkId String
    ID of the network backing the share network. Changing this value recreates the resource.
    subnetId String
    ID of the subnet backing the share network. Changing this value recreates the resource.

    CloudStorageFileShareNetworkCurrentStateLocation, CloudStorageFileShareNetworkCurrentStateLocationArgs

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

    Import

    A cloud storage file share network can be imported using the service_name and share_network_id, separated by /:

    terraform

    import {

    to = ovh_cloud_storage_file_share_network.network

    id = “<service_name>/<share_network_id>”

    }

    bash

    $ pulumi import ovh:index/cloudStorageFileShareNetwork:CloudStorageFileShareNetwork network service_name/share_network_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.17.0
    published on Friday, Jul 17, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial