1. Packages
  2. Selectel Provider
  3. API Docs
  4. getDedicatedConfigurationV1
selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel

selectel.getDedicatedConfigurationV1

Get Started
selectel logo
selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel

    Provides a list of server configurations available in Selectel.

    Example Usage

    Find configuration ID by name

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const serverConfig = selectel.getDedicatedConfigurationV1({
        projectId: selectel_vpc_project_v2.project_1.id,
        deepFilter: "{\"name\":\"CL25-NVMe\"}",
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    server_config = selectel.get_dedicated_configuration_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
        deep_filter="{\"name\":\"CL25-NVMe\"}")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.GetDedicatedConfigurationV1(ctx, &selectel.GetDedicatedConfigurationV1Args{
    			ProjectId:  selectel_vpc_project_v2.Project_1.Id,
    			DeepFilter: pulumi.StringRef("{\"name\":\"CL25-NVMe\"}"),
    		}, 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 serverConfig = Selectel.GetDedicatedConfigurationV1.Invoke(new()
        {
            ProjectId = selectel_vpc_project_v2.Project_1.Id,
            DeepFilter = "{\"name\":\"CL25-NVMe\"}",
        });
    
    });
    
    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.GetDedicatedConfigurationV1Args;
    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 serverConfig = SelectelFunctions.getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args.builder()
                .projectId(selectel_vpc_project_v2.project_1().id())
                .deepFilter("{\"name\":\"CL25-NVMe\"}")
                .build());
    
        }
    }
    
    variables:
      serverConfig:
        fn::invoke:
          function: selectel:getDedicatedConfigurationV1
          arguments:
            projectId: ${selectel_vpc_project_v2.project_1.id}
            deepFilter: '{"name":"CL25-NVMe"}'
    

    Search available configurations with additional parameters

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const serverConfig = selectel.getDedicatedConfigurationV1({
        projectId: selectel_vpc_project_v2.project_1.id,
        deepFilter: `    {
            "gpu": {
               "count": 1
            },
            "state": "Active",
        }
    `,
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    server_config = selectel.get_dedicated_configuration_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
        deep_filter="""    {
            "gpu": {
               "count": 1
            },
            "state": "Active",
        }
    """)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.GetDedicatedConfigurationV1(ctx, &selectel.GetDedicatedConfigurationV1Args{
    			ProjectId: selectel_vpc_project_v2.Project_1.Id,
    			DeepFilter: pulumi.StringRef(`    {
            "gpu": {
               "count": 1
            },
            "state": "Active",
        }
    `),
    		}, 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 serverConfig = Selectel.GetDedicatedConfigurationV1.Invoke(new()
        {
            ProjectId = selectel_vpc_project_v2.Project_1.Id,
            DeepFilter = @"    {
            ""gpu"": {
               ""count"": 1
            },
            ""state"": ""Active"",
        }
    ",
        });
    
    });
    
    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.GetDedicatedConfigurationV1Args;
    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 serverConfig = SelectelFunctions.getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args.builder()
                .projectId(selectel_vpc_project_v2.project_1().id())
                .deepFilter("""
        {
            "gpu": {
               "count": 1
            },
            "state": "Active",
        }
                """)
                .build());
    
        }
    }
    
    variables:
      serverConfig:
        fn::invoke:
          function: selectel:getDedicatedConfigurationV1
          arguments:
            projectId: ${selectel_vpc_project_v2.project_1.id}
            deepFilter: |2
                  {
                      "gpu": {
                         "count": 1
                      },
                      "state": "Active",
                  }
    

    Search available configurations with additional parameters from file

    import * as pulumi from "@pulumi/pulumi";
    import * as fs from "fs";
    import * as selectel from "@pulumi/selectel";
    
    const serverConfig = selectel.getDedicatedConfigurationV1({
        projectId: selectel_vpc_project_v2.project_1.id,
        deepFilter: fs.readFileSync("filter.json", "utf8"),
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    server_config = selectel.get_dedicated_configuration_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
        deep_filter=(lambda path: open(path).read())("filter.json"))
    
    package main
    
    import (
    	"os"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v7/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.GetDedicatedConfigurationV1(ctx, &selectel.GetDedicatedConfigurationV1Args{
    			ProjectId:  selectel_vpc_project_v2.Project_1.Id,
    			DeepFilter: pulumi.StringRef(readFileOrPanic("filter.json")),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var serverConfig = Selectel.GetDedicatedConfigurationV1.Invoke(new()
        {
            ProjectId = selectel_vpc_project_v2.Project_1.Id,
            DeepFilter = File.ReadAllText("filter.json"),
        });
    
    });
    
    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.GetDedicatedConfigurationV1Args;
    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 serverConfig = SelectelFunctions.getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args.builder()
                .projectId(selectel_vpc_project_v2.project_1().id())
                .deepFilter(Files.readString(Paths.get("filter.json")))
                .build());
    
        }
    }
    
    variables:
      serverConfig:
        fn::invoke:
          function: selectel:getDedicatedConfigurationV1
          arguments:
            projectId: ${selectel_vpc_project_v2.project_1.id}
            deepFilter:
              fn::readFile: filter.json
    

    Using getDedicatedConfigurationV1

    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 getDedicatedConfigurationV1(args: GetDedicatedConfigurationV1Args, opts?: InvokeOptions): Promise<GetDedicatedConfigurationV1Result>
    function getDedicatedConfigurationV1Output(args: GetDedicatedConfigurationV1OutputArgs, opts?: InvokeOptions): Output<GetDedicatedConfigurationV1Result>
    def get_dedicated_configuration_v1(deep_filter: Optional[str] = None,
                                       id: Optional[str] = None,
                                       project_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetDedicatedConfigurationV1Result
    def get_dedicated_configuration_v1_output(deep_filter: Optional[pulumi.Input[str]] = None,
                                       id: Optional[pulumi.Input[str]] = None,
                                       project_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedConfigurationV1Result]
    func GetDedicatedConfigurationV1(ctx *Context, args *GetDedicatedConfigurationV1Args, opts ...InvokeOption) (*GetDedicatedConfigurationV1Result, error)
    func GetDedicatedConfigurationV1Output(ctx *Context, args *GetDedicatedConfigurationV1OutputArgs, opts ...InvokeOption) GetDedicatedConfigurationV1ResultOutput

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

    public static class GetDedicatedConfigurationV1 
    {
        public static Task<GetDedicatedConfigurationV1Result> InvokeAsync(GetDedicatedConfigurationV1Args args, InvokeOptions? opts = null)
        public static Output<GetDedicatedConfigurationV1Result> Invoke(GetDedicatedConfigurationV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDedicatedConfigurationV1Result> getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args args, InvokeOptions options)
    public static Output<GetDedicatedConfigurationV1Result> getDedicatedConfigurationV1(GetDedicatedConfigurationV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: selectel:index/getDedicatedConfigurationV1:getDedicatedConfigurationV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    DeepFilter string
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    Id string
    Unique identifier of the configuration.
    ProjectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    DeepFilter string
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    Id string
    Unique identifier of the configuration.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    deepFilter String
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    id String
    Unique identifier of the configuration.
    projectId string
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    deepFilter string
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    id string
    Unique identifier of the configuration.
    project_id str
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    deep_filter str
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    id str
    Unique identifier of the configuration.
    projectId String
    Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    deepFilter String
    — (Optional) JSON filter for available locations:

    • You can use only the name of the configuration to get the results.To get the name of the configuration, in the Selectel site.
    • You can use additional parameters or their combinations to filter available configurations. You can set them in place or use another file. See an example of the filter values in the API documentation
    id String
    Unique identifier of the configuration.

    getDedicatedConfigurationV1 Result

    The following output properties are available:

    Configurations List<GetDedicatedConfigurationV1Configuration>
    List of the available configurations:
    Id string
    Unique identifier of the configuration.
    ProjectId string
    DeepFilter string
    Configurations []GetDedicatedConfigurationV1Configuration
    List of the available configurations:
    Id string
    Unique identifier of the configuration.
    ProjectId string
    DeepFilter string
    configurations List<GetDedicatedConfigurationV1Configuration>
    List of the available configurations:
    id String
    Unique identifier of the configuration.
    projectId String
    deepFilter String
    configurations GetDedicatedConfigurationV1Configuration[]
    List of the available configurations:
    id string
    Unique identifier of the configuration.
    projectId string
    deepFilter string
    configurations Sequence[GetDedicatedConfigurationV1Configuration]
    List of the available configurations:
    id str
    Unique identifier of the configuration.
    project_id str
    deep_filter str
    configurations List<Property Map>
    List of the available configurations:
    id String
    Unique identifier of the configuration.
    projectId String
    deepFilter String

    Supporting Types

    GetDedicatedConfigurationV1Configuration

    Id string
    Unique identifier of the configuration.
    Name string
    Configuration name.
    Id string
    Unique identifier of the configuration.
    Name string
    Configuration name.
    id String
    Unique identifier of the configuration.
    name String
    Configuration name.
    id string
    Unique identifier of the configuration.
    name string
    Configuration name.
    id str
    Unique identifier of the configuration.
    name str
    Configuration name.
    id String
    Unique identifier of the configuration.
    name String
    Configuration name.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel logo
    selectel 7.1.0 published on Thursday, Oct 30, 2025 by selectel
      Meet Neo: Your AI Platform Teammate