"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.notifyTemplatesOutput = exports.notifyTemplates = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vmp notify templates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.vmp.NotifyTemplate("foo", {
 *     description: "acc-test-vmp",
 *     channel: "WeComBotWebhook",
 *     active: {
 *         title: "acc-test-active-template-title",
 *         content: "acc-test-active-template-content",
 *     },
 *     resolved: {
 *         title: "acc-test-resolved-template-title",
 *         content: "acc-test-resolved-template-content",
 *     },
 * });
 * const default = volcengine.vmp.getNotifyTemplatesOutput({
 *     ids: [foo.id],
 * });
 * ```
 */
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
function notifyTemplates(args, opts) {
    pulumi.log.warn("notifyTemplates is deprecated: volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/notifyTemplates:NotifyTemplates", {
        "channel": args.channel,
        "ids": args.ids,
        "name": args.name,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.notifyTemplates = notifyTemplates;
/**
 * Use this data source to query detailed information of vmp notify templates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const foo = new volcengine.vmp.NotifyTemplate("foo", {
 *     description: "acc-test-vmp",
 *     channel: "WeComBotWebhook",
 *     active: {
 *         title: "acc-test-active-template-title",
 *         content: "acc-test-active-template-content",
 *     },
 *     resolved: {
 *         title: "acc-test-resolved-template-title",
 *         content: "acc-test-resolved-template-content",
 *     },
 * });
 * const default = volcengine.vmp.getNotifyTemplatesOutput({
 *     ids: [foo.id],
 * });
 * ```
 */
/** @deprecated volcengine.vmp.NotifyTemplates has been deprecated in favor of volcengine.vmp.getNotifyTemplates */
function notifyTemplatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => notifyTemplates(a, opts));
}
exports.notifyTemplatesOutput = notifyTemplatesOutput;
//# sourceMappingURL=notifyTemplates.js.map