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 instance backup detacheds
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.rds_postgresql.getInstanceBackupDetacheds({
backupEndTime: "2025-12-15T23:59:59.999Z",
backupStartTime: "2025-12-01T00:00:00.000Z",
backupStatus: "Success",
backupType: "Full",
projectName: "default",
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.rds_postgresql.get_instance_backup_detacheds(backup_end_time="2025-12-15T23:59:59.999Z",
backup_start_time="2025-12-01T00:00:00.000Z",
backup_status="Success",
backup_type="Full",
project_name="default")
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.GetInstanceBackupDetacheds(ctx, &rds_postgresql.GetInstanceBackupDetachedsArgs{
BackupEndTime: pulumi.StringRef("2025-12-15T23:59:59.999Z"),
BackupStartTime: pulumi.StringRef("2025-12-01T00:00:00.000Z"),
BackupStatus: pulumi.StringRef("Success"),
BackupType: pulumi.StringRef("Full"),
ProjectName: pulumi.StringRef("default"),
}, 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.GetInstanceBackupDetacheds.Invoke(new()
{
BackupEndTime = "2025-12-15T23:59:59.999Z",
BackupStartTime = "2025-12-01T00:00:00.000Z",
BackupStatus = "Success",
BackupType = "Full",
ProjectName = "default",
});
});
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.GetInstanceBackupDetachedsArgs;
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.getInstanceBackupDetacheds(GetInstanceBackupDetachedsArgs.builder()
.backupEndTime("2025-12-15T23:59:59.999Z")
.backupStartTime("2025-12-01T00:00:00.000Z")
.backupStatus("Success")
.backupType("Full")
.projectName("default")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:rds_postgresql:getInstanceBackupDetacheds
Arguments:
backupEndTime: 2025-12-15T23:59:59.999Z
backupStartTime: 2025-12-01T00:00:00.000Z
backupStatus: Success
backupType: Full
projectName: default
Using getInstanceBackupDetacheds
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 getInstanceBackupDetacheds(args: GetInstanceBackupDetachedsArgs, opts?: InvokeOptions): Promise<GetInstanceBackupDetachedsResult>
function getInstanceBackupDetachedsOutput(args: GetInstanceBackupDetachedsOutputArgs, opts?: InvokeOptions): Output<GetInstanceBackupDetachedsResult>def get_instance_backup_detacheds(backup_end_time: Optional[str] = None,
backup_id: Optional[str] = None,
backup_start_time: Optional[str] = None,
backup_status: Optional[str] = None,
backup_type: Optional[str] = None,
instance_id: Optional[str] = None,
instance_name: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceBackupDetachedsResult
def get_instance_backup_detacheds_output(backup_end_time: Optional[pulumi.Input[str]] = None,
backup_id: Optional[pulumi.Input[str]] = None,
backup_start_time: Optional[pulumi.Input[str]] = None,
backup_status: Optional[pulumi.Input[str]] = None,
backup_type: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceBackupDetachedsResult]func GetInstanceBackupDetacheds(ctx *Context, args *GetInstanceBackupDetachedsArgs, opts ...InvokeOption) (*GetInstanceBackupDetachedsResult, error)
func GetInstanceBackupDetachedsOutput(ctx *Context, args *GetInstanceBackupDetachedsOutputArgs, opts ...InvokeOption) GetInstanceBackupDetachedsResultOutput> Note: This function is named GetInstanceBackupDetacheds in the Go SDK.
public static class GetInstanceBackupDetacheds
{
public static Task<GetInstanceBackupDetachedsResult> InvokeAsync(GetInstanceBackupDetachedsArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceBackupDetachedsResult> Invoke(GetInstanceBackupDetachedsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceBackupDetachedsResult> getInstanceBackupDetacheds(GetInstanceBackupDetachedsArgs args, InvokeOptions options)
public static Output<GetInstanceBackupDetachedsResult> getInstanceBackupDetacheds(GetInstanceBackupDetachedsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql/getInstanceBackupDetacheds:getInstanceBackupDetacheds
arguments:
# arguments dictionaryThe following arguments are supported:
- Backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The ID of the backup.
- Backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Instance
Id string - The ID of the PostgreSQL instance.
- Instance
Name string - The name of the PostgreSQL instance.
- Output
File string - File name where to save data source results.
- Project
Name string - The project to which the instance belongs.
- Backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The ID of the backup.
- Backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Instance
Id string - The ID of the PostgreSQL instance.
- Instance
Name string - The name of the PostgreSQL instance.
- Output
File string - File name where to save data source results.
- Project
Name string - The project to which the instance belongs.
- backup
End StringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The ID of the backup.
- backup
Start StringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- instance
Id String - The ID of the PostgreSQL instance.
- instance
Name String - The name of the PostgreSQL instance.
- output
File String - File name where to save data source results.
- project
Name String - The project to which the instance belongs.
- backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id string - The ID of the backup.
- backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status string - The status of the backup.
- backup
Type string - The type of the backup.
- instance
Id string - The ID of the PostgreSQL instance.
- instance
Name string - The name of the PostgreSQL instance.
- output
File string - File name where to save data source results.
- project
Name string - The project to which the instance belongs.
- backup_
end_ strtime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
id str - The ID of the backup.
- backup_
start_ strtime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
status str - The status of the backup.
- backup_
type str - The type of the backup.
- instance_
id str - The ID of the PostgreSQL instance.
- instance_
name str - The name of the PostgreSQL instance.
- output_
file str - File name where to save data source results.
- project_
name str - The project to which the instance belongs.
- backup
End StringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The ID of the backup.
- backup
Start StringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- instance
Id String - The ID of the PostgreSQL instance.
- instance
Name String - The name of the PostgreSQL instance.
- output
File String - File name where to save data source results.
- project
Name String - The project to which the instance belongs.
getInstanceBackupDetacheds Result
The following output properties are available:
- Backups
List<Get
Instance Backup Detacheds Backup> - List of deleted instance backups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Backup
End stringTime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The ID of the backup.
- Backup
Start stringTime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup: Success, Failed, Running.
- Backup
Type string - The type of the backup: Full, Increment.
- Instance
Id string - The ID of the instance.
- Instance
Name string - The name of the instance.
- Output
File string - Project
Name string
- Backups
[]Get
Instance Backup Detacheds Backup - List of deleted instance backups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Backup
End stringTime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Id string - The ID of the backup.
- Backup
Start stringTime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup: Success, Failed, Running.
- Backup
Type string - The type of the backup: Full, Increment.
- Instance
Id string - The ID of the instance.
- Instance
Name string - The name of the instance.
- Output
File string - Project
Name string
- backups
List<Get
Instance Backup Detacheds Backup> - List of deleted instance backups.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- backup
End StringTime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The ID of the backup.
- backup
Start StringTime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup: Success, Failed, Running.
- backup
Type String - The type of the backup: Full, Increment.
- instance
Id String - The ID of the instance.
- instance
Name String - The name of the instance.
- output
File String - project
Name String
- backups
Get
Instance Backup Detacheds Backup[] - List of deleted instance backups.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- backup
End stringTime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id string - The ID of the backup.
- backup
Start stringTime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status string - The status of the backup: Success, Failed, Running.
- backup
Type string - The type of the backup: Full, Increment.
- instance
Id string - The ID of the instance.
- instance
Name string - The name of the instance.
- output
File string - project
Name string
- backups
Sequence[Get
Instance Backup Detacheds Backup] - List of deleted instance backups.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- backup_
end_ strtime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
id str - The ID of the backup.
- backup_
start_ strtime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
status str - The status of the backup: Success, Failed, Running.
- backup_
type str - The type of the backup: Full, Increment.
- instance_
id str - The ID of the instance.
- instance_
name str - The name of the instance.
- output_
file str - project_
name str
- backups List<Property Map>
- List of deleted instance backups.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- backup
End StringTime - The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Id String - The ID of the backup.
- backup
Start StringTime - The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup: Success, Failed, Running.
- backup
Type String - The type of the backup: Full, Increment.
- instance
Id String - The ID of the instance.
- instance
Name String - The name of the instance.
- output
File String - project
Name String
Supporting Types
GetInstanceBackupDetachedsBackup
- Backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- Backup
Progress int - The progress of the backup. The unit is percentage.
- Backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Create
Type string - The creation type of the backup: System, User.
- Instance
Infos List<GetInstance Backup Detacheds Backup Instance Info> - Information about the PostgreSQL instance associated with this backup.
- Backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- Backup
Progress int - The progress of the backup. The unit is percentage.
- Backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- Backup
Status string - The status of the backup.
- Backup
Type string - The type of the backup.
- Create
Type string - The creation type of the backup: System, User.
- Instance
Infos []GetInstance Backup Detacheds Backup Instance Info - Information about the PostgreSQL instance associated with this backup.
- backup
End StringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- backup
Progress Integer - The progress of the backup. The unit is percentage.
- backup
Start StringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- create
Type String - The creation type of the backup: System, User.
- instance
Infos List<GetInstance Backup Detacheds Backup Instance Info> - Information about the PostgreSQL instance associated with this backup.
- backup
End stringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- backup
Progress number - The progress of the backup. The unit is percentage.
- backup
Start stringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status string - The status of the backup.
- backup
Type string - The type of the backup.
- create
Type string - The creation type of the backup: System, User.
- instance
Infos GetInstance Backup Detacheds Backup Instance Info[] - Information about the PostgreSQL instance associated with this backup.
- backup_
end_ strtime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- backup_
progress int - The progress of the backup. The unit is percentage.
- backup_
start_ strtime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup_
status str - The status of the backup.
- backup_
type str - The type of the backup.
- create_
type str - The creation type of the backup: System, User.
- instance_
infos Sequence[GetInstance Backup Detacheds Backup Instance Info] - Information about the PostgreSQL instance associated with this backup.
- backup
End StringTime - The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- 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 backup.
- backup
Progress Number - The progress of the backup. The unit is percentage.
- backup
Start StringTime - The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
- backup
Status String - The status of the backup.
- backup
Type String - The type of the backup.
- create
Type String - The creation type of the backup: System, User.
- instance
Infos List<Property Map> - Information about the PostgreSQL instance associated with this backup.
GetInstanceBackupDetachedsBackupInstanceInfo
- Db
Engine stringVersion - The version of the database engine.
- Instance
Id string - The ID of the PostgreSQL instance.
- Instance
Name string - The name of the PostgreSQL instance.
- Instance
Status string - The status of the instance.
- Db
Engine stringVersion - The version of the database engine.
- Instance
Id string - The ID of the PostgreSQL instance.
- Instance
Name string - The name of the PostgreSQL instance.
- Instance
Status string - The status of the instance.
- db
Engine StringVersion - The version of the database engine.
- instance
Id String - The ID of the PostgreSQL instance.
- instance
Name String - The name of the PostgreSQL instance.
- instance
Status String - The status of the instance.
- db
Engine stringVersion - The version of the database engine.
- instance
Id string - The ID of the PostgreSQL instance.
- instance
Name string - The name of the PostgreSQL instance.
- instance
Status string - The status of the instance.
- db_
engine_ strversion - The version of the database engine.
- instance_
id str - The ID of the PostgreSQL instance.
- instance_
name str - The name of the PostgreSQL instance.
- instance_
status str - The status of the instance.
- db
Engine StringVersion - The version of the database engine.
- instance
Id String - The ID of the PostgreSQL instance.
- instance
Name String - The name of the PostgreSQL instance.
- instance
Status String - The status of the instance.
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
