Viewing docs for selectel 9.4.1
published on Friday, Oct 23, 2026 by selectel
published on Friday, Oct 23, 2026 by selectel
selectel
Viewing docs for selectel 9.4.1
published on Friday, Oct 23, 2026 by selectel
published on Friday, Oct 23, 2026 by selectel
Provides a list of available cluster types in Managed Databases using public API v2. For more information about available cluster types, see the official Selectel documentation.
Example Usage
ClickHouse
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const dt = selectel.getDbaasDatastoreTypeV2({
projectId: project1.id,
region: "ru-3",
filters: [{
engine: "clickhouse",
}],
});
import pulumi
import pulumi_selectel as selectel
dt = selectel.get_dbaas_datastore_type_v2(project_id=project1["id"],
region="ru-3",
filters=[{
"engine": "clickhouse",
}])
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.GetDbaasDatastoreTypeV2(ctx, &selectel.GetDbaasDatastoreTypeV2Args{
ProjectId: project1.Id,
Region: "ru-3",
Filters: []selectel.GetDbaasDatastoreTypeV2Filter{
{
Engine: pulumi.StringRef("clickhouse"),
},
},
}, 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 dt = Selectel.GetDbaasDatastoreTypeV2.Invoke(new()
{
ProjectId = project1.Id,
Region = "ru-3",
Filters = new[]
{
new Selectel.Inputs.GetDbaasDatastoreTypeV2FilterInputArgs
{
Engine = "clickhouse",
},
},
});
});
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.GetDbaasDatastoreTypeV2Args;
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 dt = SelectelFunctions.getDbaasDatastoreTypeV2(GetDbaasDatastoreTypeV2Args.builder()
.projectId(project1.id())
.region("ru-3")
.filters(GetDbaasDatastoreTypeV2FilterArgs.builder()
.engine("clickhouse")
.build())
.build());
}
}
variables:
dt:
fn::invoke:
function: selectel:getDbaasDatastoreTypeV2
arguments:
projectId: ${project1.id}
region: ru-3
filters:
- engine: clickhouse
Example coming soon!
Using getDbaasDatastoreTypeV2
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 getDbaasDatastoreTypeV2(args: GetDbaasDatastoreTypeV2Args, opts?: InvokeOptions): Promise<GetDbaasDatastoreTypeV2Result>
function getDbaasDatastoreTypeV2Output(args: GetDbaasDatastoreTypeV2OutputArgs, opts?: InvokeOutputOptions): Output<GetDbaasDatastoreTypeV2Result>def get_dbaas_datastore_type_v2(filters: Optional[Sequence[GetDbaasDatastoreTypeV2Filter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbaasDatastoreTypeV2Result
def get_dbaas_datastore_type_v2_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDbaasDatastoreTypeV2FilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDbaasDatastoreTypeV2Result]func GetDbaasDatastoreTypeV2(ctx *Context, args *GetDbaasDatastoreTypeV2Args, opts ...InvokeOption) (*GetDbaasDatastoreTypeV2Result, error)
func GetDbaasDatastoreTypeV2Output(ctx *Context, args *GetDbaasDatastoreTypeV2OutputArgs, opts ...InvokeOption) GetDbaasDatastoreTypeV2ResultOutput> Note: This function is named GetDbaasDatastoreTypeV2 in the Go SDK.
public static class GetDbaasDatastoreTypeV2
{
public static Task<GetDbaasDatastoreTypeV2Result> InvokeAsync(GetDbaasDatastoreTypeV2Args args, InvokeOptions? opts = null)
public static Output<GetDbaasDatastoreTypeV2Result> Invoke(GetDbaasDatastoreTypeV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDbaasDatastoreTypeV2Result> Invoke(GetDbaasDatastoreTypeV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDbaasDatastoreTypeV2Result> getDbaasDatastoreTypeV2(GetDbaasDatastoreTypeV2Args args, InvokeOptions options)
public static Output<GetDbaasDatastoreTypeV2Result> getDbaasDatastoreTypeV2(GetDbaasDatastoreTypeV2Args args, InvokeOptions options)
public static Output<GetDbaasDatastoreTypeV2Result> getDbaasDatastoreTypeV2(GetDbaasDatastoreTypeV2Args args, InvokeOutputOptions options)
fn::invoke:
function: selectel:index/getDbaasDatastoreTypeV2:getDbaasDatastoreTypeV2
arguments:
# arguments dictionarydata "selectel_get_dbaas_datastore_type_v2" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - Filters
List<Get
Dbaas Datastore Type V2Filter> - Values to filter available cluster types.
- Id string
- Unique identifier of the cluster type.
- Project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - Filters
[]Get
Dbaas Datastore Type V2Filter - Values to filter available cluster types.
- Id string
- Unique identifier of the cluster type.
- project_
id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filters list(object)
- Values to filter available cluster types.
- id string
- Unique identifier of the cluster type.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filters
List<Get
Dbaas Datastore Type V2Filter> - Values to filter available cluster types.
- id String
- Unique identifier of the cluster type.
- project
Id string - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filters
Get
Dbaas Datastore Type V2Filter[] - Values to filter available cluster types.
- id string
- Unique identifier of the cluster type.
- project_
id str - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filters
Sequence[Get
Dbaas Datastore Type V2Filter] - Values to filter available cluster types.
- id str
- Unique identifier of the cluster type.
- project
Id String - Unique identifier of the associated project. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3. Learn more about available pools in the Availability matrix. - filters List<Property Map>
- Values to filter available cluster types.
- id String
- Unique identifier of the cluster type.
getDbaasDatastoreTypeV2 Result
The following output properties are available:
- Datastore
Types List<GetDbaas Datastore Type V2Datastore Type> - List of available cluster types.
- Id string
- Unique identifier of the cluster type.
- Project
Id string - Region string
- Filters
List<Get
Dbaas Datastore Type V2Filter>
- Datastore
Types []GetDbaas Datastore Type V2Datastore Type - List of available cluster types.
- Id string
- Unique identifier of the cluster type.
- Project
Id string - Region string
- Filters
[]Get
Dbaas Datastore Type V2Filter
- datastore_
types list(object) - List of available cluster types.
- id string
- Unique identifier of the cluster type.
- project_
id string - region string
- filters list(object)
- datastore
Types List<GetDbaas Datastore Type V2Datastore Type> - List of available cluster types.
- id String
- Unique identifier of the cluster type.
- project
Id String - region String
- filters
List<Get
Dbaas Datastore Type V2Filter>
- datastore
Types GetDbaas Datastore Type V2Datastore Type[] - List of available cluster types.
- id string
- Unique identifier of the cluster type.
- project
Id string - region string
- filters
Get
Dbaas Datastore Type V2Filter[]
- datastore_
types Sequence[GetDbaas Datastore Type V2Datastore Type] - List of available cluster types.
- id str
- Unique identifier of the cluster type.
- project_
id str - region str
- filters
Sequence[Get
Dbaas Datastore Type V2Filter]
- datastore
Types List<Property Map> - List of available cluster types.
- id String
- Unique identifier of the cluster type.
- project
Id String - region String
- filters List<Property Map>
Supporting Types
GetDbaasDatastoreTypeV2DatastoreType
GetDbaasDatastoreTypeV2Filter
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.4.1
published on Friday, Oct 23, 2026 by selectel
published on Friday, Oct 23, 2026 by selectel