"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataBackupsOutput = exports.dataBackups = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds postgresql data backups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getDataBackups({
 *     backupEndTime: "2025-12-15T23:59:59.999Z",
 *     backupId: "20251214-172343F",
 *     backupStartTime: "2025-12-01T00:00:00.000Z",
 *     instanceId: "postgres-72715e0d9f58",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.DataBackups has been deprecated in favor of volcengine.rds_postgresql.getDataBackups */
function dataBackups(args, opts) {
    pulumi.log.warn("dataBackups is deprecated: volcengine.rds_postgresql.DataBackups has been deprecated in favor of volcengine.rds_postgresql.getDataBackups");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/dataBackups:DataBackups", {
        "backupDatabaseName": args.backupDatabaseName,
        "backupDescription": args.backupDescription,
        "backupEndTime": args.backupEndTime,
        "backupId": args.backupId,
        "backupMethod": args.backupMethod,
        "backupScope": args.backupScope,
        "backupStartTime": args.backupStartTime,
        "backupStatus": args.backupStatus,
        "backupType": args.backupType,
        "createType": args.createType,
        "downloadStatus": args.downloadStatus,
        "instanceId": args.instanceId,
        "outputFile": args.outputFile,
    }, opts);
}
exports.dataBackups = dataBackups;
/**
 * Use this data source to query detailed information of rds postgresql data backups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getDataBackups({
 *     backupEndTime: "2025-12-15T23:59:59.999Z",
 *     backupId: "20251214-172343F",
 *     backupStartTime: "2025-12-01T00:00:00.000Z",
 *     instanceId: "postgres-72715e0d9f58",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.DataBackups has been deprecated in favor of volcengine.rds_postgresql.getDataBackups */
function dataBackupsOutput(args, opts) {
    return pulumi.output(args).apply((a) => dataBackups(a, opts));
}
exports.dataBackupsOutput = dataBackupsOutput;
//# sourceMappingURL=dataBackups.js.map