1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. ParameterTemplateApplyDiffs
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
    Deprecated: volcengine.rds_postgresql.ParameterTemplateApplyDiffs has been deprecated in favor of volcengine.rds_postgresql.getParameterTemplateApplyDiffs

    Use this data source to query detailed information of rds postgresql parameter template apply diffs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const diffs = volcengine.rds_postgresql.getParameterTemplateApplyDiffs({
        instanceId: "postgres-72715e0d9f58",
        templateId: "postgresql-ef66e3807988595a",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    diffs = volcengine.rds_postgresql.get_parameter_template_apply_diffs(instance_id="postgres-72715e0d9f58",
        template_id="postgresql-ef66e3807988595a")
    
    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.GetParameterTemplateApplyDiffs(ctx, &rds_postgresql.GetParameterTemplateApplyDiffsArgs{
    			InstanceId: "postgres-72715e0d9f58",
    			TemplateId: "postgresql-ef66e3807988595a",
    		}, 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 diffs = Volcengine.Rds_postgresql.GetParameterTemplateApplyDiffs.Invoke(new()
        {
            InstanceId = "postgres-72715e0d9f58",
            TemplateId = "postgresql-ef66e3807988595a",
        });
    
    });
    
    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.GetParameterTemplateApplyDiffsArgs;
    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 diffs = Rds_postgresqlFunctions.getParameterTemplateApplyDiffs(GetParameterTemplateApplyDiffsArgs.builder()
                .instanceId("postgres-72715e0d9f58")
                .templateId("postgresql-ef66e3807988595a")
                .build());
    
        }
    }
    
    variables:
      diffs:
        fn::invoke:
          Function: volcengine:rds_postgresql:getParameterTemplateApplyDiffs
          Arguments:
            instanceId: postgres-72715e0d9f58
            templateId: postgresql-ef66e3807988595a
    

    Using ParameterTemplateApplyDiffs

    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 parameterTemplateApplyDiffs(args: ParameterTemplateApplyDiffsArgs, opts?: InvokeOptions): Promise<ParameterTemplateApplyDiffsResult>
    function parameterTemplateApplyDiffsOutput(args: ParameterTemplateApplyDiffsOutputArgs, opts?: InvokeOptions): Output<ParameterTemplateApplyDiffsResult>
    def parameter_template_apply_diffs(instance_id: Optional[str] = None,
                                       output_file: Optional[str] = None,
                                       template_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> ParameterTemplateApplyDiffsResult
    def parameter_template_apply_diffs_output(instance_id: Optional[pulumi.Input[str]] = None,
                                       output_file: Optional[pulumi.Input[str]] = None,
                                       template_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[ParameterTemplateApplyDiffsResult]
    func ParameterTemplateApplyDiffs(ctx *Context, args *ParameterTemplateApplyDiffsArgs, opts ...InvokeOption) (*ParameterTemplateApplyDiffsResult, error)
    func ParameterTemplateApplyDiffsOutput(ctx *Context, args *ParameterTemplateApplyDiffsOutputArgs, opts ...InvokeOption) ParameterTemplateApplyDiffsResultOutput
    public static class ParameterTemplateApplyDiffs 
    {
        public static Task<ParameterTemplateApplyDiffsResult> InvokeAsync(ParameterTemplateApplyDiffsArgs args, InvokeOptions? opts = null)
        public static Output<ParameterTemplateApplyDiffsResult> Invoke(ParameterTemplateApplyDiffsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ParameterTemplateApplyDiffsResult> parameterTemplateApplyDiffs(ParameterTemplateApplyDiffsArgs args, InvokeOptions options)
    public static Output<ParameterTemplateApplyDiffsResult> parameterTemplateApplyDiffs(ParameterTemplateApplyDiffsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql:ParameterTemplateApplyDiffs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The id of the PostgreSQL instance.
    TemplateId string
    The id of the template.
    OutputFile string
    File name where to save data source results.
    InstanceId string
    The id of the PostgreSQL instance.
    TemplateId string
    The id of the template.
    OutputFile string
    File name where to save data source results.
    instanceId String
    The id of the PostgreSQL instance.
    templateId String
    The id of the template.
    outputFile String
    File name where to save data source results.
    instanceId string
    The id of the PostgreSQL instance.
    templateId string
    The id of the template.
    outputFile string
    File name where to save data source results.
    instance_id str
    The id of the PostgreSQL instance.
    template_id str
    The id of the template.
    output_file str
    File name where to save data source results.
    instanceId String
    The id of the PostgreSQL instance.
    templateId String
    The id of the template.
    outputFile String
    File name where to save data source results.

    ParameterTemplateApplyDiffs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Parameters List<ParameterTemplateApplyDiffsParameter>
    Changes in instance parameters after applying the specified parameter template.
    TemplateId string
    TotalCount int
    The total count of query.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Parameters []ParameterTemplateApplyDiffsParameter
    Changes in instance parameters after applying the specified parameter template.
    TemplateId string
    TotalCount int
    The total count of query.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    parameters List<ParameterTemplateApplyDiffsParameter>
    Changes in instance parameters after applying the specified parameter template.
    templateId String
    totalCount Integer
    The total count of query.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    parameters ParameterTemplateApplyDiffsParameter[]
    Changes in instance parameters after applying the specified parameter template.
    templateId string
    totalCount number
    The total count of query.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    parameters Sequence[ParameterTemplateApplyDiffsParameter]
    Changes in instance parameters after applying the specified parameter template.
    template_id str
    total_count int
    The total count of query.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    parameters List<Property Map>
    Changes in instance parameters after applying the specified parameter template.
    templateId String
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    ParameterTemplateApplyDiffsParameter

    Name string
    The name of the parameter.
    NewValue string
    The running value defined for this parameter in the parameter template.
    OldValue string
    The current running value of this parameter in the instance.
    Restart bool
    Indicates whether a restart is required after the parameter is modified.
    Name string
    The name of the parameter.
    NewValue string
    The running value defined for this parameter in the parameter template.
    OldValue string
    The current running value of this parameter in the instance.
    Restart bool
    Indicates whether a restart is required after the parameter is modified.
    name String
    The name of the parameter.
    newValue String
    The running value defined for this parameter in the parameter template.
    oldValue String
    The current running value of this parameter in the instance.
    restart Boolean
    Indicates whether a restart is required after the parameter is modified.
    name string
    The name of the parameter.
    newValue string
    The running value defined for this parameter in the parameter template.
    oldValue string
    The current running value of this parameter in the instance.
    restart boolean
    Indicates whether a restart is required after the parameter is modified.
    name str
    The name of the parameter.
    new_value str
    The running value defined for this parameter in the parameter template.
    old_value str
    The current running value of this parameter in the instance.
    restart bool
    Indicates whether a restart is required after the parameter is modified.
    name String
    The name of the parameter.
    newValue String
    The running value defined for this parameter in the parameter template.
    oldValue String
    The current running value of this parameter in the instance.
    restart Boolean
    Indicates whether a restart is required after the parameter is modified.

    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