UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

98 lines 6.57 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.WebProxyGlobal = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class WebProxyGlobal extends pulumi.CustomResource { /** * Get an existing WebProxyGlobal resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name, id, state, opts) { return new WebProxyGlobal(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of WebProxyGlobal. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === WebProxyGlobal.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["fastPolicyMatch"] = state ? state.fastPolicyMatch : undefined; resourceInputs["forwardProxyAuth"] = state ? state.forwardProxyAuth : undefined; resourceInputs["forwardServerAffinityTimeout"] = state ? state.forwardServerAffinityTimeout : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["ldapUserCache"] = state ? state.ldapUserCache : undefined; resourceInputs["learnClientIp"] = state ? state.learnClientIp : undefined; resourceInputs["learnClientIpFromHeader"] = state ? state.learnClientIpFromHeader : undefined; resourceInputs["learnClientIpSrcaddr6s"] = state ? state.learnClientIpSrcaddr6s : undefined; resourceInputs["learnClientIpSrcaddrs"] = state ? state.learnClientIpSrcaddrs : undefined; resourceInputs["logForwardServer"] = state ? state.logForwardServer : undefined; resourceInputs["maxMessageLength"] = state ? state.maxMessageLength : undefined; resourceInputs["maxRequestLength"] = state ? state.maxRequestLength : undefined; resourceInputs["maxWafBodyCacheLength"] = state ? state.maxWafBodyCacheLength : undefined; resourceInputs["proxyFqdn"] = state ? state.proxyFqdn : undefined; resourceInputs["srcAffinityExemptAddr"] = state ? state.srcAffinityExemptAddr : undefined; resourceInputs["srcAffinityExemptAddr6"] = state ? state.srcAffinityExemptAddr6 : undefined; resourceInputs["sslCaCert"] = state ? state.sslCaCert : undefined; resourceInputs["sslCert"] = state ? state.sslCert : undefined; resourceInputs["strictWebCheck"] = state ? state.strictWebCheck : undefined; resourceInputs["tunnelNonHttp"] = state ? state.tunnelNonHttp : undefined; resourceInputs["unknownHttpVersion"] = state ? state.unknownHttpVersion : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; resourceInputs["webproxyProfile"] = state ? state.webproxyProfile : undefined; } else { const args = argsOrState; if ((!args || args.proxyFqdn === undefined) && !opts.urn) { throw new Error("Missing required property 'proxyFqdn'"); } resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["fastPolicyMatch"] = args ? args.fastPolicyMatch : undefined; resourceInputs["forwardProxyAuth"] = args ? args.forwardProxyAuth : undefined; resourceInputs["forwardServerAffinityTimeout"] = args ? args.forwardServerAffinityTimeout : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["ldapUserCache"] = args ? args.ldapUserCache : undefined; resourceInputs["learnClientIp"] = args ? args.learnClientIp : undefined; resourceInputs["learnClientIpFromHeader"] = args ? args.learnClientIpFromHeader : undefined; resourceInputs["learnClientIpSrcaddr6s"] = args ? args.learnClientIpSrcaddr6s : undefined; resourceInputs["learnClientIpSrcaddrs"] = args ? args.learnClientIpSrcaddrs : undefined; resourceInputs["logForwardServer"] = args ? args.logForwardServer : undefined; resourceInputs["maxMessageLength"] = args ? args.maxMessageLength : undefined; resourceInputs["maxRequestLength"] = args ? args.maxRequestLength : undefined; resourceInputs["maxWafBodyCacheLength"] = args ? args.maxWafBodyCacheLength : undefined; resourceInputs["proxyFqdn"] = args ? args.proxyFqdn : undefined; resourceInputs["srcAffinityExemptAddr"] = args ? args.srcAffinityExemptAddr : undefined; resourceInputs["srcAffinityExemptAddr6"] = args ? args.srcAffinityExemptAddr6 : undefined; resourceInputs["sslCaCert"] = args ? args.sslCaCert : undefined; resourceInputs["sslCert"] = args ? args.sslCert : undefined; resourceInputs["strictWebCheck"] = args ? args.strictWebCheck : undefined; resourceInputs["tunnelNonHttp"] = args ? args.tunnelNonHttp : undefined; resourceInputs["unknownHttpVersion"] = args ? args.unknownHttpVersion : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; resourceInputs["webproxyProfile"] = args ? args.webproxyProfile : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(WebProxyGlobal.__pulumiType, name, resourceInputs, opts); } } exports.WebProxyGlobal = WebProxyGlobal; /** @internal */ WebProxyGlobal.__pulumiType = 'fortios:index/webProxyGlobal:WebProxyGlobal'; //# sourceMappingURL=webProxyGlobal.js.map