Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
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 dictionaryThe following arguments are supported:
- Backup
Id string - The ID of the logical backup to be downloaded.
- Instance
Id string - The id of the PostgreSQL instance.
- Output
File string - File name where to save data source results.
- Backup
Id string - The ID of the logical backup to be downloaded.
- Instance
Id string - The id of the PostgreSQL instance.
- Output
File string - File name where to save data source results.
- backup
Id String - The ID of the logical backup to be downloaded.
- instance
Id String - The id of the PostgreSQL instance.
- output
File String - File name where to save data source results.
- backup
Id string - The ID of the logical backup to be downloaded.
- instance
Id string - The id of the PostgreSQL instance.
- output
File 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.
- backup
Id String - The ID of the logical backup to be downloaded.
- instance
Id String - The id of the PostgreSQL instance.
- output
File String - File name where to save data source results.
getBackupDownloads Result
The following output properties are available:
- Backup
Id string - The id of the backup.
- Downloads
List<Get
Backup Downloads Download> - Download link information (if needed, please trigger the download task first).
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of the PostgreSQL instance.
- Total
Count int - The total count of query.
- Output
File string
- Backup
Id string - The id of the backup.
- Downloads
[]Get
Backup Downloads Download - Download link information (if needed, please trigger the download task first).
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The id of the PostgreSQL instance.
- Total
Count int - The total count of query.
- Output
File string
- backup
Id String - The id of the backup.
- downloads
List<Get
Backup Downloads Download> - Download link information (if needed, please trigger the download task first).
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The id of the PostgreSQL instance.
- total
Count Integer - The total count of query.
- output
File String
- backup
Id string - The id of the backup.
- downloads
Get
Backup Downloads Download[] - Download link information (if needed, please trigger the download task first).
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - The id of the PostgreSQL instance.
- total
Count number - The total count of query.
- output
File string
- backup_
id str - The id of the backup.
- downloads
Sequence[Get
Backup Downloads Download] - 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
- backup
Id 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.
- instance
Id String - The id of the PostgreSQL instance.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
GetBackupDownloadsDownload
- Backup
Description string - The description of the backup set.
- Backup
Download stringLink - The public network download address of the backup.
- Backup
File stringName - The name of the backup file.
- Backup
File intSize - The size of the backup file, in Byte.
- Backup
Id string - The ID of the logical backup to be downloaded.
- Backup
Method string - The type of the backup.
- Inner
Backup stringDownload Link - The inner network download address of the backup.
- Instance
Id string - The id of the PostgreSQL instance.
- Link
Expired stringTime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Prepare
Progress int - The prepare progress of the backup.
- Backup
Description string - The description of the backup set.
- Backup
Download stringLink - The public network download address of the backup.
- Backup
File stringName - The name of the backup file.
- Backup
File intSize - The size of the backup file, in Byte.
- Backup
Id string - The ID of the logical backup to be downloaded.
- Backup
Method string - The type of the backup.
- Inner
Backup stringDownload Link - The inner network download address of the backup.
- Instance
Id string - The id of the PostgreSQL instance.
- Link
Expired stringTime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Prepare
Progress int - The prepare progress of the backup.
- backup
Description String - The description of the backup set.
- backup
Download StringLink - The public network download address of the backup.
- backup
File StringName - The name of the backup file.
- backup
File IntegerSize - The size of the backup file, in Byte.
- backup
Id String - The ID of the logical backup to be downloaded.
- backup
Method String - The type of the backup.
- inner
Backup StringDownload Link - The inner network download address of the backup.
- instance
Id String - The id of the PostgreSQL instance.
- link
Expired StringTime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- prepare
Progress Integer - The prepare progress of the backup.
- backup
Description string - The description of the backup set.
- backup
Download stringLink - The public network download address of the backup.
- backup
File stringName - The name of the backup file.
- backup
File numberSize - The size of the backup file, in Byte.
- backup
Id string - The ID of the logical backup to be downloaded.
- backup
Method string - The type of the backup.
- inner
Backup stringDownload Link - The inner network download address of the backup.
- instance
Id string - The id of the PostgreSQL instance.
- link
Expired stringTime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- prepare
Progress number - The prepare progress of the backup.
- backup_
description str - The description of the backup set.
- backup_
download_ strlink - The public network download address of the backup.
- backup_
file_ strname - The name of the backup file.
- backup_
file_ intsize - 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_ strdownload_ link - The inner network download address of the backup.
- instance_
id str - The id of the PostgreSQL instance.
- link_
expired_ strtime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- prepare_
progress int - The prepare progress of the backup.
- backup
Description String - The description of the backup set.
- backup
Download StringLink - The public network download address of the backup.
- backup
File StringName - The name of the backup file.
- backup
File NumberSize - The size of the backup file, in Byte.
- backup
Id String - The ID of the logical backup to be downloaded.
- backup
Method String - The type of the backup.
- inner
Backup StringDownload Link - The inner network download address of the backup.
- instance
Id String - The id of the PostgreSQL instance.
- link
Expired StringTime - Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- prepare
Progress 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
volcengineTerraform Provider.
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
