1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. getBackupDownloads
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 backup downloads

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const example = volcengine.rds_postgresql.getBackupDownloads({
        backupId: "20251214-200431-0698LD",
        instanceId: "postgres-72715e0d9f58",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    example = volcengine.rds_postgresql.get_backup_downloads(backup_id="20251214-200431-0698LD",
        instance_id="postgres-72715e0d9f58")
    
    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.GetBackupDownloads(ctx, &rds_postgresql.GetBackupDownloadsArgs{
    			BackupId:   "20251214-200431-0698LD",
    			InstanceId: "postgres-72715e0d9f58",
    		}, 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.GetBackupDownloads.Invoke(new()
        {
            BackupId = "20251214-200431-0698LD",
            InstanceId = "postgres-72715e0d9f58",
        });
    
    });
    
    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.GetBackupDownloadsArgs;
    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.getBackupDownloads(GetBackupDownloadsArgs.builder()
                .backupId("20251214-200431-0698LD")
                .instanceId("postgres-72715e0d9f58")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: volcengine:rds_postgresql:getBackupDownloads
          Arguments:
            backupId: 20251214-200431-0698LD
            instanceId: postgres-72715e0d9f58
    

    Using getBackupDownloads

    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 getBackupDownloads(args: GetBackupDownloadsArgs, opts?: InvokeOptions): Promise<GetBackupDownloadsResult>
    function getBackupDownloadsOutput(args: GetBackupDownloadsOutputArgs, opts?: InvokeOptions): Output<GetBackupDownloadsResult>
    def get_backup_downloads(backup_id: Optional[str] = None,
                             instance_id: Optional[str] = None,
                             output_file: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetBackupDownloadsResult
    def get_backup_downloads_output(backup_id: Optional[pulumi.Input[str]] = None,
                             instance_id: Optional[pulumi.Input[str]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetBackupDownloadsResult]
    func GetBackupDownloads(ctx *Context, args *GetBackupDownloadsArgs, opts ...InvokeOption) (*GetBackupDownloadsResult, error)
    func GetBackupDownloadsOutput(ctx *Context, args *GetBackupDownloadsOutputArgs, opts ...InvokeOption) GetBackupDownloadsResultOutput

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

    public static class GetBackupDownloads 
    {
        public static Task<GetBackupDownloadsResult> InvokeAsync(GetBackupDownloadsArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupDownloadsResult> Invoke(GetBackupDownloadsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupDownloadsResult> getBackupDownloads(GetBackupDownloadsArgs args, InvokeOptions options)
    public static Output<GetBackupDownloadsResult> getBackupDownloads(GetBackupDownloadsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql/getBackupDownloads:getBackupDownloads
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackupId string
    The ID of the logical backup to be downloaded.
    InstanceId string
    The id of the PostgreSQL instance.
    OutputFile string
    File name where to save data source results.
    BackupId string
    The ID of the logical backup to be downloaded.
    InstanceId string
    The id of the PostgreSQL instance.
    OutputFile string
    File name where to save data source results.
    backupId String
    The ID of the logical backup to be downloaded.
    instanceId String
    The id of the PostgreSQL instance.
    outputFile String
    File name where to save data source results.
    backupId string
    The ID of the logical backup to be downloaded.
    instanceId string
    The id of the PostgreSQL instance.
    outputFile string
    File name where to save data source results.
    backup_id str
    The ID of the logical backup to be downloaded.
    instance_id str
    The id of the PostgreSQL instance.
    output_file str
    File name where to save data source results.
    backupId String
    The ID of the logical backup to be downloaded.
    instanceId String
    The id of the PostgreSQL instance.
    outputFile String
    File name where to save data source results.

    getBackupDownloads Result

    The following output properties are available:

    BackupId string
    The id of the backup.
    Downloads List<GetBackupDownloadsDownload>
    Download link information (if needed, please trigger the download task first).
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The id of the PostgreSQL instance.
    TotalCount int
    The total count of query.
    OutputFile string
    BackupId string
    The id of the backup.
    Downloads []GetBackupDownloadsDownload
    Download link information (if needed, please trigger the download task first).
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    The id of the PostgreSQL instance.
    TotalCount int
    The total count of query.
    OutputFile string
    backupId String
    The id of the backup.
    downloads List<GetBackupDownloadsDownload>
    Download link information (if needed, please trigger the download task first).
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The id of the PostgreSQL instance.
    totalCount Integer
    The total count of query.
    outputFile String
    backupId string
    The id of the backup.
    downloads GetBackupDownloadsDownload[]
    Download link information (if needed, please trigger the download task first).
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    The id of the PostgreSQL instance.
    totalCount number
    The total count of query.
    outputFile string
    backup_id str
    The id of the backup.
    downloads Sequence[GetBackupDownloadsDownload]
    Download link information (if needed, please trigger the download task first).
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    The id of the PostgreSQL instance.
    total_count int
    The total count of query.
    output_file str
    backupId String
    The id of the backup.
    downloads List<Property Map>
    Download link information (if needed, please trigger the download task first).
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    The id of the PostgreSQL instance.
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    GetBackupDownloadsDownload

    BackupDescription string
    The description of the backup set.
    BackupDownloadLink string
    The public network download address of the backup.
    BackupFileName string
    The name of the backup file.
    BackupFileSize int
    The size of the backup file, in Byte.
    BackupId string
    The ID of the logical backup to be downloaded.
    BackupMethod string
    The type of the backup.
    InnerBackupDownloadLink string
    The inner network download address of the backup.
    InstanceId string
    The id of the PostgreSQL instance.
    LinkExpiredTime string
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    PrepareProgress int
    The prepare progress of the backup.
    BackupDescription string
    The description of the backup set.
    BackupDownloadLink string
    The public network download address of the backup.
    BackupFileName string
    The name of the backup file.
    BackupFileSize int
    The size of the backup file, in Byte.
    BackupId string
    The ID of the logical backup to be downloaded.
    BackupMethod string
    The type of the backup.
    InnerBackupDownloadLink string
    The inner network download address of the backup.
    InstanceId string
    The id of the PostgreSQL instance.
    LinkExpiredTime string
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    PrepareProgress int
    The prepare progress of the backup.
    backupDescription String
    The description of the backup set.
    backupDownloadLink String
    The public network download address of the backup.
    backupFileName String
    The name of the backup file.
    backupFileSize Integer
    The size of the backup file, in Byte.
    backupId String
    The ID of the logical backup to be downloaded.
    backupMethod String
    The type of the backup.
    innerBackupDownloadLink String
    The inner network download address of the backup.
    instanceId String
    The id of the PostgreSQL instance.
    linkExpiredTime String
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    prepareProgress Integer
    The prepare progress of the backup.
    backupDescription string
    The description of the backup set.
    backupDownloadLink string
    The public network download address of the backup.
    backupFileName string
    The name of the backup file.
    backupFileSize number
    The size of the backup file, in Byte.
    backupId string
    The ID of the logical backup to be downloaded.
    backupMethod string
    The type of the backup.
    innerBackupDownloadLink string
    The inner network download address of the backup.
    instanceId string
    The id of the PostgreSQL instance.
    linkExpiredTime string
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    prepareProgress number
    The prepare progress of the backup.
    backup_description str
    The description of the backup set.
    backup_download_link str
    The public network download address of the backup.
    backup_file_name str
    The name of the backup file.
    backup_file_size int
    The size of the backup file, in Byte.
    backup_id str
    The ID of the logical backup to be downloaded.
    backup_method str
    The type of the backup.
    inner_backup_download_link str
    The inner network download address of the backup.
    instance_id str
    The id of the PostgreSQL instance.
    link_expired_time str
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    prepare_progress int
    The prepare progress of the backup.
    backupDescription String
    The description of the backup set.
    backupDownloadLink String
    The public network download address of the backup.
    backupFileName String
    The name of the backup file.
    backupFileSize Number
    The size of the backup file, in Byte.
    backupId String
    The ID of the logical backup to be downloaded.
    backupMethod String
    The type of the backup.
    innerBackupDownloadLink String
    The inner network download address of the backup.
    instanceId String
    The id of the PostgreSQL instance.
    linkExpiredTime String
    Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    prepareProgress Number
    The prepare progress of the backup.

    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