1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. getParameterTemplates
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
volcengine logo
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine

    Use this data source to query detailed information of rds postgresql parameter templates

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const templates = volcengine.rds_postgresql.getParameterTemplates({
        templateCategory: "DBEngine",
        templateType: "PostgreSQL",
        templateTypeVersion: "PostgreSQL_12",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    templates = volcengine.rds_postgresql.get_parameter_templates(template_category="DBEngine",
        template_type="PostgreSQL",
        template_type_version="PostgreSQL_12")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds_postgresql.GetParameterTemplates(ctx, &rds_postgresql.GetParameterTemplatesArgs{
    			TemplateCategory:    pulumi.StringRef("DBEngine"),
    			TemplateType:        pulumi.StringRef("PostgreSQL"),
    			TemplateTypeVersion: pulumi.StringRef("PostgreSQL_12"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var templates = Volcengine.Rds_postgresql.GetParameterTemplates.Invoke(new()
        {
            TemplateCategory = "DBEngine",
            TemplateType = "PostgreSQL",
            TemplateTypeVersion = "PostgreSQL_12",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
    import com.pulumi.volcengine.rds_postgresql.inputs.GetParameterTemplatesArgs;
    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 templates = Rds_postgresqlFunctions.getParameterTemplates(GetParameterTemplatesArgs.builder()
                .templateCategory("DBEngine")
                .templateType("PostgreSQL")
                .templateTypeVersion("PostgreSQL_12")
                .build());
    
        }
    }
    
    variables:
      templates:
        fn::invoke:
          Function: volcengine:rds_postgresql:getParameterTemplates
          Arguments:
            templateCategory: DBEngine
            templateType: PostgreSQL
            templateTypeVersion: PostgreSQL_12
    

    Using getParameterTemplates

    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 getParameterTemplates(args: GetParameterTemplatesArgs, opts?: InvokeOptions): Promise<GetParameterTemplatesResult>
    function getParameterTemplatesOutput(args: GetParameterTemplatesOutputArgs, opts?: InvokeOptions): Output<GetParameterTemplatesResult>
    def get_parameter_templates(output_file: Optional[str] = None,
                                template_category: Optional[str] = None,
                                template_source: Optional[str] = None,
                                template_type: Optional[str] = None,
                                template_type_version: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetParameterTemplatesResult
    def get_parameter_templates_output(output_file: Optional[pulumi.Input[str]] = None,
                                template_category: Optional[pulumi.Input[str]] = None,
                                template_source: Optional[pulumi.Input[str]] = None,
                                template_type: Optional[pulumi.Input[str]] = None,
                                template_type_version: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetParameterTemplatesResult]
    func GetParameterTemplates(ctx *Context, args *GetParameterTemplatesArgs, opts ...InvokeOption) (*GetParameterTemplatesResult, error)
    func GetParameterTemplatesOutput(ctx *Context, args *GetParameterTemplatesOutputArgs, opts ...InvokeOption) GetParameterTemplatesResultOutput

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

    public static class GetParameterTemplates 
    {
        public static Task<GetParameterTemplatesResult> InvokeAsync(GetParameterTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetParameterTemplatesResult> Invoke(GetParameterTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetParameterTemplatesResult> getParameterTemplates(GetParameterTemplatesArgs args, InvokeOptions options)
    public static Output<GetParameterTemplatesResult> getParameterTemplates(GetParameterTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql/getParameterTemplates:getParameterTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    OutputFile string
    File name where to save data source results.
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    outputFile String
    File name where to save data source results.
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    outputFile string
    File name where to save data source results.
    templateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource string
    The source of the parameter template. The current value can only be User.
    templateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    output_file str
    File name where to save data source results.
    template_category str
    Classification of parameter templates. The current value can only be DBEngine.
    template_source str
    The source of the parameter template. The current value can only be User.
    template_type str
    The type of the parameter template. The current value can only be PostgreSQL.
    template_type_version str
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    outputFile String
    File name where to save data source results.
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.

    getParameterTemplates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateInfos List<GetParameterTemplatesTemplateInfo>
    Parameter template list.
    TotalCount int
    The total count of query.
    OutputFile string
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateInfos []GetParameterTemplatesTemplateInfo
    Parameter template list.
    TotalCount int
    The total count of query.
    OutputFile string
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    id String
    The provider-assigned unique ID for this managed resource.
    templateInfos List<GetParameterTemplatesTemplateInfo>
    Parameter template list.
    totalCount Integer
    The total count of query.
    outputFile String
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    id string
    The provider-assigned unique ID for this managed resource.
    templateInfos GetParameterTemplatesTemplateInfo[]
    Parameter template list.
    totalCount number
    The total count of query.
    outputFile string
    templateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource string
    The source of the parameter template. The current value can only be User.
    templateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    id str
    The provider-assigned unique ID for this managed resource.
    template_infos Sequence[GetParameterTemplatesTemplateInfo]
    Parameter template list.
    total_count int
    The total count of query.
    output_file str
    template_category str
    Classification of parameter templates. The current value can only be DBEngine.
    template_source str
    The source of the parameter template. The current value can only be User.
    template_type str
    The type of the parameter template. The current value can only be PostgreSQL.
    template_type_version str
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    id String
    The provider-assigned unique ID for this managed resource.
    templateInfos List<Property Map>
    Parameter template list.
    totalCount Number
    The total count of query.
    outputFile String
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.

    Supporting Types

    GetParameterTemplatesTemplateInfo

    AccountId string
    Account ID.
    CreateTime string
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    NeedRestart bool
    Indicates whether the parameter template change requires a restart.
    ParameterNum int
    Number of parameters in the parameter template.
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateDesc string
    Description information of the parameter template.
    TemplateId string
    Parameter template ID.
    TemplateName string
    Parameter template name.
    TemplateParams List<GetParameterTemplatesTemplateInfoTemplateParam>
    Parameter configuration of the parameter template.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    UpdateTime string
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    AccountId string
    Account ID.
    CreateTime string
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    NeedRestart bool
    Indicates whether the parameter template change requires a restart.
    ParameterNum int
    Number of parameters in the parameter template.
    TemplateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    TemplateDesc string
    Description information of the parameter template.
    TemplateId string
    Parameter template ID.
    TemplateName string
    Parameter template name.
    TemplateParams []GetParameterTemplatesTemplateInfoTemplateParam
    Parameter configuration of the parameter template.
    TemplateSource string
    The source of the parameter template. The current value can only be User.
    TemplateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    TemplateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    UpdateTime string
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    accountId String
    Account ID.
    createTime String
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    needRestart Boolean
    Indicates whether the parameter template change requires a restart.
    parameterNum Integer
    Number of parameters in the parameter template.
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateDesc String
    Description information of the parameter template.
    templateId String
    Parameter template ID.
    templateName String
    Parameter template name.
    templateParams List<GetParameterTemplatesTemplateInfoTemplateParam>
    Parameter configuration of the parameter template.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    updateTime String
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    accountId string
    Account ID.
    createTime string
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    needRestart boolean
    Indicates whether the parameter template change requires a restart.
    parameterNum number
    Number of parameters in the parameter template.
    templateCategory string
    Classification of parameter templates. The current value can only be DBEngine.
    templateDesc string
    Description information of the parameter template.
    templateId string
    Parameter template ID.
    templateName string
    Parameter template name.
    templateParams GetParameterTemplatesTemplateInfoTemplateParam[]
    Parameter configuration of the parameter template.
    templateSource string
    The source of the parameter template. The current value can only be User.
    templateType string
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion string
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    updateTime string
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    account_id str
    Account ID.
    create_time str
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    need_restart bool
    Indicates whether the parameter template change requires a restart.
    parameter_num int
    Number of parameters in the parameter template.
    template_category str
    Classification of parameter templates. The current value can only be DBEngine.
    template_desc str
    Description information of the parameter template.
    template_id str
    Parameter template ID.
    template_name str
    Parameter template name.
    template_params Sequence[GetParameterTemplatesTemplateInfoTemplateParam]
    Parameter configuration of the parameter template.
    template_source str
    The source of the parameter template. The current value can only be User.
    template_type str
    The type of the parameter template. The current value can only be PostgreSQL.
    template_type_version str
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    update_time str
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    accountId String
    Account ID.
    createTime String
    Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    needRestart Boolean
    Indicates whether the parameter template change requires a restart.
    parameterNum Number
    Number of parameters in the parameter template.
    templateCategory String
    Classification of parameter templates. The current value can only be DBEngine.
    templateDesc String
    Description information of the parameter template.
    templateId String
    Parameter template ID.
    templateName String
    Parameter template name.
    templateParams List<Property Map>
    Parameter configuration of the parameter template.
    templateSource String
    The source of the parameter template. The current value can only be User.
    templateType String
    The type of the parameter template. The current value can only be PostgreSQL.
    templateTypeVersion String
    PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
    updateTime String
    Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).

    GetParameterTemplatesTemplateInfoTemplateParam

    CheckingCode string
    The value range of the parameter.
    DefaultValue string
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    Description string
    The description of the parameter in English.
    DescriptionZh string
    The description of the parameter in Chinese.
    ForceRestart bool
    Indicates whether a restart is required after the parameter is modified.
    Name string
    The name of the parameter.
    Type string
    The type of the parameter.
    Value string
    The current value of the parameter.
    CheckingCode string
    The value range of the parameter.
    DefaultValue string
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    Description string
    The description of the parameter in English.
    DescriptionZh string
    The description of the parameter in Chinese.
    ForceRestart bool
    Indicates whether a restart is required after the parameter is modified.
    Name string
    The name of the parameter.
    Type string
    The type of the parameter.
    Value string
    The current value of the parameter.
    checkingCode String
    The value range of the parameter.
    defaultValue String
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    description String
    The description of the parameter in English.
    descriptionZh String
    The description of the parameter in Chinese.
    forceRestart Boolean
    Indicates whether a restart is required after the parameter is modified.
    name String
    The name of the parameter.
    type String
    The type of the parameter.
    value String
    The current value of the parameter.
    checkingCode string
    The value range of the parameter.
    defaultValue string
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    description string
    The description of the parameter in English.
    descriptionZh string
    The description of the parameter in Chinese.
    forceRestart boolean
    Indicates whether a restart is required after the parameter is modified.
    name string
    The name of the parameter.
    type string
    The type of the parameter.
    value string
    The current value of the parameter.
    checking_code str
    The value range of the parameter.
    default_value str
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    description str
    The description of the parameter in English.
    description_zh str
    The description of the parameter in Chinese.
    force_restart bool
    Indicates whether a restart is required after the parameter is modified.
    name str
    The name of the parameter.
    type str
    The type of the parameter.
    value str
    The current value of the parameter.
    checkingCode String
    The value range of the parameter.
    defaultValue String
    Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
    description String
    The description of the parameter in English.
    descriptionZh String
    The description of the parameter in Chinese.
    forceRestart Boolean
    Indicates whether a restart is required after the parameter is modified.
    name String
    The name of the parameter.
    type String
    The type of the parameter.
    value String
    The current value of the parameter.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate