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

    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 InstanceBackupDetacheds

    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 instanceBackupDetacheds(args: InstanceBackupDetachedsArgs, opts?: InvokeOptions): Promise<InstanceBackupDetachedsResult>
    function instanceBackupDetachedsOutput(args: InstanceBackupDetachedsOutputArgs, opts?: InvokeOptions): Output<InstanceBackupDetachedsResult>
    def 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) -> InstanceBackupDetachedsResult
    def 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[InstanceBackupDetachedsResult]
    func InstanceBackupDetacheds(ctx *Context, args *InstanceBackupDetachedsArgs, opts ...InvokeOption) (*InstanceBackupDetachedsResult, error)
    func InstanceBackupDetachedsOutput(ctx *Context, args *InstanceBackupDetachedsOutputArgs, opts ...InvokeOption) InstanceBackupDetachedsResultOutput
    public static class InstanceBackupDetacheds 
    {
        public static Task<InstanceBackupDetachedsResult> InvokeAsync(InstanceBackupDetachedsArgs args, InvokeOptions? opts = null)
        public static Output<InstanceBackupDetachedsResult> Invoke(InstanceBackupDetachedsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<InstanceBackupDetachedsResult> instanceBackupDetacheds(InstanceBackupDetachedsArgs args, InvokeOptions options)
    public static Output<InstanceBackupDetachedsResult> instanceBackupDetacheds(InstanceBackupDetachedsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql:InstanceBackupDetacheds
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupId string
    The ID of the backup.
    BackupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup.
    BackupType string
    The type of the backup.
    InstanceId string
    The ID of the PostgreSQL instance.
    InstanceName string
    The name of the PostgreSQL instance.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project to which the instance belongs.
    BackupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupId string
    The ID of the backup.
    BackupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup.
    BackupType string
    The type of the backup.
    InstanceId string
    The ID of the PostgreSQL instance.
    InstanceName string
    The name of the PostgreSQL instance.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The project to which the instance belongs.
    backupEndTime String
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId String
    The ID of the backup.
    backupStartTime String
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup.
    backupType String
    The type of the backup.
    instanceId String
    The ID of the PostgreSQL instance.
    instanceName String
    The name of the PostgreSQL instance.
    outputFile String
    File name where to save data source results.
    projectName String
    The project to which the instance belongs.
    backupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId string
    The ID of the backup.
    backupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus string
    The status of the backup.
    backupType string
    The type of the backup.
    instanceId string
    The ID of the PostgreSQL instance.
    instanceName string
    The name of the PostgreSQL instance.
    outputFile string
    File name where to save data source results.
    projectName string
    The project to which the instance belongs.
    backup_end_time str
    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_time str
    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.
    backupEndTime String
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId String
    The ID of the backup.
    backupStartTime String
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup.
    backupType String
    The type of the backup.
    instanceId String
    The ID of the PostgreSQL instance.
    instanceName String
    The name of the PostgreSQL instance.
    outputFile String
    File name where to save data source results.
    projectName String
    The project to which the instance belongs.

    InstanceBackupDetacheds Result

    The following output properties are available:

    Backups List<InstanceBackupDetachedsBackup>
    List of deleted instance backups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    BackupEndTime string
    The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupId string
    The ID of the backup.
    BackupStartTime string
    The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup: Success, Failed, Running.
    BackupType string
    The type of the backup: Full, Increment.
    InstanceId string
    The ID of the instance.
    InstanceName string
    The name of the instance.
    OutputFile string
    ProjectName string
    Backups []InstanceBackupDetachedsBackup
    List of deleted instance backups.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    BackupEndTime string
    The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupId string
    The ID of the backup.
    BackupStartTime string
    The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup: Success, Failed, Running.
    BackupType string
    The type of the backup: Full, Increment.
    InstanceId string
    The ID of the instance.
    InstanceName string
    The name of the instance.
    OutputFile string
    ProjectName string
    backups List<InstanceBackupDetachedsBackup>
    List of deleted instance backups.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    backupEndTime String
    The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId String
    The ID of the backup.
    backupStartTime String
    The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup: Success, Failed, Running.
    backupType String
    The type of the backup: Full, Increment.
    instanceId String
    The ID of the instance.
    instanceName String
    The name of the instance.
    outputFile String
    projectName String
    backups InstanceBackupDetachedsBackup[]
    List of deleted instance backups.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    backupEndTime string
    The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId string
    The ID of the backup.
    backupStartTime string
    The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus string
    The status of the backup: Success, Failed, Running.
    backupType string
    The type of the backup: Full, Increment.
    instanceId string
    The ID of the instance.
    instanceName string
    The name of the instance.
    outputFile string
    projectName string
    backups Sequence[InstanceBackupDetachedsBackup]
    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_time str
    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_time str
    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.
    totalCount Number
    The total count of query.
    backupEndTime String
    The end time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupId String
    The ID of the backup.
    backupStartTime String
    The start time of the backup. The time format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup: Success, Failed, Running.
    backupType String
    The type of the backup: Full, Increment.
    instanceId String
    The ID of the instance.
    instanceName String
    The name of the instance.
    outputFile String
    projectName String

    Supporting Types

    InstanceBackupDetachedsBackup

    BackupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupFileName string
    The name of the backup file.
    BackupFileSize int
    The size of the backup file, in Byte.
    BackupId string
    The ID of the backup.
    BackupProgress int
    The progress of the backup. The unit is percentage.
    BackupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup.
    BackupType string
    The type of the backup.
    CreateType string
    The creation type of the backup: System, User.
    InstanceInfos List<InstanceBackupDetachedsBackupInstanceInfo>
    Information about the PostgreSQL instance associated with this backup.
    BackupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupFileName string
    The name of the backup file.
    BackupFileSize int
    The size of the backup file, in Byte.
    BackupId string
    The ID of the backup.
    BackupProgress int
    The progress of the backup. The unit is percentage.
    BackupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    BackupStatus string
    The status of the backup.
    BackupType string
    The type of the backup.
    CreateType string
    The creation type of the backup: System, User.
    InstanceInfos []InstanceBackupDetachedsBackupInstanceInfo
    Information about the PostgreSQL instance associated with this backup.
    backupEndTime String
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupFileName String
    The name of the backup file.
    backupFileSize Integer
    The size of the backup file, in Byte.
    backupId String
    The ID of the backup.
    backupProgress Integer
    The progress of the backup. The unit is percentage.
    backupStartTime String
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup.
    backupType String
    The type of the backup.
    createType String
    The creation type of the backup: System, User.
    instanceInfos List<InstanceBackupDetachedsBackupInstanceInfo>
    Information about the PostgreSQL instance associated with this backup.
    backupEndTime string
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupFileName string
    The name of the backup file.
    backupFileSize number
    The size of the backup file, in Byte.
    backupId string
    The ID of the backup.
    backupProgress number
    The progress of the backup. The unit is percentage.
    backupStartTime string
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus string
    The status of the backup.
    backupType string
    The type of the backup.
    createType string
    The creation type of the backup: System, User.
    instanceInfos InstanceBackupDetachedsBackupInstanceInfo[]
    Information about the PostgreSQL instance associated with this backup.
    backup_end_time str
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    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 backup.
    backup_progress int
    The progress of the backup. The unit is percentage.
    backup_start_time str
    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[InstanceBackupDetachedsBackupInstanceInfo]
    Information about the PostgreSQL instance associated with this backup.
    backupEndTime String
    The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupFileName String
    The name of the backup file.
    backupFileSize Number
    The size of the backup file, in Byte.
    backupId String
    The ID of the backup.
    backupProgress Number
    The progress of the backup. The unit is percentage.
    backupStartTime String
    The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
    backupStatus String
    The status of the backup.
    backupType String
    The type of the backup.
    createType String
    The creation type of the backup: System, User.
    instanceInfos List<Property Map>
    Information about the PostgreSQL instance associated with this backup.

    InstanceBackupDetachedsBackupInstanceInfo

    DbEngineVersion string
    The version of the database engine.
    InstanceId string
    The ID of the PostgreSQL instance.
    InstanceName string
    The name of the PostgreSQL instance.
    InstanceStatus string
    The status of the instance.
    DbEngineVersion string
    The version of the database engine.
    InstanceId string
    The ID of the PostgreSQL instance.
    InstanceName string
    The name of the PostgreSQL instance.
    InstanceStatus string
    The status of the instance.
    dbEngineVersion String
    The version of the database engine.
    instanceId String
    The ID of the PostgreSQL instance.
    instanceName String
    The name of the PostgreSQL instance.
    instanceStatus String
    The status of the instance.
    dbEngineVersion string
    The version of the database engine.
    instanceId string
    The ID of the PostgreSQL instance.
    instanceName string
    The name of the PostgreSQL instance.
    instanceStatus string
    The status of the instance.
    db_engine_version str
    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.
    dbEngineVersion String
    The version of the database engine.
    instanceId String
    The ID of the PostgreSQL instance.
    instanceName String
    The name of the PostgreSQL instance.
    instanceStatus 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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate