1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getFilestorageAvailabilityZonesV2
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 list of file storage availability zones of a pool in File Storage. For more information about file storage availability, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const availabilityZones1 = selectel.getFilestorageAvailabilityZonesV2({
        projectId: project1.id,
        region: "ru-6",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    availability_zones1 = selectel.get_filestorage_availability_zones_v2(project_id=project1["id"],
        region="ru-6")
    
    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.GetFilestorageAvailabilityZonesV2(ctx, &selectel.GetFilestorageAvailabilityZonesV2Args{
    			ProjectId: project1.Id,
    			Region:    "ru-6",
    		}, 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 availabilityZones1 = Selectel.GetFilestorageAvailabilityZonesV2.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
        });
    
    });
    
    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.GetFilestorageAvailabilityZonesV2Args;
    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 availabilityZones1 = SelectelFunctions.getFilestorageAvailabilityZonesV2(GetFilestorageAvailabilityZonesV2Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .build());
    
        }
    }
    
    variables:
      availabilityZones1:
        fn::invoke:
          function: selectel:getFilestorageAvailabilityZonesV2
          arguments:
            projectId: ${project1.id}
            region: ru-6
    
    Example coming soon!
    

    Using getFilestorageAvailabilityZonesV2

    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 getFilestorageAvailabilityZonesV2(args: GetFilestorageAvailabilityZonesV2Args, opts?: InvokeOptions): Promise<GetFilestorageAvailabilityZonesV2Result>
    function getFilestorageAvailabilityZonesV2Output(args: GetFilestorageAvailabilityZonesV2OutputArgs, opts?: InvokeOutputOptions): Output<GetFilestorageAvailabilityZonesV2Result>
    def get_filestorage_availability_zones_v2(project_id: Optional[str] = None,
                                              region: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetFilestorageAvailabilityZonesV2Result
    def get_filestorage_availability_zones_v2_output(project_id: pulumi.Input[Optional[str]] = None,
                                              region: pulumi.Input[Optional[str]] = None,
                                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetFilestorageAvailabilityZonesV2Result]
    func GetFilestorageAvailabilityZonesV2(ctx *Context, args *GetFilestorageAvailabilityZonesV2Args, opts ...InvokeOption) (*GetFilestorageAvailabilityZonesV2Result, error)
    func GetFilestorageAvailabilityZonesV2Output(ctx *Context, args *GetFilestorageAvailabilityZonesV2OutputArgs, opts ...InvokeOption) GetFilestorageAvailabilityZonesV2ResultOutput

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

    public static class GetFilestorageAvailabilityZonesV2 
    {
        public static Task<GetFilestorageAvailabilityZonesV2Result> InvokeAsync(GetFilestorageAvailabilityZonesV2Args args, InvokeOptions? opts = null)
        public static Output<GetFilestorageAvailabilityZonesV2Result> Invoke(GetFilestorageAvailabilityZonesV2InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFilestorageAvailabilityZonesV2Result> Invoke(GetFilestorageAvailabilityZonesV2InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFilestorageAvailabilityZonesV2Result> getFilestorageAvailabilityZonesV2(GetFilestorageAvailabilityZonesV2Args args, InvokeOptions options)
    public static Output<GetFilestorageAvailabilityZonesV2Result> getFilestorageAvailabilityZonesV2(GetFilestorageAvailabilityZonesV2Args args, InvokeOptions options)
    public static Output<GetFilestorageAvailabilityZonesV2Result> getFilestorageAvailabilityZonesV2(GetFilestorageAvailabilityZonesV2Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getFilestorageAvailabilityZonesV2:getFilestorageAvailabilityZonesV2
      arguments:
        # arguments dictionary
    data "selectel_get_filestorage_availability_zones_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 availability zone list 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.
    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 availability zone list 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.
    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 availability zone list 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.
    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 availability zone list 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.
    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 availability zone list 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.
    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 availability zone list 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.
    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 availability zone list 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.

    getFilestorageAvailabilityZonesV2 Result

    The following output properties are available:

    Id string
    Pool of the availability zones.
    Names List<string>
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    Id string
    Pool of the availability zones.
    Names []string
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    id string
    Pool of the availability zones.
    names list(string)
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    id String
    Pool of the availability zones.
    names List<String>
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    id string
    Pool of the availability zones.
    names string[]
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    id str
    Pool of the availability zones.
    names Sequence[str]
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.
    id String
    Pool of the availability zones.
    names List<String>
    Sorted names of the file storage availability zones, for example, ru-6a.
    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 availability zone list 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.

    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