"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.getNotifyTemplatesOutput = exports.getNotifyTemplates = 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],
 * });
 * ```
 */
function getNotifyTemplates(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/getNotifyTemplates:getNotifyTemplates", {
        "channel": args.channel,
        "ids": args.ids,
        "name": args.name,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getNotifyTemplates = getNotifyTemplates;
/**
 * 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],
 * });
 * ```
 */
function getNotifyTemplatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getNotifyTemplates(a, opts));
}
exports.getNotifyTemplatesOutput = getNotifyTemplatesOutput;
//# sourceMappingURL=getNotifyTemplates.js.map