1. Packages
  2. Selectel Provider
  3. API Docs
  4. getDbaasConfigurationParameterV1
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

selectel.getDbaasConfigurationParameterV1

Explore with Pulumi AI

selectel logo
selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel

    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:

    ProjectId 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<GetDbaasConfigurationParameterV1Filter>
    Values to filter available extensions.
    Id string
    Unique identifier of the configuration parameter.
    ProjectId 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 []GetDbaasConfigurationParameterV1Filter
    Values to filter available extensions.
    Id string
    Unique identifier of the configuration parameter.
    projectId 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<GetDbaasConfigurationParameterV1Filter>
    Values to filter available extensions.
    id String
    Unique identifier of the configuration parameter.
    projectId 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 GetDbaasConfigurationParameterV1Filter[]
    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[GetDbaasConfigurationParameterV1Filter]
    Values to filter available extensions.
    id str
    Unique identifier of the configuration parameter.
    projectId 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:

    ConfigurationParameters List<GetDbaasConfigurationParameterV1ConfigurationParameter>
    List of available configuration parameters.
    Id string
    Unique identifier of the configuration parameter.
    ProjectId string
    Region string
    Filters List<GetDbaasConfigurationParameterV1Filter>
    ConfigurationParameters []GetDbaasConfigurationParameterV1ConfigurationParameter
    List of available configuration parameters.
    Id string
    Unique identifier of the configuration parameter.
    ProjectId string
    Region string
    Filters []GetDbaasConfigurationParameterV1Filter
    configurationParameters List<GetDbaasConfigurationParameterV1ConfigurationParameter>
    List of available configuration parameters.
    id String
    Unique identifier of the configuration parameter.
    projectId String
    region String
    filters List<GetDbaasConfigurationParameterV1Filter>
    configurationParameters GetDbaasConfigurationParameterV1ConfigurationParameter[]
    List of available configuration parameters.
    id string
    Unique identifier of the configuration parameter.
    projectId string
    region string
    filters GetDbaasConfigurationParameterV1Filter[]
    configurationParameters List<Property Map>
    List of available configuration parameters.
    id String
    Unique identifier of the configuration parameter.
    projectId 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.
    DatastoreTypeId string
    Unique identifier of the datastore type for which the configuration parameter is available.
    DefaultValue string
    Default value of the configuration parameter. Might be empty.
    Id string
    Unique identifier of the configuration parameter.
    InvalidValues 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.
    IsChangeable bool
    Shows if the parameter can be changed.
    IsRestartRequired bool
    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.
    DatastoreTypeId string
    Unique identifier of the datastore type for which the configuration parameter is available.
    DefaultValue string
    Default value of the configuration parameter. Might be empty.
    Id string
    Unique identifier of the configuration parameter.
    InvalidValues []string
    Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
    IsChangeable bool
    Shows if the parameter can be changed.
    IsRestartRequired bool
    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.
    datastoreTypeId String
    Unique identifier of the datastore type for which the configuration parameter is available.
    defaultValue String
    Default value of the configuration parameter. Might be empty.
    id String
    Unique identifier of the configuration parameter.
    invalidValues 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.
    isChangeable Boolean
    Shows if the parameter can be changed.
    isRestartRequired Boolean
    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.
    datastoreTypeId string
    Unique identifier of the datastore type for which the configuration parameter is available.
    defaultValue string
    Default value of the configuration parameter. Might be empty.
    id string
    Unique identifier of the configuration parameter.
    invalidValues string[]
    Invalid values for the configuration parameter. Some parameters have a list of values within a range that are not available for the parameter.
    isChangeable boolean
    Shows if the parameter can be changed.
    isRestartRequired boolean
    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_id str
    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_required bool
    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.
    datastoreTypeId String
    Unique identifier of the datastore type for which the configuration parameter is available.
    defaultValue String
    Default value of the configuration parameter. Might be empty.
    id String
    Unique identifier of the configuration parameter.
    invalidValues 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.
    isChangeable Boolean
    Shows if the parameter can be changed.
    isRestartRequired Boolean
    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

    DatastoreTypeId string
    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.
    DatastoreTypeId string
    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.
    datastoreTypeId String
    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.
    datastoreTypeId string
    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_id str
    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.
    datastoreTypeId String
    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.
    selectel logo
    selectel 6.4.0 published on Monday, Apr 14, 2025 by selectel