UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

93 lines 6.01 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.WirelessControllerGlobal = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class WirelessControllerGlobal extends pulumi.CustomResource { /** * Get an existing WirelessControllerGlobal 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 WirelessControllerGlobal(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of WirelessControllerGlobal. 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'] === WirelessControllerGlobal.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["acdProcessCount"] = state ? state.acdProcessCount : undefined; resourceInputs["apLogServer"] = state ? state.apLogServer : undefined; resourceInputs["apLogServerIp"] = state ? state.apLogServerIp : undefined; resourceInputs["apLogServerPort"] = state ? state.apLogServerPort : undefined; resourceInputs["controlMessageOffload"] = state ? state.controlMessageOffload : undefined; resourceInputs["dataEthernetIi"] = state ? state.dataEthernetIi : undefined; resourceInputs["dfsLabTest"] = state ? state.dfsLabTest : undefined; resourceInputs["discoveryMcAddr"] = state ? state.discoveryMcAddr : undefined; resourceInputs["fiappEthType"] = state ? state.fiappEthType : undefined; resourceInputs["imageDownload"] = state ? state.imageDownload : undefined; resourceInputs["ipsecBaseIp"] = state ? state.ipsecBaseIp : undefined; resourceInputs["linkAggregation"] = state ? state.linkAggregation : undefined; resourceInputs["location"] = state ? state.location : undefined; resourceInputs["maxClients"] = state ? state.maxClients : undefined; resourceInputs["maxRetransmit"] = state ? state.maxRetransmit : undefined; resourceInputs["meshEthType"] = state ? state.meshEthType : undefined; resourceInputs["nacInterval"] = state ? state.nacInterval : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["rogueScanMacAdjacency"] = state ? state.rogueScanMacAdjacency : undefined; resourceInputs["tunnelMode"] = state ? state.tunnelMode : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; resourceInputs["wpadProcessCount"] = state ? state.wpadProcessCount : undefined; resourceInputs["wtpShare"] = state ? state.wtpShare : undefined; } else { const args = argsOrState; resourceInputs["acdProcessCount"] = args ? args.acdProcessCount : undefined; resourceInputs["apLogServer"] = args ? args.apLogServer : undefined; resourceInputs["apLogServerIp"] = args ? args.apLogServerIp : undefined; resourceInputs["apLogServerPort"] = args ? args.apLogServerPort : undefined; resourceInputs["controlMessageOffload"] = args ? args.controlMessageOffload : undefined; resourceInputs["dataEthernetIi"] = args ? args.dataEthernetIi : undefined; resourceInputs["dfsLabTest"] = args ? args.dfsLabTest : undefined; resourceInputs["discoveryMcAddr"] = args ? args.discoveryMcAddr : undefined; resourceInputs["fiappEthType"] = args ? args.fiappEthType : undefined; resourceInputs["imageDownload"] = args ? args.imageDownload : undefined; resourceInputs["ipsecBaseIp"] = args ? args.ipsecBaseIp : undefined; resourceInputs["linkAggregation"] = args ? args.linkAggregation : undefined; resourceInputs["location"] = args ? args.location : undefined; resourceInputs["maxClients"] = args ? args.maxClients : undefined; resourceInputs["maxRetransmit"] = args ? args.maxRetransmit : undefined; resourceInputs["meshEthType"] = args ? args.meshEthType : undefined; resourceInputs["nacInterval"] = args ? args.nacInterval : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["rogueScanMacAdjacency"] = args ? args.rogueScanMacAdjacency : undefined; resourceInputs["tunnelMode"] = args ? args.tunnelMode : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; resourceInputs["wpadProcessCount"] = args ? args.wpadProcessCount : undefined; resourceInputs["wtpShare"] = args ? args.wtpShare : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(WirelessControllerGlobal.__pulumiType, name, resourceInputs, opts); } } exports.WirelessControllerGlobal = WirelessControllerGlobal; /** @internal */ WirelessControllerGlobal.__pulumiType = 'fortios:index/wirelessControllerGlobal:WirelessControllerGlobal'; //# sourceMappingURL=wirelessControllerGlobal.js.map