UNPKG

@pulumi/fastly

Version:

A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4

44 lines 1.68 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getNgwafAccountRulesOutput = exports.getNgwafAccountRules = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get a Fastly Next-Gen WAF Account Rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const accountRules = fastly.getNgwafAccountRules({}); * export const fastlyNgwafAccountRulesAll = accountRules; * ``` */ function getNgwafAccountRules(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("fastly:index/getNgwafAccountRules:getNgwafAccountRules", {}, opts); } exports.getNgwafAccountRules = getNgwafAccountRules; /** * Use this data source to get a Fastly Next-Gen WAF Account Rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const accountRules = fastly.getNgwafAccountRules({}); * export const fastlyNgwafAccountRulesAll = accountRules; * ``` */ function getNgwafAccountRulesOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("fastly:index/getNgwafAccountRules:getNgwafAccountRules", {}, opts); } exports.getNgwafAccountRulesOutput = getNgwafAccountRulesOutput; //# sourceMappingURL=getNgwafAccountRules.js.map