UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

52 lines 1.99 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.customPagesOutput = exports.customPages = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of waf custom pages * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getCustomPages({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.CustomPages has been deprecated in favor of volcengine.waf.getCustomPages */ function customPages(args, opts) { pulumi.log.warn("customPages is deprecated: volcengine.waf.CustomPages has been deprecated in favor of volcengine.waf.getCustomPages"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:waf/customPages:CustomPages", { "host": args.host, "nameRegex": args.nameRegex, "outputFile": args.outputFile, "projectName": args.projectName, "ruleTag": args.ruleTag, }, opts); } exports.customPages = customPages; /** * Use this data source to query detailed information of waf custom pages * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.waf.getCustomPages({ * host: "www.tf-test.com", * }); * ``` */ /** @deprecated volcengine.waf.CustomPages has been deprecated in favor of volcengine.waf.getCustomPages */ function customPagesOutput(args, opts) { return pulumi.output(args).apply((a) => customPages(a, opts)); } exports.customPagesOutput = customPagesOutput; //# sourceMappingURL=customPages.js.map