"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.listenersOutput = exports.listeners = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/** @deprecated volcengine.nlb.Listeners has been deprecated in favor of volcengine.nlb.getListeners */
function listeners(args, opts) {
    pulumi.log.warn("listeners is deprecated: volcengine.nlb.Listeners has been deprecated in favor of volcengine.nlb.getListeners");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:nlb/listeners:Listeners", {
        "listenerIds": args.listenerIds,
        "listenerName": args.listenerName,
        "loadBalancerId": args.loadBalancerId,
        "outputFile": args.outputFile,
        "protocol": args.protocol,
        "tags": args.tags,
    }, opts);
}
exports.listeners = listeners;
/** @deprecated volcengine.nlb.Listeners has been deprecated in favor of volcengine.nlb.getListeners */
function listenersOutput(args, opts) {
    return pulumi.output(args).apply((a) => listeners(a, opts));
}
exports.listenersOutput = listenersOutput;
//# sourceMappingURL=listeners.js.map