"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.getNotifyGroupPoliciesOutput = exports.getNotifyGroupPolicies = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vmp notify group policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
 *     description: "acc-test-1",
 *     levels: [
 *         {
 *             level: "P2",
 *             groupBies: ["__rule__"],
 *             groupWait: "35",
 *             groupInterval: "30",
 *             repeatInterval: "30",
 *         },
 *         {
 *             level: "P0",
 *             groupBies: ["__rule__"],
 *             groupWait: "30",
 *             groupInterval: "30",
 *             repeatInterval: "30",
 *         },
 *         {
 *             level: "P1",
 *             groupBies: ["__rule__"],
 *             groupWait: "40",
 *             groupInterval: "45",
 *             repeatInterval: "30",
 *         },
 *     ],
 * });
 * const fooNotifyGroupPolicies = volcengine.vmp.getNotifyGroupPoliciesOutput({
 *     ids: [fooNotifyGroupPolicy.id],
 * });
 * ```
 */
function getNotifyGroupPolicies(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/getNotifyGroupPolicies:getNotifyGroupPolicies", {
        "ids": args.ids,
        "name": args.name,
        "outputFile": args.outputFile,
    }, opts);
}
exports.getNotifyGroupPolicies = getNotifyGroupPolicies;
/**
 * Use this data source to query detailed information of vmp notify group policies
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooNotifyGroupPolicy = new volcengine.vmp.NotifyGroupPolicy("fooNotifyGroupPolicy", {
 *     description: "acc-test-1",
 *     levels: [
 *         {
 *             level: "P2",
 *             groupBies: ["__rule__"],
 *             groupWait: "35",
 *             groupInterval: "30",
 *             repeatInterval: "30",
 *         },
 *         {
 *             level: "P0",
 *             groupBies: ["__rule__"],
 *             groupWait: "30",
 *             groupInterval: "30",
 *             repeatInterval: "30",
 *         },
 *         {
 *             level: "P1",
 *             groupBies: ["__rule__"],
 *             groupWait: "40",
 *             groupInterval: "45",
 *             repeatInterval: "30",
 *         },
 *     ],
 * });
 * const fooNotifyGroupPolicies = volcengine.vmp.getNotifyGroupPoliciesOutput({
 *     ids: [fooNotifyGroupPolicy.id],
 * });
 * ```
 */
function getNotifyGroupPoliciesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getNotifyGroupPolicies(a, opts));
}
exports.getNotifyGroupPoliciesOutput = getNotifyGroupPoliciesOutput;
//# sourceMappingURL=getNotifyGroupPolicies.js.map