UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

58 lines 1.84 kB
"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.getCcRulesOutput = exports.getCcRules = 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", * }); * ``` */ function getCcRules(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:waf/getCcRules:getCcRules", { "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.getCcRules = getCcRules; /** * 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", * }); * ``` */ function getCcRulesOutput(args, opts) { return pulumi.output(args).apply((a) => getCcRules(a, opts)); } exports.getCcRulesOutput = getCcRulesOutput; //# sourceMappingURL=getCcRules.js.map