"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.getAclRulesOutput = exports.getAclRules = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of waf acl rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.waf.getAclRules({
 *     aclType: "Block",
 *     actions: ["observe"],
 *     defenceHosts: ["www.tf-test.com"],
 *     enables: [1],
 *     projectName: "default",
 *     ruleName: "tf-test",
 *     timeOrderBy: "ASC",
 * });
 * ```
 */
function getAclRules(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:waf/getAclRules:getAclRules", {
        "aclType": args.aclType,
        "actions": args.actions,
        "defenceHosts": args.defenceHosts,
        "enables": args.enables,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "ruleName": args.ruleName,
        "ruleTag": args.ruleTag,
        "timeOrderBy": args.timeOrderBy,
    }, opts);
}
exports.getAclRules = getAclRules;
/**
 * Use this data source to query detailed information of waf acl rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.waf.getAclRules({
 *     aclType: "Block",
 *     actions: ["observe"],
 *     defenceHosts: ["www.tf-test.com"],
 *     enables: [1],
 *     projectName: "default",
 *     ruleName: "tf-test",
 *     timeOrderBy: "ASC",
 * });
 * ```
 */
function getAclRulesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getAclRules(a, opts));
}
exports.getAclRulesOutput = getAclRulesOutput;
//# sourceMappingURL=getAclRules.js.map