"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.getListenerHealthsOutput = exports.getListenerHealths = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of alb listener healths
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.alb.getListenerHealths({
 *     listenerIds: [
 *         "lsn-xoetdjk3dzwg54ov5ewpam7c",
 *         "lsn-bdcxfof3fy808dv40ofappua",
 *     ],
 *     onlyUnHealthy: true,
 *     projectName: "default",
 * });
 * ```
 */
function getListenerHealths(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:alb/getListenerHealths:getListenerHealths", {
        "listenerIds": args.listenerIds,
        "onlyUnHealthy": args.onlyUnHealthy,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
    }, opts);
}
exports.getListenerHealths = getListenerHealths;
/**
 * Use this data source to query detailed information of alb listener healths
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.alb.getListenerHealths({
 *     listenerIds: [
 *         "lsn-xoetdjk3dzwg54ov5ewpam7c",
 *         "lsn-bdcxfof3fy808dv40ofappua",
 *     ],
 *     onlyUnHealthy: true,
 *     projectName: "default",
 * });
 * ```
 */
function getListenerHealthsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getListenerHealths(a, opts));
}
exports.getListenerHealthsOutput = getListenerHealthsOutput;
//# sourceMappingURL=getListenerHealths.js.map