1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. getInstanceBackupWalLogs
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 instance backup wal logs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const example = volcengine.rds_postgresql.getInstanceBackupWalLogs({
        backupId: "000000030000000E00000006",
        endTime: "2025-12-15T23:59:59Z",
        instanceId: "postgres-ac541555dd74",
        startTime: "2025-12-10T00:00:00Z",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    example = volcengine.rds_postgresql.get_instance_backup_wal_logs(backup_id="000000030000000E00000006",
        end_time="2025-12-15T23:59:59Z",
        instance_id="postgres-ac541555dd74",
        start_time="2025-12-10T00:00:00Z")
    
    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.GetInstanceBackupWalLogs(ctx, &rds_postgresql.GetInstanceBackupWalLogsArgs{
    			BackupId:   pulumi.StringRef("000000030000000E00000006"),
    			EndTime:    pulumi.StringRef("2025-12-15T23:59:59Z"),
    			InstanceId: "postgres-ac541555dd74",
    			StartTime:  pulumi.StringRef("2025-12-10T00:00:00Z"),
    		}, 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 example = Volcengine.Rds_postgresql.GetInstanceBackupWalLogs.Invoke(new()
        {
            BackupId = "000000030000000E00000006",
            EndTime = "2025-12-15T23:59:59Z",
            InstanceId = "postgres-ac541555dd74",
            StartTime = "2025-12-10T00:00:00Z",
        });
    
    });
    
    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.GetInstanceBackupWalLogsArgs;
    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 example = Rds_postgresqlFunctions.getInstanceBackupWalLogs(GetInstanceBackupWalLogsArgs.builder()
                .backupId("000000030000000E00000006")
                .endTime("2025-12-15T23:59:59Z")
                .instanceId("postgres-ac541555dd74")
                .startTime("2025-12-10T00:00:00Z")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: volcengine:rds_postgresql:getInstanceBackupWalLogs
          Arguments:
            backupId: '000000030000000E00000006'
            endTime: 2025-12-15T23:59:59Z
            instanceId: postgres-ac541555dd74
            startTime: 2025-12-10T00:00:00Z
    

    Using getInstanceBackupWalLogs

    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 getInstanceBackupWalLogs(args: GetInstanceBackupWalLogsArgs, opts?: InvokeOptions): Promise<GetInstanceBackupWalLogsResult>
    function getInstanceBackupWalLogsOutput(args: GetInstanceBackupWalLogsOutputArgs, opts?: InvokeOptions): Output<GetInstanceBackupWalLogsResult>
    def get_instance_backup_wal_logs(backup_id: Optional[str] = None,
                                     end_time: Optional[str] = None,
                                     instance_id: Optional[str] = None,
                                     output_file: Optional[str] = None,
                                     start_time: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetInstanceBackupWalLogsResult
    def get_instance_backup_wal_logs_output(backup_id: Optional[pulumi.Input[str]] = None,
                                     end_time: Optional[pulumi.Input[str]] = None,
                                     instance_id: Optional[pulumi.Input[str]] = None,
                                     output_file: Optional[pulumi.Input[str]] = None,
                                     start_time: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetInstanceBackupWalLogsResult]
    func GetInstanceBackupWalLogs(ctx *Context, args *GetInstanceBackupWalLogsArgs, opts ...InvokeOption) (*GetInstanceBackupWalLogsResult, error)
    func GetInstanceBackupWalLogsOutput(ctx *Context, args *GetInstanceBackupWalLogsOutputArgs, opts ...InvokeOption) GetInstanceBackupWalLogsResultOutput

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

    public static class GetInstanceBackupWalLogs 
    {
        public static Task<GetInstanceBackupWalLogsResult> InvokeAsync(GetInstanceBackupWalLogsArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceBackupWalLogsResult> Invoke(GetInstanceBackupWalLogsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceBackupWalLogsResult> getInstanceBackupWalLogs(GetInstanceBackupWalLogsArgs args, InvokeOptions options)
    public static Output<GetInstanceBackupWalLogsResult> getInstanceBackupWalLogs(GetInstanceBackupWalLogsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql/getInstanceBackupWalLogs:getInstanceBackupWalLogs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The id of the PostgreSQL instance.
    BackupId string
    The id of the backup.
    EndTime string
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    OutputFile string
    File name where to save data source results.
    StartTime string
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
    InstanceId string
    The id of the PostgreSQL instance.
    BackupId string
    The id of the backup.
    EndTime string
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    OutputFile string
    File name where to save data source results.
    StartTime string
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
    instanceId String
    The id of the PostgreSQL instance.
    backupId String
    The id of the backup.
    endTime String
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    outputFile String
    File name where to save data source results.
    startTime String
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
    instanceId string
    The id of the PostgreSQL instance.
    backupId string
    The id of the backup.
    endTime string
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    outputFile string
    File name where to save data source results.
    startTime string
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
    instance_id str
    The id of the PostgreSQL instance.
    backup_id str
    The id of the backup.
    end_time str
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    output_file str
    File name where to save data source results.
    start_time str
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).
    instanceId String
    The id of the PostgreSQL instance.
    backupId String
    The id of the backup.
    endTime String
    The end time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: The maximum interval between start_time and end_time cannot exceed 7 days.
    outputFile String
    File name where to save data source results.
    startTime String
    The start time of the query. The format is yyyy-MM-ddTHH:mm:ssZ (UTC time).

    getInstanceBackupWalLogs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TotalCount int
    The total count of query.
    WalLogBackups List<GetInstanceBackupWalLogsWalLogBackup>
    List of WAL log backups.
    BackupId string
    The ID of the WAL log backup.
    EndTime string
    OutputFile string
    StartTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TotalCount int
    The total count of query.
    WalLogBackups []GetInstanceBackupWalLogsWalLogBackup
    List of WAL log backups.
    BackupId string
    The ID of the WAL log backup.
    EndTime string
    OutputFile string
    StartTime string
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    totalCount Integer
    The total count of query.
    walLogBackups List<GetInstanceBackupWalLogsWalLogBackup>
    List of WAL log backups.
    backupId String
    The ID of the WAL log backup.
    endTime String
    outputFile String
    startTime String
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    totalCount number
    The total count of query.
    walLogBackups GetInstanceBackupWalLogsWalLogBackup[]
    List of WAL log backups.
    backupId string
    The ID of the WAL log backup.
    endTime string
    outputFile string
    startTime string
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    total_count int
    The total count of query.
    wal_log_backups Sequence[GetInstanceBackupWalLogsWalLogBackup]
    List of WAL log backups.
    backup_id str
    The ID of the WAL log backup.
    end_time str
    output_file str
    start_time str
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    totalCount Number
    The total count of query.
    walLogBackups List<Property Map>
    List of WAL log backups.
    backupId String
    The ID of the WAL log backup.
    endTime String
    outputFile String
    startTime String

    Supporting Types

    GetInstanceBackupWalLogsWalLogBackup

    BackupFileSize int
    The size of the WAL log backup file. The unit is bytes (Byte).
    BackupId string
    The id of the backup.
    BackupStatus string
    The status of the WAL log backup.
    CheckSum string
    The checksum in the ETag format using the crc64 algorithm.
    DownloadStatus string
    The downloadable status of the WAL log backup.
    ProjectName string
    The project to which the instance of the WAL log backup belongs.
    WalLogBackupEndTime string
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
    BackupFileSize int
    The size of the WAL log backup file. The unit is bytes (Byte).
    BackupId string
    The id of the backup.
    BackupStatus string
    The status of the WAL log backup.
    CheckSum string
    The checksum in the ETag format using the crc64 algorithm.
    DownloadStatus string
    The downloadable status of the WAL log backup.
    ProjectName string
    The project to which the instance of the WAL log backup belongs.
    WalLogBackupEndTime string
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
    backupFileSize Integer
    The size of the WAL log backup file. The unit is bytes (Byte).
    backupId String
    The id of the backup.
    backupStatus String
    The status of the WAL log backup.
    checkSum String
    The checksum in the ETag format using the crc64 algorithm.
    downloadStatus String
    The downloadable status of the WAL log backup.
    projectName String
    The project to which the instance of the WAL log backup belongs.
    walLogBackupEndTime String
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
    backupFileSize number
    The size of the WAL log backup file. The unit is bytes (Byte).
    backupId string
    The id of the backup.
    backupStatus string
    The status of the WAL log backup.
    checkSum string
    The checksum in the ETag format using the crc64 algorithm.
    downloadStatus string
    The downloadable status of the WAL log backup.
    projectName string
    The project to which the instance of the WAL log backup belongs.
    walLogBackupEndTime string
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
    backup_file_size int
    The size of the WAL log backup file. The unit is bytes (Byte).
    backup_id str
    The id of the backup.
    backup_status str
    The status of the WAL log backup.
    check_sum str
    The checksum in the ETag format using the crc64 algorithm.
    download_status str
    The downloadable status of the WAL log backup.
    project_name str
    The project to which the instance of the WAL log backup belongs.
    wal_log_backup_end_time str
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
    backupFileSize Number
    The size of the WAL log backup file. The unit is bytes (Byte).
    backupId String
    The id of the backup.
    backupStatus String
    The status of the WAL log backup.
    checkSum String
    The checksum in the ETag format using the crc64 algorithm.
    downloadStatus String
    The downloadable status of the WAL log backup.
    projectName String
    The project to which the instance of the WAL log backup belongs.
    walLogBackupEndTime String
    The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).

    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