"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.getAlertsOutput = exports.getAlerts = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vmp alerts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vmp.getAlerts({
 *     ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
 * });
 * ```
 */
function getAlerts(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/getAlerts:getAlerts", {
        "alertingRuleIds": args.alertingRuleIds,
        "currentPhase": args.currentPhase,
        "desc": args.desc,
        "ids": args.ids,
        "level": args.level,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getAlerts = getAlerts;
/**
 * Use this data source to query detailed information of vmp alerts
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vmp.getAlerts({
 *     ids: ["9a4f84-0868efcb795c2ac4-73cefd4b3263****"],
 * });
 * ```
 */
function getAlertsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAlerts(a, opts));
}
exports.getAlertsOutput = getAlertsOutput;
//# sourceMappingURL=getAlerts.js.map