"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.ccRulesOutput = exports.ccRules = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of waf cc rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.waf.getCcRules({
 *     ccTypes: [1],
 *     host: "www.tf-test.com",
 *     pathOrderBy: "ASC",
 *     ruleName: "tf",
 * });
 * ```
 */
/** @deprecated volcengine.waf.CcRules has been deprecated in favor of volcengine.waf.getCcRules */
function ccRules(args, opts) {
    pulumi.log.warn("ccRules is deprecated: volcengine.waf.CcRules has been deprecated in favor of volcengine.waf.getCcRules");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:waf/ccRules:CcRules", {
        "ccTypes": args.ccTypes,
        "host": args.host,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
        "pathOrderBy": args.pathOrderBy,
        "ruleName": args.ruleName,
        "ruleTag": args.ruleTag,
        "url": args.url,
    }, opts);
}
exports.ccRules = ccRules;
/**
 * Use this data source to query detailed information of waf cc rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.waf.getCcRules({
 *     ccTypes: [1],
 *     host: "www.tf-test.com",
 *     pathOrderBy: "ASC",
 *     ruleName: "tf",
 * });
 * ```
 */
/** @deprecated volcengine.waf.CcRules has been deprecated in favor of volcengine.waf.getCcRules */
function ccRulesOutput(args, opts) {
    return pulumi.output(args).apply((a) => ccRules(a, opts));
}
exports.ccRulesOutput = ccRulesOutput;
//# sourceMappingURL=ccRules.js.map