1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. getComputeVolumeV3
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 in Cloud Servers. The data source finds the volume by volume_id or by any combination of name, status, and metadata. The search must return exactly one network volume. If volume_id and search criteria are not specified, there must be exactly one network volume in the specified project and pool. For more information about network volumes, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const volume1 = selectel.getComputeVolumeV3({
        projectId: project1.id,
        region: "ru-6",
        volumeId: volume1SelectelComputeVolumeV3.id,
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    volume1 = selectel.get_compute_volume_v3(project_id=project1["id"],
        region="ru-6",
        volume_id=volume1_selectel_compute_volume_v3["id"])
    
    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.LookupComputeVolumeV3(ctx, &selectel.LookupComputeVolumeV3Args{
    			ProjectId: project1.Id,
    			Region:    "ru-6",
    			VolumeId:  pulumi.StringRef(volume1SelectelComputeVolumeV3.Id),
    		}, 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 volume1 = Selectel.GetComputeVolumeV3.Invoke(new()
        {
            ProjectId = project1.Id,
            Region = "ru-6",
            VolumeId = volume1SelectelComputeVolumeV3.Id,
        });
    
    });
    
    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.GetComputeVolumeV3Args;
    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 volume1 = SelectelFunctions.getComputeVolumeV3(GetComputeVolumeV3Args.builder()
                .projectId(project1.id())
                .region("ru-6")
                .volumeId(volume1SelectelComputeVolumeV3.id())
                .build());
    
        }
    }
    
    variables:
      volume1:
        fn::invoke:
          function: selectel:getComputeVolumeV3
          arguments:
            projectId: ${project1.id}
            region: ru-6
            volumeId: ${volume1SelectelComputeVolumeV3.id}
    
    Example coming soon!
    

    Using getComputeVolumeV3

    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 getComputeVolumeV3(args: GetComputeVolumeV3Args, opts?: InvokeOptions): Promise<GetComputeVolumeV3Result>
    function getComputeVolumeV3Output(args: GetComputeVolumeV3OutputArgs, opts?: InvokeOutputOptions): Output<GetComputeVolumeV3Result>
    def get_compute_volume_v3(metadata: Optional[Mapping[str, str]] = None,
                              name: Optional[str] = None,
                              project_id: Optional[str] = None,
                              region: Optional[str] = None,
                              status: Optional[str] = None,
                              volume_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetComputeVolumeV3Result
    def get_compute_volume_v3_output(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,
                              status: pulumi.Input[Optional[str]] = None,
                              volume_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetComputeVolumeV3Result]
    func LookupComputeVolumeV3(ctx *Context, args *LookupComputeVolumeV3Args, opts ...InvokeOption) (*LookupComputeVolumeV3Result, error)
    func LookupComputeVolumeV3Output(ctx *Context, args *LookupComputeVolumeV3OutputArgs, opts ...InvokeOption) LookupComputeVolumeV3ResultOutput

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

    public static class GetComputeVolumeV3 
    {
        public static Task<GetComputeVolumeV3Result> InvokeAsync(GetComputeVolumeV3Args args, InvokeOptions? opts = null)
        public static Output<GetComputeVolumeV3Result> Invoke(GetComputeVolumeV3InvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetComputeVolumeV3Result> Invoke(GetComputeVolumeV3InvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetComputeVolumeV3Result> getComputeVolumeV3(GetComputeVolumeV3Args args, InvokeOptions options)
    public static Output<GetComputeVolumeV3Result> getComputeVolumeV3(GetComputeVolumeV3Args args, InvokeOptions options)
    public static Output<GetComputeVolumeV3Result> getComputeVolumeV3(GetComputeVolumeV3Args args, InvokeOutputOptions options)
    
    fn::invoke:
      function: selectel:index/getComputeVolumeV3:getComputeVolumeV3
      arguments:
        # arguments dictionary
    data "selectel_get_compute_volume_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 network volume 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.
    Metadata Dictionary<string, string>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    Name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    Status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    VolumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    Metadata map[string]string
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    Name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    Status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    VolumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    metadata map(string)
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volume_id string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    metadata Map<String,String>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name String
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    status String
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeId String
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    metadata {[key: string]: string}
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    metadata Mapping[str, str]
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name str
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    status str
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volume_id str
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume 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 network volume 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.
    metadata Map<String>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name String
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name field.
    status String
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeId String
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.

    getComputeVolumeV3 Result

    The following output properties are available:

    Attachments List<GetComputeVolumeV3Attachment>
    Volume attachments.
    AvailabilityZone string
    Pool segment.
    Bootable bool
    Whether the volume is bootable.
    Description string
    Volume description.
    Id string
    Unique identifier of the network volume.
    Metadata Dictionary<string, string>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    Name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    Size double
    Size in GB.
    SnapshotId string
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    SourceVolumeId string
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    Status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    VolumeType string
    Volume type name returned by the API.
    VolumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    Attachments []GetComputeVolumeV3Attachment
    Volume attachments.
    AvailabilityZone string
    Pool segment.
    Bootable bool
    Whether the volume is bootable.
    Description string
    Volume description.
    Id string
    Unique identifier of the network volume.
    Metadata map[string]string
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    Name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    Size float64
    Size in GB.
    SnapshotId string
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    SourceVolumeId string
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    Status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    VolumeType string
    Volume type name returned by the API.
    VolumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    attachments list(object)
    Volume attachments.
    availability_zone string
    Pool segment.
    bootable bool
    Whether the volume is bootable.
    description string
    Volume description.
    id string
    Unique identifier of the network volume.
    metadata map(string)
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    size number
    Size in GB.
    snapshot_id string
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    source_volume_id string
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volume_type string
    Volume type name returned by the API.
    volume_id string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    attachments List<GetComputeVolumeV3Attachment>
    Volume attachments.
    availabilityZone String
    Pool segment.
    bootable Boolean
    Whether the volume is bootable.
    description String
    Volume description.
    id String
    Unique identifier of the network volume.
    metadata Map<String,String>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name String
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    size Double
    Size in GB.
    snapshotId String
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    sourceVolumeId String
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    status String
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeType String
    Volume type name returned by the API.
    volumeId String
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    attachments GetComputeVolumeV3Attachment[]
    Volume attachments.
    availabilityZone string
    Pool segment.
    bootable boolean
    Whether the volume is bootable.
    description string
    Volume description.
    id string
    Unique identifier of the network volume.
    metadata {[key: string]: string}
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name string
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    size number
    Size in GB.
    snapshotId string
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    sourceVolumeId string
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    status string
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeType string
    Volume type name returned by the API.
    volumeId string
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    attachments Sequence[GetComputeVolumeV3Attachment]
    Volume attachments.
    availability_zone str
    Pool segment.
    bootable bool
    Whether the volume is bootable.
    description str
    Volume description.
    id str
    Unique identifier of the network volume.
    metadata Mapping[str, str]
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name str
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    size float
    Size in GB.
    snapshot_id str
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    source_volume_id str
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    status str
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volume_type str
    Volume type name returned by the API.
    volume_id str
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.
    attachments List<Property Map>
    Volume attachments.
    availabilityZone String
    Pool segment.
    bootable Boolean
    Whether the volume is bootable.
    description String
    Volume description.
    id String
    Unique identifier of the network volume.
    metadata Map<String>
    Metadata subset to match. This argument conflicts with volume_id. The data source returns all metadata of the selected volume except the provider creation token.
    name String
    Exact network volume name to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI command openstack volume list and copy the Name 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 network volume 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.
    size Number
    Size in GB.
    snapshotId String
    Unique identifier of the source snapshot. The value is empty if the volume is not created from a snapshot.
    sourceVolumeId String
    Unique identifier of the source network volume. The value is empty if the volume is not cloned from another volume.
    status String
    Exact API status to search for. The minimum length is 1 character. This argument conflicts with volume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI command openstack volume list and copy the Status field.
    volumeType String
    Volume type name returned by the API.
    volumeId String
    Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with name, status, and metadata. To get the volume ID, use the OpenStack CLI command openstack volume list and copy the ID field.

    Supporting Types

    GetComputeVolumeV3Attachment

    Device string
    Device name on the cloud server.
    Id string
    Unique identifier of the network volume.
    InstanceId string
    Unique identifier of the attached cloud server.
    Device string
    Device name on the cloud server.
    Id string
    Unique identifier of the network volume.
    InstanceId string
    Unique identifier of the attached cloud server.
    device string
    Device name on the cloud server.
    id string
    Unique identifier of the network volume.
    instance_id string
    Unique identifier of the attached cloud server.
    device String
    Device name on the cloud server.
    id String
    Unique identifier of the network volume.
    instanceId String
    Unique identifier of the attached cloud server.
    device string
    Device name on the cloud server.
    id string
    Unique identifier of the network volume.
    instanceId string
    Unique identifier of the attached cloud server.
    device str
    Device name on the cloud server.
    id str
    Unique identifier of the network volume.
    instance_id str
    Unique identifier of the attached cloud server.
    device String
    Device name on the cloud server.
    id String
    Unique identifier of the network volume.
    instanceId String
    Unique identifier of the attached cloud server.

    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