1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. rds
  5. getCrossRegionBackups
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.rds.getCrossRegionBackups

Explore with Pulumi AI

This data source provides the Rds Parameter Groups of the current Alibaba Cloud user.

NOTE: Available in v1.196.0+.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const backups = alicloud.rds.getCrossRegionBackups({
    dbInstanceId: "example_value",
    startTime: "2022-12-01T00:00:00Z",
    endTime: "2022-12-16T00:00:00Z",
});
export const firstRdsCrossRegionBackups = backups.then(backups => backups.backups?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

backups = alicloud.rds.get_cross_region_backups(db_instance_id="example_value",
    start_time="2022-12-01T00:00:00Z",
    end_time="2022-12-16T00:00:00Z")
pulumi.export("firstRdsCrossRegionBackups", backups.backups[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/rds"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		backups, err := rds.GetCrossRegionBackups(ctx, &rds.GetCrossRegionBackupsArgs{
			DbInstanceId: "example_value",
			StartTime:    pulumi.StringRef("2022-12-01T00:00:00Z"),
			EndTime:      pulumi.StringRef("2022-12-16T00:00:00Z"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRdsCrossRegionBackups", backups.Backups[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var backups = AliCloud.Rds.GetCrossRegionBackups.Invoke(new()
    {
        DbInstanceId = "example_value",
        StartTime = "2022-12-01T00:00:00Z",
        EndTime = "2022-12-16T00:00:00Z",
    });

    return new Dictionary<string, object?>
    {
        ["firstRdsCrossRegionBackups"] = backups.Apply(getCrossRegionBackupsResult => getCrossRegionBackupsResult.Backups[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.rds.RdsFunctions;
import com.pulumi.alicloud.rds.inputs.GetCrossRegionBackupsArgs;
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 backups = RdsFunctions.getCrossRegionBackups(GetCrossRegionBackupsArgs.builder()
            .dbInstanceId("example_value")
            .startTime("2022-12-01T00:00:00Z")
            .endTime("2022-12-16T00:00:00Z")
            .build());

        ctx.export("firstRdsCrossRegionBackups", backups.applyValue(getCrossRegionBackupsResult -> getCrossRegionBackupsResult.backups()[0].id()));
    }
}
Copy
variables:
  backups:
    fn::invoke:
      function: alicloud:rds:getCrossRegionBackups
      arguments:
        dbInstanceId: example_value
        startTime: 2022-12-01T00:00:00Z
        endTime: 2022-12-16T00:00:00Z
outputs:
  firstRdsCrossRegionBackups: ${backups.backups[0].id}
Copy

Using getCrossRegionBackups

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 getCrossRegionBackups(args: GetCrossRegionBackupsArgs, opts?: InvokeOptions): Promise<GetCrossRegionBackupsResult>
function getCrossRegionBackupsOutput(args: GetCrossRegionBackupsOutputArgs, opts?: InvokeOptions): Output<GetCrossRegionBackupsResult>
Copy
def get_cross_region_backups(backup_id: Optional[str] = None,
                             cross_backup_id: Optional[str] = None,
                             cross_backup_region: Optional[str] = None,
                             db_instance_id: Optional[str] = None,
                             end_time: Optional[str] = None,
                             ids: Optional[Sequence[str]] = None,
                             output_file: Optional[str] = None,
                             resource_group_id: Optional[str] = None,
                             start_time: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetCrossRegionBackupsResult
def get_cross_region_backups_output(backup_id: Optional[pulumi.Input[str]] = None,
                             cross_backup_id: Optional[pulumi.Input[str]] = None,
                             cross_backup_region: Optional[pulumi.Input[str]] = None,
                             db_instance_id: Optional[pulumi.Input[str]] = None,
                             end_time: Optional[pulumi.Input[str]] = None,
                             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             resource_group_id: Optional[pulumi.Input[str]] = None,
                             start_time: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetCrossRegionBackupsResult]
Copy
func GetCrossRegionBackups(ctx *Context, args *GetCrossRegionBackupsArgs, opts ...InvokeOption) (*GetCrossRegionBackupsResult, error)
func GetCrossRegionBackupsOutput(ctx *Context, args *GetCrossRegionBackupsOutputArgs, opts ...InvokeOption) GetCrossRegionBackupsResultOutput
Copy

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

public static class GetCrossRegionBackups 
{
    public static Task<GetCrossRegionBackupsResult> InvokeAsync(GetCrossRegionBackupsArgs args, InvokeOptions? opts = null)
    public static Output<GetCrossRegionBackupsResult> Invoke(GetCrossRegionBackupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCrossRegionBackupsResult> getCrossRegionBackups(GetCrossRegionBackupsArgs args, InvokeOptions options)
public static Output<GetCrossRegionBackupsResult> getCrossRegionBackups(GetCrossRegionBackupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:rds/getCrossRegionBackups:getCrossRegionBackups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
BackupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
CrossBackupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
CrossBackupRegion Changes to this property will trigger replacement. string

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

EndTime Changes to this property will trigger replacement. string
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
Ids Changes to this property will trigger replacement. List<string>
A list of Cross Region Backup IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
StartTime Changes to this property will trigger replacement. string
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
DbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
BackupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
CrossBackupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
CrossBackupRegion Changes to this property will trigger replacement. string

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

EndTime Changes to this property will trigger replacement. string
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
Ids Changes to this property will trigger replacement. []string
A list of Cross Region Backup IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
ResourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
StartTime Changes to this property will trigger replacement. string
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The db instance id.
backupId Changes to this property will trigger replacement. String
The ID of the cross-region data backup file.
crossBackupId Changes to this property will trigger replacement. String
The ID of the cross-region data backup file.
crossBackupRegion Changes to this property will trigger replacement. String

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

endTime Changes to this property will trigger replacement. String
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
ids Changes to this property will trigger replacement. List<String>
A list of Cross Region Backup IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
startTime Changes to this property will trigger replacement. String
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The db instance id.
backupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
crossBackupId Changes to this property will trigger replacement. string
The ID of the cross-region data backup file.
crossBackupRegion Changes to this property will trigger replacement. string

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

endTime Changes to this property will trigger replacement. string
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
ids Changes to this property will trigger replacement. string[]
A list of Cross Region Backup IDs.
outputFile string
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. string
The ID of the resource group.
startTime Changes to this property will trigger replacement. string
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
db_instance_id
This property is required.
Changes to this property will trigger replacement.
str
The db instance id.
backup_id Changes to this property will trigger replacement. str
The ID of the cross-region data backup file.
cross_backup_id Changes to this property will trigger replacement. str
The ID of the cross-region data backup file.
cross_backup_region Changes to this property will trigger replacement. str

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

end_time Changes to this property will trigger replacement. str
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
ids Changes to this property will trigger replacement. Sequence[str]
A list of Cross Region Backup IDs.
output_file str
File name where to save data source results (after running pulumi preview).
resource_group_id Changes to this property will trigger replacement. str
The ID of the resource group.
start_time Changes to this property will trigger replacement. str
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
dbInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The db instance id.
backupId Changes to this property will trigger replacement. String
The ID of the cross-region data backup file.
crossBackupId Changes to this property will trigger replacement. String
The ID of the cross-region data backup file.
crossBackupRegion Changes to this property will trigger replacement. String

The ID of the destination region where the cross-region data backup file is stored.

NOTE: Note You must specify the cross_backup_id parameter. Alternatively, you must specify the start_time and end_time parameters.

endTime Changes to this property will trigger replacement. String
The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
ids Changes to this property will trigger replacement. List<String>
A list of Cross Region Backup IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
resourceGroupId Changes to this property will trigger replacement. String
The ID of the resource group.
startTime Changes to this property will trigger replacement. String
The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

getCrossRegionBackups Result

The following output properties are available:

Backups List<Pulumi.AliCloud.Rds.Outputs.GetCrossRegionBackupsBackup>
DbInstanceId string
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
BackupId string
CrossBackupId string
CrossBackupRegion string
EndTime string
OutputFile string
ResourceGroupId string
StartTime string
Backups []GetCrossRegionBackupsBackup
DbInstanceId string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
BackupId string
CrossBackupId string
CrossBackupRegion string
EndTime string
OutputFile string
ResourceGroupId string
StartTime string
backups List<GetCrossRegionBackupsBackup>
dbInstanceId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
backupId String
crossBackupId String
crossBackupRegion String
endTime String
outputFile String
resourceGroupId String
startTime String
backups GetCrossRegionBackupsBackup[]
dbInstanceId string
id string
The provider-assigned unique ID for this managed resource.
ids string[]
backupId string
crossBackupId string
crossBackupRegion string
endTime string
outputFile string
resourceGroupId string
startTime string
backups Sequence[GetCrossRegionBackupsBackup]
db_instance_id str
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
backup_id str
cross_backup_id str
cross_backup_region str
end_time str
output_file str
resource_group_id str
start_time str
backups List<Property Map>
dbInstanceId String
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
backupId String
crossBackupId String
crossBackupRegion String
endTime String
outputFile String
resourceGroupId String
startTime String

Supporting Types

GetCrossRegionBackupsBackup

BackupEndTime This property is required. string
The time when the cross-region data backup file was generated.
BackupMethod This property is required. string
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
BackupSetScale This property is required. string
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
BackupSetStatus This property is required. int
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
BackupStartTime This property is required. string
The time when the cross-region data backup started.
BackupType This property is required. string
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
Category This property is required. string
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
ConsistentTime This property is required. string
The point in time that is indicated by the data in the cross-region data backup file.
CrossBackupDownloadLink This property is required. string
The external URL from which you can download the cross-region data backup file.
CrossBackupId This property is required. string
The ID of the cross-region data backup file.
CrossBackupRegion This property is required. string
The ID of the destination region where the cross-region data backup file of the instance is stored.
CrossBackupSetFile This property is required. string
The name of the compressed package that contains the cross-region data backup file.
CrossBackupSetLocation This property is required. string
The location where the cross-region data backup file is stored.
CrossBackupSetSize This property is required. int
The size of the cross-region data backup file. Unit: bytes.
DbInstanceStorageType This property is required. string
The storage type.
Engine This property is required. string
The engine of the database.
EngineVersion This property is required. string
The version of the database engine.
Id This property is required. string
The ID of the cross-region data backup file.
InstanceId This property is required. int
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
RecoveryBeginTime This property is required. string
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
RecoveryEndTime This property is required. string
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
RestoreRegions This property is required. List<string>
An array that consists of the regions to which the cross-region data backup file can be restored.
BackupEndTime This property is required. string
The time when the cross-region data backup file was generated.
BackupMethod This property is required. string
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
BackupSetScale This property is required. string
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
BackupSetStatus This property is required. int
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
BackupStartTime This property is required. string
The time when the cross-region data backup started.
BackupType This property is required. string
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
Category This property is required. string
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
ConsistentTime This property is required. string
The point in time that is indicated by the data in the cross-region data backup file.
CrossBackupDownloadLink This property is required. string
The external URL from which you can download the cross-region data backup file.
CrossBackupId This property is required. string
The ID of the cross-region data backup file.
CrossBackupRegion This property is required. string
The ID of the destination region where the cross-region data backup file of the instance is stored.
CrossBackupSetFile This property is required. string
The name of the compressed package that contains the cross-region data backup file.
CrossBackupSetLocation This property is required. string
The location where the cross-region data backup file is stored.
CrossBackupSetSize This property is required. int
The size of the cross-region data backup file. Unit: bytes.
DbInstanceStorageType This property is required. string
The storage type.
Engine This property is required. string
The engine of the database.
EngineVersion This property is required. string
The version of the database engine.
Id This property is required. string
The ID of the cross-region data backup file.
InstanceId This property is required. int
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
RecoveryBeginTime This property is required. string
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
RecoveryEndTime This property is required. string
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
RestoreRegions This property is required. []string
An array that consists of the regions to which the cross-region data backup file can be restored.
backupEndTime This property is required. String
The time when the cross-region data backup file was generated.
backupMethod This property is required. String
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
backupSetScale This property is required. String
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
backupSetStatus This property is required. Integer
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
backupStartTime This property is required. String
The time when the cross-region data backup started.
backupType This property is required. String
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
category This property is required. String
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
consistentTime This property is required. String
The point in time that is indicated by the data in the cross-region data backup file.
crossBackupDownloadLink This property is required. String
The external URL from which you can download the cross-region data backup file.
crossBackupId This property is required. String
The ID of the cross-region data backup file.
crossBackupRegion This property is required. String
The ID of the destination region where the cross-region data backup file of the instance is stored.
crossBackupSetFile This property is required. String
The name of the compressed package that contains the cross-region data backup file.
crossBackupSetLocation This property is required. String
The location where the cross-region data backup file is stored.
crossBackupSetSize This property is required. Integer
The size of the cross-region data backup file. Unit: bytes.
dbInstanceStorageType This property is required. String
The storage type.
engine This property is required. String
The engine of the database.
engineVersion This property is required. String
The version of the database engine.
id This property is required. String
The ID of the cross-region data backup file.
instanceId This property is required. Integer
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
recoveryBeginTime This property is required. String
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
recoveryEndTime This property is required. String
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
restoreRegions This property is required. List<String>
An array that consists of the regions to which the cross-region data backup file can be restored.
backupEndTime This property is required. string
The time when the cross-region data backup file was generated.
backupMethod This property is required. string
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
backupSetScale This property is required. string
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
backupSetStatus This property is required. number
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
backupStartTime This property is required. string
The time when the cross-region data backup started.
backupType This property is required. string
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
category This property is required. string
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
consistentTime This property is required. string
The point in time that is indicated by the data in the cross-region data backup file.
crossBackupDownloadLink This property is required. string
The external URL from which you can download the cross-region data backup file.
crossBackupId This property is required. string
The ID of the cross-region data backup file.
crossBackupRegion This property is required. string
The ID of the destination region where the cross-region data backup file of the instance is stored.
crossBackupSetFile This property is required. string
The name of the compressed package that contains the cross-region data backup file.
crossBackupSetLocation This property is required. string
The location where the cross-region data backup file is stored.
crossBackupSetSize This property is required. number
The size of the cross-region data backup file. Unit: bytes.
dbInstanceStorageType This property is required. string
The storage type.
engine This property is required. string
The engine of the database.
engineVersion This property is required. string
The version of the database engine.
id This property is required. string
The ID of the cross-region data backup file.
instanceId This property is required. number
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
recoveryBeginTime This property is required. string
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
recoveryEndTime This property is required. string
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
restoreRegions This property is required. string[]
An array that consists of the regions to which the cross-region data backup file can be restored.
backup_end_time This property is required. str
The time when the cross-region data backup file was generated.
backup_method This property is required. str
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
backup_set_scale This property is required. str
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
backup_set_status This property is required. int
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
backup_start_time This property is required. str
The time when the cross-region data backup started.
backup_type This property is required. str
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
category This property is required. str
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
consistent_time This property is required. str
The point in time that is indicated by the data in the cross-region data backup file.
cross_backup_download_link This property is required. str
The external URL from which you can download the cross-region data backup file.
cross_backup_id This property is required. str
The ID of the cross-region data backup file.
cross_backup_region This property is required. str
The ID of the destination region where the cross-region data backup file of the instance is stored.
cross_backup_set_file This property is required. str
The name of the compressed package that contains the cross-region data backup file.
cross_backup_set_location This property is required. str
The location where the cross-region data backup file is stored.
cross_backup_set_size This property is required. int
The size of the cross-region data backup file. Unit: bytes.
db_instance_storage_type This property is required. str
The storage type.
engine This property is required. str
The engine of the database.
engine_version This property is required. str
The version of the database engine.
id This property is required. str
The ID of the cross-region data backup file.
instance_id This property is required. int
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
recovery_begin_time This property is required. str
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
recovery_end_time This property is required. str
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
restore_regions This property is required. Sequence[str]
An array that consists of the regions to which the cross-region data backup file can be restored.
backupEndTime This property is required. String
The time when the cross-region data backup file was generated.
backupMethod This property is required. String
The method that is used to generate the cross-region data backup file. Valid values: L - logical backup. P - physical backup.
backupSetScale This property is required. String
The level at which the cross-region data backup file is generated. 0 - instance-level backup. 1 - database-level backup.
backupSetStatus This property is required. Number
TThe status of the cross-region data backup. Valid values: 0 - The cross-region data backup is successful. 1 - The cross-region data backup failed.
backupStartTime This property is required. String
The time when the cross-region data backup started.
backupType This property is required. String
The type of the cross-region data backup. Valid values:F: full data backup F - full data backup. I - incremental data backup.
category This property is required. String
The RDS edition of the instance. Valid values: Basic - Basic Edition. HighAvailability - High-availability Edition. Finance - Enterprise Edition. This edition is supported only by the China site (aliyun.com).
consistentTime This property is required. String
The point in time that is indicated by the data in the cross-region data backup file.
crossBackupDownloadLink This property is required. String
The external URL from which you can download the cross-region data backup file.
crossBackupId This property is required. String
The ID of the cross-region data backup file.
crossBackupRegion This property is required. String
The ID of the destination region where the cross-region data backup file of the instance is stored.
crossBackupSetFile This property is required. String
The name of the compressed package that contains the cross-region data backup file.
crossBackupSetLocation This property is required. String
The location where the cross-region data backup file is stored.
crossBackupSetSize This property is required. Number
The size of the cross-region data backup file. Unit: bytes.
dbInstanceStorageType This property is required. String
The storage type.
engine This property is required. String
The engine of the database.
engineVersion This property is required. String
The version of the database engine.
id This property is required. String
The ID of the cross-region data backup file.
instanceId This property is required. Number
The ID of the instance. This parameter is used to determine whether the instance that generates the cross-region data backup file is a primary or secondary instance.
recoveryBeginTime This property is required. String
The start time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
recoveryEndTime This property is required. String
The end time to which data can be restored. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
restoreRegions This property is required. List<String>
An array that consists of the regions to which the cross-region data backup file can be restored.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.