Viewing docs for selectel 8.6.0
published on Friday, Oct 2, 2026 by selectel
published on Friday, Oct 2, 2026 by selectel
selectel
Viewing docs for selectel 8.6.0
published on Friday, Oct 2, 2026 by selectel
published on Friday, Oct 2, 2026 by selectel
Provides a list of flavors available in Managed Databases using public API v2. Learn more about available configurations for ClickHouse.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const flavor = selectel.getDbaasFlavorV2({
projectId: project1.id,
region: "ru-3",
filters: [{
datastoreTypeId: dt.datastoreTypes[0].id,
allowedRole: "KEEPER",
flSize: "STANDARD",
}],
});
import pulumi
import pulumi_selectel as selectel
flavor = selectel.get_dbaas_flavor_v2(project_id=project1["id"],
region="ru-3",
filters=[{
"datastore_type_id": dt["datastoreTypes"][0]["id"],
"allowed_role": "KEEPER",
"fl_size": "STANDARD",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v8/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.GetDbaasFlavorV2(ctx, &selectel.GetDbaasFlavorV2Args{
ProjectId: project1.Id,
Region: "ru-3",
Filters: []selectel.GetDbaasFlavorV2Filter{
{
DatastoreTypeId: pulumi.StringRef(dt.DatastoreTypes[0].Id),
AllowedRole: pulumi.StringRef("KEEPER"),
FlSize: pulumi.StringRef("STANDARD"),
},
},
}, 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 flavor = Selectel.GetDbaasFlavorV2.Invoke(new()
{
ProjectId = project1.Id,
Region = "ru-3",
Filters = new[]
{
new Selectel.Inputs.GetDbaasFlavorV2FilterInputArgs
{
DatastoreTypeId = dt.DatastoreTypes[0].Id,
AllowedRole = "KEEPER",
FlSize = "STANDARD",
},
},
});
});
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.GetDbaasFlavorV2Args;
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 flavor = SelectelFunctions.getDbaasFlavorV2(GetDbaasFlavorV2Args.builder()
.projectId(project1.id())
.region("ru-3")
.filters(GetDbaasFlavorV2FilterArgs.builder()
.datastoreTypeId(dt.datastoreTypes()[0].id())
.allowedRole("KEEPER")
.flSize("STANDARD")
.build())
.build());
}
}
variables:
flavor:
fn::invoke:
function: selectel:getDbaasFlavorV2
arguments:
projectId: ${project1.id}
region: ru-3
filters:
- datastoreTypeId: ${dt.datastoreTypes[0].id}
allowedRole: KEEPER
flSize: STANDARD
Example coming soon!
Using getDbaasFlavorV2
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 getDbaasFlavorV2(args: GetDbaasFlavorV2Args, opts?: InvokeOptions): Promise<GetDbaasFlavorV2Result>
function getDbaasFlavorV2Output(args: GetDbaasFlavorV2OutputArgs, opts?: InvokeOutputOptions): Output<GetDbaasFlavorV2Result>def get_dbaas_flavor_v2(filters: Optional[Sequence[GetDbaasFlavorV2Filter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbaasFlavorV2Result
def get_dbaas_flavor_v2_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDbaasFlavorV2FilterArgs]]]] = 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[GetDbaasFlavorV2Result]func GetDbaasFlavorV2(ctx *Context, args *GetDbaasFlavorV2Args, opts ...InvokeOption) (*GetDbaasFlavorV2Result, error)
func GetDbaasFlavorV2Output(ctx *Context, args *GetDbaasFlavorV2OutputArgs, opts ...InvokeOption) GetDbaasFlavorV2ResultOutput> Note: This function is named GetDbaasFlavorV2 in the Go SDK.
public static class GetDbaasFlavorV2
{
public static Task<GetDbaasFlavorV2Result> InvokeAsync(GetDbaasFlavorV2Args args, InvokeOptions? opts = null)
public static Output<GetDbaasFlavorV2Result> Invoke(GetDbaasFlavorV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDbaasFlavorV2Result> Invoke(GetDbaasFlavorV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDbaasFlavorV2Result> getDbaasFlavorV2(GetDbaasFlavorV2Args args, InvokeOptions options)
public static Output<GetDbaasFlavorV2Result> getDbaasFlavorV2(GetDbaasFlavorV2Args args, InvokeOptions options)
public static Output<GetDbaasFlavorV2Result> getDbaasFlavorV2(GetDbaasFlavorV2Args args, InvokeOutputOptions options)
fn::invoke:
function: selectel:index/getDbaasFlavorV2:getDbaasFlavorV2
arguments:
# arguments dictionarydata "selectel_get_dbaas_flavor_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 Flavor V2Filter> - Values to filter available flavors.
- Id string
- Unique identifier of the flavor.
- 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 Flavor V2Filter - Values to filter available flavors.
- Id string
- Unique identifier of the flavor.
- 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 flavors.
- id string
- Unique identifier of the flavor.
- 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 Flavor V2Filter> - Values to filter available flavors.
- id String
- Unique identifier of the flavor.
- 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 Flavor V2Filter[] - Values to filter available flavors.
- id string
- Unique identifier of the flavor.
- 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 Flavor V2Filter] - Values to filter available flavors.
- id str
- Unique identifier of the flavor.
- 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 flavors.
- id String
- Unique identifier of the flavor.
getDbaasFlavorV2 Result
The following output properties are available:
- Flavors
List<Get
Dbaas Flavor V2Flavor> - List of available flavors.
- Id string
- Unique identifier of the flavor.
- Project
Id string - Region string
- Filters
List<Get
Dbaas Flavor V2Filter>
- Flavors
[]Get
Dbaas Flavor V2Flavor - List of available flavors.
- Id string
- Unique identifier of the flavor.
- Project
Id string - Region string
- Filters
[]Get
Dbaas Flavor V2Filter
- flavors list(object)
- List of available flavors.
- id string
- Unique identifier of the flavor.
- project_
id string - region string
- filters list(object)
- flavors
List<Get
Dbaas Flavor V2Flavor> - List of available flavors.
- id String
- Unique identifier of the flavor.
- project
Id String - region String
- filters
List<Get
Dbaas Flavor V2Filter>
- flavors
Get
Dbaas Flavor V2Flavor[] - List of available flavors.
- id string
- Unique identifier of the flavor.
- project
Id string - region string
- filters
Get
Dbaas Flavor V2Filter[]
- flavors
Sequence[Get
Dbaas Flavor V2Flavor] - List of available flavors.
- id str
- Unique identifier of the flavor.
- project_
id str - region str
- filters
Sequence[Get
Dbaas Flavor V2Filter]
- flavors List<Property Map>
- List of available flavors.
- id String
- Unique identifier of the flavor.
- project
Id String - region String
- filters List<Property Map>
Supporting Types
GetDbaasFlavorV2Filter
- Allowed
Role string - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - Datastore
Type stringId - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- Disk double
- Volume size in GB.
- Fl
Size string - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - Ram double
- Amount of RAM in MB.
- Vcpus double
- Number of vCPUs.
- Allowed
Role string - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - Datastore
Type stringId - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- Disk float64
- Volume size in GB.
- Fl
Size string - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - Ram float64
- Amount of RAM in MB.
- Vcpus float64
- Number of vCPUs.
- allowed_
role string - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - datastore_
type_ stringid - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- disk number
- Volume size in GB.
- fl_
size string - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - ram number
- Amount of RAM in MB.
- vcpus number
- Number of vCPUs.
- allowed
Role String - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - datastore
Type StringId - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- disk Double
- Volume size in GB.
- fl
Size String - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - ram Double
- Amount of RAM in MB.
- vcpus Double
- Number of vCPUs.
- allowed
Role string - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - datastore
Type stringId - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- disk number
- Volume size in GB.
- fl
Size string - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - ram number
- Amount of RAM in MB.
- vcpus number
- Number of vCPUs.
- allowed_
role str - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - datastore_
type_ strid - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- disk float
- Volume size in GB.
- fl_
size str - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - ram float
- Amount of RAM in MB.
- vcpus float
- Number of vCPUs.
- allowed
Role String - Role that the flavor supports. Available values are
DATAandKEEPER. You can use this filter, for example, to find flavors for ClickHouse Keeper nodes. - datastore
Type StringId - Unique identifier of the cluster type. You can retrieve information about available cluster types with the selectel.getDbaasDatastoreTypeV2 data source.
- disk Number
- Volume size in GB.
- fl
Size String - Line of flavors. Available values are
STANDARD(for the Standard, CPU, and Memory lines) andHIGH_FREQ(for the HighFreq line). Learn more about available configurations for ClickHouse. - ram Number
- Amount of RAM in MB.
- vcpus Number
- Number of vCPUs.
GetDbaasFlavorV2Flavor
- Allowed
Roles List<string> - List of roles that the flavor supports.
- Datastore
Type List<string>Ids - List of cluster types that support this flavor.
- Disk double
- Volume size in GB.
- Fl
Size string - Line of flavors.
- Id string
- Unique identifier of the flavor.
- Ram double
- Amount of RAM in MB.
- Vcpus double
- Number of vCPUs.
- Allowed
Roles []string - List of roles that the flavor supports.
- Datastore
Type []stringIds - List of cluster types that support this flavor.
- Disk float64
- Volume size in GB.
- Fl
Size string - Line of flavors.
- Id string
- Unique identifier of the flavor.
- Ram float64
- Amount of RAM in MB.
- Vcpus float64
- Number of vCPUs.
- allowed_
roles list(string) - List of roles that the flavor supports.
- datastore_
type_ list(string)ids - List of cluster types that support this flavor.
- disk number
- Volume size in GB.
- fl_
size string - Line of flavors.
- id string
- Unique identifier of the flavor.
- ram number
- Amount of RAM in MB.
- vcpus number
- Number of vCPUs.
- allowed
Roles List<String> - List of roles that the flavor supports.
- datastore
Type List<String>Ids - List of cluster types that support this flavor.
- disk Double
- Volume size in GB.
- fl
Size String - Line of flavors.
- id String
- Unique identifier of the flavor.
- ram Double
- Amount of RAM in MB.
- vcpus Double
- Number of vCPUs.
- allowed
Roles string[] - List of roles that the flavor supports.
- datastore
Type string[]Ids - List of cluster types that support this flavor.
- disk number
- Volume size in GB.
- fl
Size string - Line of flavors.
- id string
- Unique identifier of the flavor.
- ram number
- Amount of RAM in MB.
- vcpus number
- Number of vCPUs.
- allowed_
roles Sequence[str] - List of roles that the flavor supports.
- datastore_
type_ Sequence[str]ids - List of cluster types that support this flavor.
- disk float
- Volume size in GB.
- fl_
size str - Line of flavors.
- id str
- Unique identifier of the flavor.
- ram float
- Amount of RAM in MB.
- vcpus float
- Number of vCPUs.
- allowed
Roles List<String> - List of roles that the flavor supports.
- datastore
Type List<String>Ids - List of cluster types that support this flavor.
- disk Number
- Volume size in GB.
- fl
Size String - Line of flavors.
- id String
- Unique identifier of the flavor.
- ram Number
- Amount of RAM in MB.
- vcpus Number
- Number of vCPUs.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectelTerraform Provider.
selectel
Viewing docs for selectel 8.6.0
published on Friday, Oct 2, 2026 by selectel
published on Friday, Oct 2, 2026 by selectel