"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.instanceTasksOutput = exports.instanceTasks = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds postgresql instance tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceTasks({
 *     creationEndTime: "2025-12-15T23:40:00Z",
 *     creationStartTime: "2025-12-10T21:30:00Z",
 *     instanceId: "postgres-72715e0d9f58",
 *     projectName: "default",
 *     taskAction: "ModifyDBEndpointReadWriteFlag",
 *     taskStatuses: [
 *         "Running",
 *         "Success",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceTasks has been deprecated in favor of volcengine.rds_postgresql.getInstanceTasks */
function instanceTasks(args, opts) {
    pulumi.log.warn("instanceTasks is deprecated: volcengine.rds_postgresql.InstanceTasks has been deprecated in favor of volcengine.rds_postgresql.getInstanceTasks");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/instanceTasks:InstanceTasks", {
        "creationEndTime": args.creationEndTime,
        "creationStartTime": args.creationStartTime,
        "instanceId": args.instanceId,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "taskAction": args.taskAction,
        "taskId": args.taskId,
        "taskStatuses": args.taskStatuses,
    }, opts);
}
exports.instanceTasks = instanceTasks;
/**
 * Use this data source to query detailed information of rds postgresql instance tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceTasks({
 *     creationEndTime: "2025-12-15T23:40:00Z",
 *     creationStartTime: "2025-12-10T21:30:00Z",
 *     instanceId: "postgres-72715e0d9f58",
 *     projectName: "default",
 *     taskAction: "ModifyDBEndpointReadWriteFlag",
 *     taskStatuses: [
 *         "Running",
 *         "Success",
 *     ],
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceTasks has been deprecated in favor of volcengine.rds_postgresql.getInstanceTasks */
function instanceTasksOutput(args, opts) {
    return pulumi.output(args).apply((a) => instanceTasks(a, opts));
}
exports.instanceTasksOutput = instanceTasksOutput;
//# sourceMappingURL=instanceTasks.js.map