1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getFilestorageShareV2
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel

    Provides a file storage in File Storage. The data source finds the file storage by share_id or exactly one file storage of the project that matches all set selectors. Without share_id and selectors, the project must have exactly one file storage in the pool. For more information about file storage, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const share1 = selectel.getFilestorageShareV2({
        projectId: project1.id,
        region: "ru-6",
        name: "data",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    share1 = selectel.get_filestorage_share_v2(project_id=project1["id"],
        region="ru-6",
        name="data")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v9/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.LookupFilestorageShareV2(ctx, &selectel.LookupFilestorageShareV2Args{
    			ProjectId: project1.Id,
    			Region:    "ru-6",
    			Name:      pulumi.StringRef("data"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var share1 = Selectel.GetFilestorageShareV2.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
            Name = "data",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.SelectelFunctions;
    import com.pulumi.selectel.inputs.GetFilestorageShareV2Args;
    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) {
            final var share1 = SelectelFunctions.getFilestorageShareV2(GetFilestorageShareV2Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .name("data")
                .build());
    
        }
    }
    
    variables:
      share1:
        fn::invoke:
          function: selectel:getFilestorageShareV2
          arguments:
            projectId: ${project1.id}
            region: ru-6
            name: data
    
    Example coming soon!
    

    Using getFilestorageShareV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFilestorageShareV2(args: GetFilestorageShareV2Args, opts?: InvokeOptions): Promise<GetFilestorageShareV2Result>
    function getFilestorageShareV2Output(args: GetFilestorageShareV2OutputArgs, opts?: InvokeOutputOptions): Output<GetFilestorageShareV2Result>
    def get_filestorage_share_v2(description: Optional[str] = None,
                                 export_location_path: Optional[str] = None,
                                 metadata: Optional[Mapping[str, str]] = None,
                                 name: Optional[str] = None,
                                 project_id: Optional[str] = None,
                                 region: Optional[str] = None,
                                 share_id: Optional[str] = None,
                                 status: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetFilestorageShareV2Result
    def get_filestorage_share_v2_output(description: pulumi.Input[Optional[str]] = None,
                                 export_location_path: pulumi.Input[Optional[str]] = None,
                                 metadata: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                                 name: pulumi.Input[Optional[str]] = None,
                                 project_id: pulumi.Input[Optional[str]] = None,
                                 region: pulumi.Input[Optional[str]] = None,
                                 share_id: pulumi.Input[Optional[str]] = None,
                                 status: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetFilestorageShareV2Result]
    func LookupFilestorageShareV2(ctx *Context, args *LookupFilestorageShareV2Args, opts ...InvokeOption) (*LookupFilestorageShareV2Result, error)
    func LookupFilestorageShareV2Output(ctx *Context, args *LookupFilestorageShareV2OutputArgs, opts ...InvokeOption) LookupFilestorageShareV2ResultOutput

    > Note: This function is named LookupFilestorageShareV2 in the Go SDK.

    public static class GetFilestorageShareV2 
    {
        public static Task<GetFilestorageShareV2Result> InvokeAsync(GetFilestorageShareV2Args args, InvokeOptions? opts = null)
        public static Output<GetFilestorageShareV2Result> Invoke(GetFilestorageShareV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFilestorageShareV2Result> Invoke(GetFilestorageShareV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFilestorageShareV2Result> getFilestorageShareV2(GetFilestorageShareV2Args args, InvokeOptions options)
    public static Output<GetFilestorageShareV2Result> getFilestorageShareV2(GetFilestorageShareV2Args args, InvokeOptions options)
    public static Output<GetFilestorageShareV2Result> getFilestorageShareV2(GetFilestorageShareV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getFilestorageShareV2:getFilestorageShareV2
      arguments:
        # arguments dictionary
    data "selectel_get_filestorage_share_v2" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    Description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    ExportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    Metadata Dictionary<string, string>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    Name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    ShareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    Status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    Description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    ExportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    Metadata map[string]string
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    Name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    ShareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    Status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    project_id string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    export_location_path string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    metadata map(string)
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    share_id string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    description String
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocationPath String
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    metadata Map<String,String>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name String
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    shareId String
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    status String
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    metadata {[key: string]: string}
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    shareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    project_id str
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region str
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    description str
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    export_location_path str
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    metadata Mapping[str, str]
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name str
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    share_id str
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    status str
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    description String
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocationPath String
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    metadata Map<String>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name String
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    shareId String
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    status String
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.

    getFilestorageShareV2 Result

    The following output properties are available:

    AllMetadata Dictionary<string, string>
    All metadata of the file storage, including the keys added by the service.
    AvailabilityZone string
    Pool segment of the file storage.
    Description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    ExportLocations List<GetFilestorageShareV2ExportLocation>
    Paths to mount the file storage.
    Id string
    Unique identifier of the file storage.
    Ip string
    IP address of the file storage in the subnet.
    Metadata Dictionary<string, string>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    Name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    NetworkId string
    Unique identifier of the private network of the file storage.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    ShareProto string
    File storage protocol.
    ShareType string
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    Size double
    Size of the file storage in GB.
    Status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    SubnetId string
    Unique identifier of the private subnet of the file storage.
    ExportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    ShareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    AllMetadata map[string]string
    All metadata of the file storage, including the keys added by the service.
    AvailabilityZone string
    Pool segment of the file storage.
    Description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    ExportLocations []GetFilestorageShareV2ExportLocation
    Paths to mount the file storage.
    Id string
    Unique identifier of the file storage.
    Ip string
    IP address of the file storage in the subnet.
    Metadata map[string]string
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    Name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    NetworkId string
    Unique identifier of the private network of the file storage.
    ProjectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    Region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    ShareProto string
    File storage protocol.
    ShareType string
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    Size float64
    Size of the file storage in GB.
    Status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    SubnetId string
    Unique identifier of the private subnet of the file storage.
    ExportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    ShareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    all_metadata map(string)
    All metadata of the file storage, including the keys added by the service.
    availability_zone string
    Pool segment of the file storage.
    description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    export_locations list(object)
    Paths to mount the file storage.
    id string
    Unique identifier of the file storage.
    ip string
    IP address of the file storage in the subnet.
    metadata map(string)
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    network_id string
    Unique identifier of the private network of the file storage.
    project_id string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    share_proto string
    File storage protocol.
    share_type string
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    size number
    Size of the file storage in GB.
    status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    subnet_id string
    Unique identifier of the private subnet of the file storage.
    export_location_path string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    share_id string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    allMetadata Map<String,String>
    All metadata of the file storage, including the keys added by the service.
    availabilityZone String
    Pool segment of the file storage.
    description String
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocations List<GetFilestorageShareV2ExportLocation>
    Paths to mount the file storage.
    id String
    Unique identifier of the file storage.
    ip String
    IP address of the file storage in the subnet.
    metadata Map<String,String>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name String
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    networkId String
    Unique identifier of the private network of the file storage.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    shareProto String
    File storage protocol.
    shareType String
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    size Double
    Size of the file storage in GB.
    status String
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    subnetId String
    Unique identifier of the private subnet of the file storage.
    exportLocationPath String
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    shareId String
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    allMetadata {[key: string]: string}
    All metadata of the file storage, including the keys added by the service.
    availabilityZone string
    Pool segment of the file storage.
    description string
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocations GetFilestorageShareV2ExportLocation[]
    Paths to mount the file storage.
    id string
    Unique identifier of the file storage.
    ip string
    IP address of the file storage in the subnet.
    metadata {[key: string]: string}
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name string
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    networkId string
    Unique identifier of the private network of the file storage.
    projectId string
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region string
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    shareProto string
    File storage protocol.
    shareType string
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    size number
    Size of the file storage in GB.
    status string
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    subnetId string
    Unique identifier of the private subnet of the file storage.
    exportLocationPath string
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    shareId string
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    all_metadata Mapping[str, str]
    All metadata of the file storage, including the keys added by the service.
    availability_zone str
    Pool segment of the file storage.
    description str
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    export_locations Sequence[GetFilestorageShareV2ExportLocation]
    Paths to mount the file storage.
    id str
    Unique identifier of the file storage.
    ip str
    IP address of the file storage in the subnet.
    metadata Mapping[str, str]
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name str
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    network_id str
    Unique identifier of the private network of the file storage.
    project_id str
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region str
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    share_proto str
    File storage protocol.
    share_type str
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    size float
    Size of the file storage in GB.
    status str
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    subnet_id str
    Unique identifier of the private subnet of the file storage.
    export_location_path str
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    share_id str
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.
    allMetadata Map<String>
    All metadata of the file storage, including the keys added by the service.
    availabilityZone String
    Pool segment of the file storage.
    description String
    Exact description of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the description of the found file storage.
    exportLocations List<Property Map>
    Paths to mount the file storage.
    id String
    Unique identifier of the file storage.
    ip String
    IP address of the file storage in the subnet.
    metadata Map<String>
    Key-value pairs of the file storage. This argument conflicts with share_id. As a selector, it matches a file storage that has all the pairs among all its keys, including the keys of the service. When omitted, it returns the keys of the found file storage without the reserved keys, so you can copy it to selectel.FilestorageShareV2.
    name String
    Exact name of the file storage. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the name of the found file storage. To get the file storage name, use the OpenStack CLI command openstack share list and copy the Name field.
    networkId String
    Unique identifier of the private network of the file storage.
    projectId String
    Unique identifier of the associated project, for example, a07abc12310546f1b9291ab3013a7d75. The value cannot be empty or start or end with whitespace. You can retrieve the project ID from the selectelvpcproject_v2 resource. Learn more about Projects.
    region String
    Pool where the file storage is located, for example, ru-6. The value cannot be empty or start or end with whitespace. Learn more about available pools in Product availability by location.
    shareProto String
    File storage protocol.
    shareType String
    Name of the file storage type, in the form that the share_type argument of selectel.FilestorageShareV2 takes.
    size Number
    Size of the file storage in GB.
    status String
    Status of the file storage, for example, available. The minimum length is 1 character. This argument conflicts with share_id. When omitted, it returns the status of the found file storage.
    subnetId String
    Unique identifier of the private subnet of the file storage.
    exportLocationPath String
    Mount path of the file storage, for example, 192.168.199.5:/shares/share-<id>. The minimum length is 1 character. This argument conflicts with share_id.
    shareId String
    Unique identifier of the file storage. The format is a lowercase UUID. This argument conflicts with name, description, status, export_location_path, and metadata. To get the file storage ID, use the OpenStack CLI command openstack share list and copy the ID field.

    Supporting Types

    GetFilestorageShareV2ExportLocation

    Path string
    Mount path.
    Preferred bool
    Whether the API recommends this path.
    Path string
    Mount path.
    Preferred bool
    Whether the API recommends this path.
    path string
    Mount path.
    preferred bool
    Whether the API recommends this path.
    path String
    Mount path.
    preferred Boolean
    Whether the API recommends this path.
    path string
    Mount path.
    preferred boolean
    Whether the API recommends this path.
    path str
    Mount path.
    preferred bool
    Whether the API recommends this path.
    path String
    Mount path.
    preferred Boolean
    Whether the API recommends this path.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel
    Viewing docs for selectel 9.5.0
    published on Friday, Oct 30, 2026 by selectel

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial