get Cross Region Backups
This data source provides the Rds Parameter Groups of the current Alibaba Cloud user.
NOTE: Available in v1.196.0+.
Example Usage
Basic Usage
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()));
}
}
Return
A collection of values returned by getCrossRegionBackups.
Parameters
A collection of arguments for invoking getCrossRegionBackups.
Return
A collection of values returned by getCrossRegionBackups.
See also
Parameters
The ID of the cross-region data backup file.
The ID of the cross-region data backup file.
The ID of the destination region where the cross-region data backup file of the instance is stored.
The db instance id.
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.
A list of Cross Region Backup IDs.
File name where to save data source results (after running pulumi preview
).
The ID of the resource group.
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.
Return
A collection of values returned by getCrossRegionBackups.
See also
Parameters
Builder for com.pulumi.alicloud.rds.kotlin.inputs.GetCrossRegionBackupsPlainArgs.