UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

89 lines 5.64 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.SwitchControllerFlowTracking = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class SwitchControllerFlowTracking extends pulumi.CustomResource { /** * Get an existing SwitchControllerFlowTracking 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 SwitchControllerFlowTracking(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of SwitchControllerFlowTracking. 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'] === SwitchControllerFlowTracking.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["aggregates"] = state ? state.aggregates : undefined; resourceInputs["collectorIp"] = state ? state.collectorIp : undefined; resourceInputs["collectorPort"] = state ? state.collectorPort : undefined; resourceInputs["collectors"] = state ? state.collectors : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["format"] = state ? state.format : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["level"] = state ? state.level : undefined; resourceInputs["maxExportPktSize"] = state ? state.maxExportPktSize : undefined; resourceInputs["sampleMode"] = state ? state.sampleMode : undefined; resourceInputs["sampleRate"] = state ? state.sampleRate : undefined; resourceInputs["templateExportPeriod"] = state ? state.templateExportPeriod : undefined; resourceInputs["timeoutGeneral"] = state ? state.timeoutGeneral : undefined; resourceInputs["timeoutIcmp"] = state ? state.timeoutIcmp : undefined; resourceInputs["timeoutMax"] = state ? state.timeoutMax : undefined; resourceInputs["timeoutTcp"] = state ? state.timeoutTcp : undefined; resourceInputs["timeoutTcpFin"] = state ? state.timeoutTcpFin : undefined; resourceInputs["timeoutTcpRst"] = state ? state.timeoutTcpRst : undefined; resourceInputs["timeoutUdp"] = state ? state.timeoutUdp : undefined; resourceInputs["transport"] = state ? state.transport : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; } else { const args = argsOrState; resourceInputs["aggregates"] = args ? args.aggregates : undefined; resourceInputs["collectorIp"] = args ? args.collectorIp : undefined; resourceInputs["collectorPort"] = args ? args.collectorPort : undefined; resourceInputs["collectors"] = args ? args.collectors : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["format"] = args ? args.format : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["level"] = args ? args.level : undefined; resourceInputs["maxExportPktSize"] = args ? args.maxExportPktSize : undefined; resourceInputs["sampleMode"] = args ? args.sampleMode : undefined; resourceInputs["sampleRate"] = args ? args.sampleRate : undefined; resourceInputs["templateExportPeriod"] = args ? args.templateExportPeriod : undefined; resourceInputs["timeoutGeneral"] = args ? args.timeoutGeneral : undefined; resourceInputs["timeoutIcmp"] = args ? args.timeoutIcmp : undefined; resourceInputs["timeoutMax"] = args ? args.timeoutMax : undefined; resourceInputs["timeoutTcp"] = args ? args.timeoutTcp : undefined; resourceInputs["timeoutTcpFin"] = args ? args.timeoutTcpFin : undefined; resourceInputs["timeoutTcpRst"] = args ? args.timeoutTcpRst : undefined; resourceInputs["timeoutUdp"] = args ? args.timeoutUdp : undefined; resourceInputs["transport"] = args ? args.transport : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(SwitchControllerFlowTracking.__pulumiType, name, resourceInputs, opts); } } exports.SwitchControllerFlowTracking = SwitchControllerFlowTracking; /** @internal */ SwitchControllerFlowTracking.__pulumiType = 'fortios:index/switchControllerFlowTracking:SwitchControllerFlowTracking'; //# sourceMappingURL=switchControllerFlowTracking.js.map