UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

63 lines 2.43 kB
"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.getDataBackupsOutput = exports.getDataBackups = 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", * }); * ``` */ function getDataBackups(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:rds_postgresql/getDataBackups:getDataBackups", { "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.getDataBackups = getDataBackups; /** * 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", * }); * ``` */ function getDataBackupsOutput(args, opts) { return pulumi.output(args).apply((a) => getDataBackups(a, opts)); } exports.getDataBackupsOutput = getDataBackupsOutput; //# sourceMappingURL=getDataBackups.js.map