"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.getTasksOutput = exports.getTasks = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds mysql tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.rds_mysql.getTasks({
 *     creationEndTime: "2025-06-23T00:00:00Z",
 *     creationStartTime: "2025-06-21T00:00:00Z",
 *     instanceId: "mysql-b51d37110dd1",
 * });
 * ```
 */
function getTasks(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_mysql/getTasks:getTasks", {
        "creationEndTime": args.creationEndTime,
        "creationStartTime": args.creationStartTime,
        "instanceId": args.instanceId,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "taskAction": args.taskAction,
        "taskCategories": args.taskCategories,
        "taskId": args.taskId,
        "taskSource": args.taskSource,
        "taskStatuses": args.taskStatuses,
        "taskType": args.taskType,
    }, opts);
}
exports.getTasks = getTasks;
/**
 * Use this data source to query detailed information of rds mysql tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.rds_mysql.getTasks({
 *     creationEndTime: "2025-06-23T00:00:00Z",
 *     creationStartTime: "2025-06-21T00:00:00Z",
 *     instanceId: "mysql-b51d37110dd1",
 * });
 * ```
 */
function getTasksOutput(args, opts) {
    return pulumi.output(args).apply((a) => getTasks(a, opts));
}
exports.getTasksOutput = getTasksOutput;
//# sourceMappingURL=getTasks.js.map