selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel
selectel.getDbaasConfigurationParameterV1
Explore with Pulumi AI
Provides a list of configuration parameters available for Managed Databases. For more information about configuration parameters, see the official Selectel documentation for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL semi-sync, MySQL sync, Redis, and Kafka.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const configurationParameter1 = selectel.getDbaasConfigurationParameterV1({
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
});
import pulumi
import pulumi_selectel as selectel
configuration_parameter1 = selectel.get_dbaas_configuration_parameter_v1(project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.GetDbaasConfigurationParameterV1(ctx, &selectel.GetDbaasConfigurationParameterV1Args{
ProjectId: selectel_vpc_project_v2.Project_1.Id,
Region: "ru-3",
}, 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 configurationParameter1 = Selectel.GetDbaasConfigurationParameterV1.Invoke(new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
});
});
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.GetDbaasConfigurationParameterV1Args;
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 configurationParameter1 = SelectelFunctions.getDbaasConfigurationParameterV1(GetDbaasConfigurationParameterV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.build());
}
}
variables:
configurationParameter1:
fn::invoke:
function: selectel:getDbaasConfigurationParameterV1
arguments:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
Using getDbaasConfigurationParameterV1
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 getDbaasConfigurationParameterV1(args: GetDbaasConfigurationParameterV1Args, opts?: InvokeOptions): Promise<GetDbaasConfigurationParameterV1Result>
function getDbaasConfigurationParameterV1Output(args: GetDbaasConfigurationParameterV1OutputArgs, opts?: InvokeOptions): Output<GetDbaasConfigurationParameterV1Result>
def get_dbaas_configuration_parameter_v1(filters: Optional[Sequence[GetDbaasConfigurationParameterV1Filter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbaasConfigurationParameterV1Result
def get_dbaas_configuration_parameter_v1_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDbaasConfigurationParameterV1FilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbaasConfigurationParameterV1Result]
func GetDbaasConfigurationParameterV1(ctx *Context, args *GetDbaasConfigurationParameterV1Args, opts ...InvokeOption) (*GetDbaasConfigurationParameterV1Result, error)
func GetDbaasConfigurationParameterV1Output(ctx *Context, args *GetDbaasConfigurationParameterV1OutputArgs, opts ...InvokeOption) GetDbaasConfigurationParameterV1ResultOutput
> Note: This function is named GetDbaasConfigurationParameterV1
in the Go SDK.
public static class GetDbaasConfigurationParameterV1
{
public static Task<GetDbaasConfigurationParameterV1Result> InvokeAsync(GetDbaasConfigurationParameterV1Args args, InvokeOptions? opts = null)
public static Output<GetDbaasConfigurationParameterV1Result> Invoke(GetDbaasConfigurationParameterV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbaasConfigurationParameterV1Result> getDbaasConfigurationParameterV1(GetDbaasConfigurationParameterV1Args args, InvokeOptions options)
public static Output<GetDbaasConfigurationParameterV1Result> getDbaasConfigurationParameterV1(GetDbaasConfigurationParameterV1Args args, InvokeOptions options)
fn::invoke:
function: selectel:index/getDbaasConfigurationParameterV1:getDbaasConfigurationParameterV1
arguments:
# arguments dictionary
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 Configuration Parameter V1Filter> - Values to filter available extensions.
- Id string
- Unique identifier of the configuration parameter.
- 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 Configuration Parameter V1Filter - Values to filter available extensions.
- Id string
- Unique identifier of the configuration parameter.
- 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 Configuration Parameter V1Filter> - Values to filter available extensions.
- id String
- Unique identifier of the configuration parameter.
- 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 Configuration Parameter V1Filter[] - Values to filter available extensions.
- id string
- Unique identifier of the configuration parameter.
- 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 Configuration Parameter V1Filter] - Values to filter available extensions.
- id str
- Unique identifier of the configuration parameter.
- 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 extensions.
- id String
- Unique identifier of the configuration parameter.
getDbaasConfigurationParameterV1 Result
The following output properties are available:
- Configuration
Parameters List<GetDbaas Configuration Parameter V1Configuration Parameter> - List of available configuration parameters.
- Id string
- Unique identifier of the configuration parameter.
- Project
Id string - Region string
- Filters
List<Get
Dbaas Configuration Parameter V1Filter>
- Configuration
Parameters []GetDbaas Configuration Parameter V1Configuration Parameter - List of available configuration parameters.
- Id string
- Unique identifier of the configuration parameter.
- Project
Id string - Region string
- Filters
[]Get
Dbaas Configuration Parameter V1Filter
- configuration
Parameters List<GetDbaas Configuration Parameter V1Configuration Parameter> - List of available configuration parameters.
- id String
- Unique identifier of the configuration parameter.
- project
Id String - region String
- filters
List<Get
Dbaas Configuration Parameter V1Filter>
- configuration
Parameters GetDbaas Configuration Parameter V1Configuration Parameter[] - List of available configuration parameters.
- id string
- Unique identifier of the configuration parameter.
- project
Id string - region string
- filters
Get
Dbaas Configuration Parameter V1Filter[]
- configuration_
parameters Sequence[GetDbaas Configuration Parameter V1Configuration Parameter] - List of available configuration parameters.
- id str
- Unique identifier of the configuration parameter.
- project_
id str - region str
- filters
Sequence[Get
Dbaas Configuration Parameter V1Filter]
- configuration
Parameters List<Property Map> - List of available configuration parameters.
- id String
- Unique identifier of the configuration parameter.
- project
Id String - region String
- filters List<Property Map>
Supporting Types
GetDbaasConfigurationParameterV1ConfigurationParameter
- Choices List<string>
- Available choices for the configuration parameter. Some parameters have a list of available options.
- Datastore
Type stringId - Unique identifier of the datastore type for which the configuration parameter is available.
- Default
Value string - Default value of the configuration parameter. Might be empty.
- Id string
- Unique identifier of the configuration parameter.
- Invalid
Values List<string> - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- Is
Changeable bool - Shows if the parameter can be changed.
- Is
Restart boolRequired - Shows if the database needs a restart to apply changes.
- Max string
- Maximum value of the configuration parameter. Might be empty.
- Min string
- Minimum value of the configuration parameter. Might be empty.
- Name string
- Name of the configuration parameter.
- Type string
- Type of the configuration parameter.
- Unit string
- Unit of the configuration parameter. Might be empty.
- Choices []string
- Available choices for the configuration parameter. Some parameters have a list of available options.
- Datastore
Type stringId - Unique identifier of the datastore type for which the configuration parameter is available.
- Default
Value string - Default value of the configuration parameter. Might be empty.
- Id string
- Unique identifier of the configuration parameter.
- Invalid
Values []string - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- Is
Changeable bool - Shows if the parameter can be changed.
- Is
Restart boolRequired - Shows if the database needs a restart to apply changes.
- Max string
- Maximum value of the configuration parameter. Might be empty.
- Min string
- Minimum value of the configuration parameter. Might be empty.
- Name string
- Name of the configuration parameter.
- Type string
- Type of the configuration parameter.
- Unit string
- Unit of the configuration parameter. Might be empty.
- choices List<String>
- Available choices for the configuration parameter. Some parameters have a list of available options.
- datastore
Type StringId - Unique identifier of the datastore type for which the configuration parameter is available.
- default
Value String - Default value of the configuration parameter. Might be empty.
- id String
- Unique identifier of the configuration parameter.
- invalid
Values List<String> - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- is
Changeable Boolean - Shows if the parameter can be changed.
- is
Restart BooleanRequired - Shows if the database needs a restart to apply changes.
- max String
- Maximum value of the configuration parameter. Might be empty.
- min String
- Minimum value of the configuration parameter. Might be empty.
- name String
- Name of the configuration parameter.
- type String
- Type of the configuration parameter.
- unit String
- Unit of the configuration parameter. Might be empty.
- choices string[]
- Available choices for the configuration parameter. Some parameters have a list of available options.
- datastore
Type stringId - Unique identifier of the datastore type for which the configuration parameter is available.
- default
Value string - Default value of the configuration parameter. Might be empty.
- id string
- Unique identifier of the configuration parameter.
- invalid
Values string[] - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- is
Changeable boolean - Shows if the parameter can be changed.
- is
Restart booleanRequired - Shows if the database needs a restart to apply changes.
- max string
- Maximum value of the configuration parameter. Might be empty.
- min string
- Minimum value of the configuration parameter. Might be empty.
- name string
- Name of the configuration parameter.
- type string
- Type of the configuration parameter.
- unit string
- Unit of the configuration parameter. Might be empty.
- choices Sequence[str]
- Available choices for the configuration parameter. Some parameters have a list of available options.
- datastore_
type_ strid - Unique identifier of the datastore type for which the configuration parameter is available.
- default_
value str - Default value of the configuration parameter. Might be empty.
- id str
- Unique identifier of the configuration parameter.
- invalid_
values Sequence[str] - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- is_
changeable bool - Shows if the parameter can be changed.
- is_
restart_ boolrequired - Shows if the database needs a restart to apply changes.
- max str
- Maximum value of the configuration parameter. Might be empty.
- min str
- Minimum value of the configuration parameter. Might be empty.
- name str
- Name of the configuration parameter.
- type str
- Type of the configuration parameter.
- unit str
- Unit of the configuration parameter. Might be empty.
- choices List<String>
- Available choices for the configuration parameter. Some parameters have a list of available options.
- datastore
Type StringId - Unique identifier of the datastore type for which the configuration parameter is available.
- default
Value String - Default value of the configuration parameter. Might be empty.
- id String
- Unique identifier of the configuration parameter.
- invalid
Values List<String> - Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
- is
Changeable Boolean - Shows if the parameter can be changed.
- is
Restart BooleanRequired - Shows if the database needs a restart to apply changes.
- max String
- Maximum value of the configuration parameter. Might be empty.
- min String
- Minimum value of the configuration parameter. Might be empty.
- name String
- Name of the configuration parameter.
- type String
- Type of the configuration parameter.
- unit String
- Unit of the configuration parameter. Might be empty.
GetDbaasConfigurationParameterV1Filter
- Datastore
Type stringId - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- Name string
- Name of the configuration parameter to search.
- Datastore
Type stringId - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- Name string
- Name of the configuration parameter to search.
- datastore
Type StringId - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- name String
- Name of the configuration parameter to search.
- datastore
Type stringId - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- name string
- Name of the configuration parameter to search.
- datastore_
type_ strid - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- name str
- Name of the configuration parameter to search.
- datastore
Type StringId - Unique identifier of the datastore type for which you get configuration parameters. You can retrieve information about available datastore types with the selectel.getDbaasDatastoreTypeV1 data source.
- name String
- Name of the configuration parameter to search.
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectel
Terraform Provider.