"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.alarmsOutput = exports.alarms = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls alarms
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getAlarms({});
 * ```
 */
/** @deprecated volcengine.tls.Alarms has been deprecated in favor of volcengine.tls.getAlarms */
function alarms(args, opts) {
    pulumi.log.warn("alarms is deprecated: volcengine.tls.Alarms has been deprecated in favor of volcengine.tls.getAlarms");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/alarms:Alarms", {
        "alarmId": args.alarmId,
        "alarmName": args.alarmName,
        "outputFile": args.outputFile,
        "projectId": args.projectId,
        "status": args.status,
        "topicId": args.topicId,
        "topicName": args.topicName,
    }, opts);
}
exports.alarms = alarms;
/**
 * Use this data source to query detailed information of tls alarms
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getAlarms({});
 * ```
 */
/** @deprecated volcengine.tls.Alarms has been deprecated in favor of volcengine.tls.getAlarms */
function alarmsOutput(args, opts) {
    return pulumi.output(args).apply((a) => alarms(a, opts));
}
exports.alarmsOutput = alarmsOutput;
//# sourceMappingURL=alarms.js.map