"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 tls rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getRules({
 *     logType: "delimiter_log",
 *     pause: 0,
 *     projectId: "47788404-8f1e-49fd-9472-aced5f4bf73f",
 *     ruleId: "33b2607f-e213-42fb-a965-33a0f567ae23",
 *     topicId: "0a610439-d73f-4680-b365-24eefe98b4fc",
 * });
 * ```
 */
/** @deprecated volcengine.tls.Rules has been deprecated in favor of volcengine.tls.getRules */
function rules(args, opts) {
    pulumi.log.warn("rules is deprecated: volcengine.tls.Rules has been deprecated in favor of volcengine.tls.getRules");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/rules:Rules", {
        "iamProjectName": args.iamProjectName,
        "logType": args.logType,
        "outputFile": args.outputFile,
        "pause": args.pause,
        "projectId": args.projectId,
        "projectName": args.projectName,
        "ruleId": args.ruleId,
        "ruleName": args.ruleName,
        "topicId": args.topicId,
        "topicName": args.topicName,
    }, opts);
}
exports.rules = rules;
/**
 * Use this data source to query detailed information of tls rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getRules({
 *     logType: "delimiter_log",
 *     pause: 0,
 *     projectId: "47788404-8f1e-49fd-9472-aced5f4bf73f",
 *     ruleId: "33b2607f-e213-42fb-a965-33a0f567ae23",
 *     topicId: "0a610439-d73f-4680-b365-24eefe98b4fc",
 * });
 * ```
 */
/** @deprecated volcengine.tls.Rules has been deprecated in favor of volcengine.tls.getRules */
function rulesOutput(args, opts) {
    return pulumi.output(args).apply((a) => rules(a, opts));
}
exports.rulesOutput = rulesOutput;
//# sourceMappingURL=rules.js.map