Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
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 dictionarydata "selectel_get_compute_volume_type_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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - Volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - Volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - volume_
type_ stringid - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - volume
Type StringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - volume_
type_ strid - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type 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 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. Learn more about the list of network volume types. - volume
Type StringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
getComputeVolumeTypeV3 Result
The following output properties are available:
- Description string
- Volume type description.
- Extra
Specs Dictionary<string, 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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 boolIops - Whether the type allows custom
total_iops_secmetadata. - Volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- Description string
- Volume type description.
- Extra
Specs map[string]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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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 boolIops - Whether the type allows custom
total_iops_secmetadata. - Volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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_ booliops - Whether the type allows custom
total_iops_secmetadata. - volume_
type_ stringid - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- description String
- Volume type description.
- extra
Specs Map<String,String> - Type specifications visible to the current role.
- id String
- Unique identifier of the volume type.
- is
Public Boolean - Whether the type is public.
- name String
- Exact volume type name. The minimum length is
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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 BooleanIops - Whether the type allows custom
total_iops_secmetadata. - volume
Type StringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- description string
- Volume type description.
- extra
Specs {[key: string]: string} - Type specifications visible to the current role.
- id string
- Unique identifier of the volume type.
- is
Public boolean - Whether the type is public.
- name string
- Exact volume type name. The minimum length is
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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 booleanIops - Whether the type allows custom
total_iops_secmetadata. - volume
Type stringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- 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
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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_ booliops - Whether the type allows custom
total_iops_secmetadata. - volume_
type_ strid - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
- 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 Boolean - Whether the type is public.
- name String
- Exact volume type name. The minimum length is
1character. Set exactly one ofvolume_type_idandname. The name format is<volume_type>.<availability_zone>, for example,fast2.ru-6afor SSD Fast v2 in theru-6apool segment. ID lookups return the API name here. To get the volume type name, use the OpenStack CLI commandopenstack volume type listand copy theNamefield. 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 BooleanIops - Whether the type allows custom
total_iops_secmetadata. - volume
Type StringId - Unique identifier of the volume type. The format is a lowercase UUID or
defaultto select the default volume type. Set exactly one ofvolume_type_idandname. To get the volume type ID, use the OpenStack CLI commandopenstack volume type listand copy theIDfield.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
selectel
Viewing docs for selectel 9.5.0
published on Friday, Oct 30, 2026 by selectel
published on Friday, Oct 30, 2026 by selectel