"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.rulesOutput = exports.rules = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vmp rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vmp.getRules({
 *     kind: "Recording",
 *     workspaceId: "baa02ffb-6f22-43c4-841b-ecf90ded****",
 * });
 * ```
 */
/** @deprecated volcengine.vmp.Rules has been deprecated in favor of volcengine.vmp.getRules */
function rules(args, opts) {
    pulumi.log.warn("rules is deprecated: volcengine.vmp.Rules has been deprecated in favor of volcengine.vmp.getRules");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/rules:Rules", {
        "kind": args.kind,
        "name": args.name,
        "outputFile": args.outputFile,
        "ruleFileNames": args.ruleFileNames,
        "ruleGroupNames": args.ruleGroupNames,
        "status": args.status,
        "workspaceId": args.workspaceId,
    }, opts);
}
exports.rules = rules;
/**
 * Use this data source to query detailed information of vmp rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vmp.getRules({
 *     kind: "Recording",
 *     workspaceId: "baa02ffb-6f22-43c4-841b-ecf90ded****",
 * });
 * ```
 */
/** @deprecated volcengine.vmp.Rules has been deprecated in favor of volcengine.vmp.getRules */
function rulesOutput(args, opts) {
    return pulumi.output(args).apply((a) => rules(a, opts));
}
exports.rulesOutput = rulesOutput;
//# sourceMappingURL=rules.js.map