"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.getEtlTasksOutput = exports.getEtlTasks = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls etl tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.tls.getEtlTasks({
 *     projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
 * });
 * ```
 */
function getEtlTasks(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/getEtlTasks:getEtlTasks", {
        "iamProjectName": args.iamProjectName,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectId": args.projectId,
        "projectName": args.projectName,
        "sourceTopicId": args.sourceTopicId,
        "sourceTopicName": args.sourceTopicName,
        "status": args.status,
        "taskId": args.taskId,
        "taskName": args.taskName,
    }, opts);
}
exports.getEtlTasks = getEtlTasks;
/**
 * Use this data source to query detailed information of tls etl tasks
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.tls.getEtlTasks({
 *     projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
 * });
 * ```
 */
function getEtlTasksOutput(args, opts) {
    return pulumi.output(args).apply((a) => getEtlTasks(a, opts));
}
exports.getEtlTasksOutput = getEtlTasksOutput;
//# sourceMappingURL=getEtlTasks.js.map