published on Friday, Oct 30, 2026 by selectel
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 dictionarydata "selectel_get_compute_volume_v3" "name" {
# arguments
}The following arguments are supported:
- 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 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - Status string
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - Volume
Id string - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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]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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - Status string
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - Volume
Id string - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - status string
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - volume_
id string - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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,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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - status String
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - volume
Id String - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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 {[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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - status string
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - volume
Id string - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - status str
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - volume_
id str - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - status String
- Exact API status to search for. The minimum length is
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - volume
Id String - Unique identifier of the network volume. The format is a lowercase UUID. This argument conflicts with
name,status, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
getComputeVolumeV3 Result
The following output properties are available:
- Attachments
List<Get
Compute Volume V3Attachment> - 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 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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 double
- 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 stringId - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- Attachments
[]Get
Compute Volume V3Attachment - 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]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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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 float64
- 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 stringId - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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_ stringid - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- attachments
List<Get
Compute Volume V3Attachment> - Volume attachments.
- availability
Zone 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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 Double
- 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 StringId - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- attachments
Get
Compute Volume V3Attachment[] - Volume attachments.
- availability
Zone 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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 stringId - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- attachments
Sequence[Get
Compute Volume V3Attachment] - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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_ strid - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
- attachments List<Property Map>
- Volume attachments.
- availability
Zone 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the name of the selected volume. To get the volume name, use the OpenStack CLI commandopenstack volume listand copy theNamefield. - 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 StringId - 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
1character. This argument conflicts withvolume_id. If omitted, the data source returns the status of the selected volume. To get the volume status, use the OpenStack CLI commandopenstack volume listand copy theStatusfield. - 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, andmetadata. To get the volume ID, use the OpenStack CLI commandopenstack volume listand copy theIDfield.
Supporting Types
GetComputeVolumeV3Attachment
- 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.
- 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.
- 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.
- 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.
- instance
Id 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.
- instance
Id 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
selectelTerraform Provider.
published on Friday, Oct 30, 2026 by selectel