1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getComputeVolumeTypeV3
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 network volume type in Cloud Servers. The data source finds exactly one type by UUID, default, or exact name. For more information about volume types, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const volumeType1 = selectel.getComputeVolumeTypeV3({
        projectId: project1.id,
        region: "ru-6",
        volumeTypeId: "default",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    volume_type1 = selectel.get_compute_volume_type_v3(project_id=project1["id"],
        region="ru-6",
        volume_type_id="default")
    
    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.GetComputeVolumeTypeV3(ctx, &selectel.GetComputeVolumeTypeV3Args{
    			ProjectId:    project1.Id,
    			Region:       "ru-6",
    			VolumeTypeId: pulumi.StringRef("default"),
    		}, 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 volumeType1 = Selectel.GetComputeVolumeTypeV3.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
            VolumeTypeId = "default",
        });
    
    });
    
    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.GetComputeVolumeTypeV3Args;
    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 volumeType1 = SelectelFunctions.getComputeVolumeTypeV3(GetComputeVolumeTypeV3Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .volumeTypeId("default")
                .build());
    
        }
    }
    
    variables:
      volumeType1:
        fn::invoke:
          function: selectel:getComputeVolumeTypeV3
          arguments:
            projectId: ${project1.id}
            region: ru-6
            volumeTypeId: default
    
    Example coming soon!
    

    Using getComputeVolumeTypeV3

    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 getComputeVolumeTypeV3(args: GetComputeVolumeTypeV3Args, opts?: InvokeOptions): Promise<GetComputeVolumeTypeV3Result>
    function getComputeVolumeTypeV3Output(args: GetComputeVolumeTypeV3OutputArgs, opts?: InvokeOutputOptions): Output<GetComputeVolumeTypeV3Result>
    def get_compute_volume_type_v3(name: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   region: Optional[str] = None,
                                   volume_type_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetComputeVolumeTypeV3Result
    def get_compute_volume_type_v3_output(name: pulumi.Input[Optional[str]] = None,
                                   project_id: pulumi.Input[Optional[str]] = None,
                                   region: pulumi.Input[Optional[str]] = None,
                                   volume_type_id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetComputeVolumeTypeV3Result]
    func GetComputeVolumeTypeV3(ctx *Context, args *GetComputeVolumeTypeV3Args, opts ...InvokeOption) (*GetComputeVolumeTypeV3Result, error)
    func GetComputeVolumeTypeV3Output(ctx *Context, args *GetComputeVolumeTypeV3OutputArgs, opts ...InvokeOption) GetComputeVolumeTypeV3ResultOutput

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

    public static class GetComputeVolumeTypeV3 
    {
        public static Task<GetComputeVolumeTypeV3Result> InvokeAsync(GetComputeVolumeTypeV3Args args, InvokeOptions? opts = null)
        public static Output<GetComputeVolumeTypeV3Result> Invoke(GetComputeVolumeTypeV3InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeVolumeTypeV3Result> Invoke(GetComputeVolumeTypeV3InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetComputeVolumeTypeV3Result> getComputeVolumeTypeV3(GetComputeVolumeTypeV3Args args, InvokeOptions options)
    public static Output<GetComputeVolumeTypeV3Result> getComputeVolumeTypeV3(GetComputeVolumeTypeV3Args args, InvokeOptions options)
    public static Output<GetComputeVolumeTypeV3Result> getComputeVolumeTypeV3(GetComputeVolumeTypeV3Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getComputeVolumeTypeV3:getComputeVolumeTypeV3
      arguments:
        # arguments dictionary
    data "selectel_get_compute_volume_type_v3" "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 volume type 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.
    Name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    VolumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    Name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    VolumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    volume_type_id string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    name String
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    volumeTypeId String
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    volumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    name str
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    volume_type_id str
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    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 volume type 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.
    name String
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    volumeTypeId String
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.

    getComputeVolumeTypeV3 Result

    The following output properties are available:

    Description string
    Volume type description.
    ExtraSpecs Dictionary<string, string>
    Type specifications visible to the current role.
    Id string
    Unique identifier of the volume type.
    IsPublic bool
    Whether the type is public.
    Name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    SupportsCustomIops bool
    Whether the type allows custom total_iops_sec metadata.
    VolumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    Description string
    Volume type description.
    ExtraSpecs map[string]string
    Type specifications visible to the current role.
    Id string
    Unique identifier of the volume type.
    IsPublic bool
    Whether the type is public.
    Name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    SupportsCustomIops bool
    Whether the type allows custom total_iops_sec metadata.
    VolumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    description string
    Volume type description.
    extra_specs map(string)
    Type specifications visible to the current role.
    id string
    Unique identifier of the volume type.
    is_public bool
    Whether the type is public.
    name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    supports_custom_iops bool
    Whether the type allows custom total_iops_sec metadata.
    volume_type_id string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    description String
    Volume type description.
    extraSpecs Map<String,String>
    Type specifications visible to the current role.
    id String
    Unique identifier of the volume type.
    isPublic Boolean
    Whether the type is public.
    name String
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    supportsCustomIops Boolean
    Whether the type allows custom total_iops_sec metadata.
    volumeTypeId String
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    description string
    Volume type description.
    extraSpecs {[key: string]: string}
    Type specifications visible to the current role.
    id string
    Unique identifier of the volume type.
    isPublic boolean
    Whether the type is public.
    name string
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    supportsCustomIops boolean
    Whether the type allows custom total_iops_sec metadata.
    volumeTypeId string
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    description str
    Volume type description.
    extra_specs Mapping[str, str]
    Type specifications visible to the current role.
    id str
    Unique identifier of the volume type.
    is_public bool
    Whether the type is public.
    name str
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    supports_custom_iops bool
    Whether the type allows custom total_iops_sec metadata.
    volume_type_id str
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.
    description String
    Volume type description.
    extraSpecs Map<String>
    Type specifications visible to the current role.
    id String
    Unique identifier of the volume type.
    isPublic Boolean
    Whether the type is public.
    name String
    Exact volume type name. The minimum length is 1 character. Set exactly one of volume_type_id and name. The name format is <volume_type>.<availability_zone>, for example, fast2.ru-6a for SSD Fast v2 in the ru-6a pool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI command openstack volume type list and copy the Name field. Learn more about the list of network volume types.
    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 volume type 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.
    supportsCustomIops Boolean
    Whether the type allows custom total_iops_sec metadata.
    volumeTypeId String
    Unique identifier of the volume type. The format is a lowercase UUID or default to select the default volume type. Set exactly one of volume_type_id and name. To get the volume type ID, use the OpenStack CLI command openstack volume type list and copy the ID field.

    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