UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

85 lines 5.11 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.LogNullDeviceFilter = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class LogNullDeviceFilter extends pulumi.CustomResource { /** * Get an existing LogNullDeviceFilter 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 LogNullDeviceFilter(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of LogNullDeviceFilter. 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'] === LogNullDeviceFilter.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["anomaly"] = state ? state.anomaly : undefined; resourceInputs["dns"] = state ? state.dns : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["filter"] = state ? state.filter : undefined; resourceInputs["filterType"] = state ? state.filterType : undefined; resourceInputs["forwardTraffic"] = state ? state.forwardTraffic : undefined; resourceInputs["freeStyles"] = state ? state.freeStyles : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["gtp"] = state ? state.gtp : undefined; resourceInputs["localTraffic"] = state ? state.localTraffic : undefined; resourceInputs["multicastTraffic"] = state ? state.multicastTraffic : undefined; resourceInputs["netscanDiscovery"] = state ? state.netscanDiscovery : undefined; resourceInputs["netscanVulnerability"] = state ? state.netscanVulnerability : undefined; resourceInputs["severity"] = state ? state.severity : undefined; resourceInputs["snifferTraffic"] = state ? state.snifferTraffic : undefined; resourceInputs["ssh"] = state ? state.ssh : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; resourceInputs["voip"] = state ? state.voip : undefined; resourceInputs["ztnaTraffic"] = state ? state.ztnaTraffic : undefined; } else { const args = argsOrState; resourceInputs["anomaly"] = args ? args.anomaly : undefined; resourceInputs["dns"] = args ? args.dns : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["filter"] = args ? args.filter : undefined; resourceInputs["filterType"] = args ? args.filterType : undefined; resourceInputs["forwardTraffic"] = args ? args.forwardTraffic : undefined; resourceInputs["freeStyles"] = args ? args.freeStyles : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["gtp"] = args ? args.gtp : undefined; resourceInputs["localTraffic"] = args ? args.localTraffic : undefined; resourceInputs["multicastTraffic"] = args ? args.multicastTraffic : undefined; resourceInputs["netscanDiscovery"] = args ? args.netscanDiscovery : undefined; resourceInputs["netscanVulnerability"] = args ? args.netscanVulnerability : undefined; resourceInputs["severity"] = args ? args.severity : undefined; resourceInputs["snifferTraffic"] = args ? args.snifferTraffic : undefined; resourceInputs["ssh"] = args ? args.ssh : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; resourceInputs["voip"] = args ? args.voip : undefined; resourceInputs["ztnaTraffic"] = args ? args.ztnaTraffic : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LogNullDeviceFilter.__pulumiType, name, resourceInputs, opts); } } exports.LogNullDeviceFilter = LogNullDeviceFilter; /** @internal */ LogNullDeviceFilter.__pulumiType = 'fortios:index/logNullDeviceFilter:LogNullDeviceFilter'; //# sourceMappingURL=logNullDeviceFilter.js.map