UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

99 lines 6.4 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.WirelessControllerQosProfile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class WirelessControllerQosProfile extends pulumi.CustomResource { /** * Get an existing WirelessControllerQosProfile 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 WirelessControllerQosProfile(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of WirelessControllerQosProfile. 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'] === WirelessControllerQosProfile.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["bandwidthAdmissionControl"] = state ? state.bandwidthAdmissionControl : undefined; resourceInputs["bandwidthCapacity"] = state ? state.bandwidthCapacity : undefined; resourceInputs["burst"] = state ? state.burst : undefined; resourceInputs["callAdmissionControl"] = state ? state.callAdmissionControl : undefined; resourceInputs["callCapacity"] = state ? state.callCapacity : undefined; resourceInputs["comment"] = state ? state.comment : undefined; resourceInputs["downlink"] = state ? state.downlink : undefined; resourceInputs["downlinkSta"] = state ? state.downlinkSta : undefined; resourceInputs["dscpWmmBes"] = state ? state.dscpWmmBes : undefined; resourceInputs["dscpWmmBks"] = state ? state.dscpWmmBks : undefined; resourceInputs["dscpWmmMapping"] = state ? state.dscpWmmMapping : undefined; resourceInputs["dscpWmmVis"] = state ? state.dscpWmmVis : undefined; resourceInputs["dscpWmmVos"] = state ? state.dscpWmmVos : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["uplink"] = state ? state.uplink : undefined; resourceInputs["uplinkSta"] = state ? state.uplinkSta : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; resourceInputs["wmm"] = state ? state.wmm : undefined; resourceInputs["wmmBeDscp"] = state ? state.wmmBeDscp : undefined; resourceInputs["wmmBkDscp"] = state ? state.wmmBkDscp : undefined; resourceInputs["wmmDscpMarking"] = state ? state.wmmDscpMarking : undefined; resourceInputs["wmmUapsd"] = state ? state.wmmUapsd : undefined; resourceInputs["wmmViDscp"] = state ? state.wmmViDscp : undefined; resourceInputs["wmmVoDscp"] = state ? state.wmmVoDscp : undefined; } else { const args = argsOrState; resourceInputs["bandwidthAdmissionControl"] = args ? args.bandwidthAdmissionControl : undefined; resourceInputs["bandwidthCapacity"] = args ? args.bandwidthCapacity : undefined; resourceInputs["burst"] = args ? args.burst : undefined; resourceInputs["callAdmissionControl"] = args ? args.callAdmissionControl : undefined; resourceInputs["callCapacity"] = args ? args.callCapacity : undefined; resourceInputs["comment"] = args ? args.comment : undefined; resourceInputs["downlink"] = args ? args.downlink : undefined; resourceInputs["downlinkSta"] = args ? args.downlinkSta : undefined; resourceInputs["dscpWmmBes"] = args ? args.dscpWmmBes : undefined; resourceInputs["dscpWmmBks"] = args ? args.dscpWmmBks : undefined; resourceInputs["dscpWmmMapping"] = args ? args.dscpWmmMapping : undefined; resourceInputs["dscpWmmVis"] = args ? args.dscpWmmVis : undefined; resourceInputs["dscpWmmVos"] = args ? args.dscpWmmVos : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["uplink"] = args ? args.uplink : undefined; resourceInputs["uplinkSta"] = args ? args.uplinkSta : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; resourceInputs["wmm"] = args ? args.wmm : undefined; resourceInputs["wmmBeDscp"] = args ? args.wmmBeDscp : undefined; resourceInputs["wmmBkDscp"] = args ? args.wmmBkDscp : undefined; resourceInputs["wmmDscpMarking"] = args ? args.wmmDscpMarking : undefined; resourceInputs["wmmUapsd"] = args ? args.wmmUapsd : undefined; resourceInputs["wmmViDscp"] = args ? args.wmmViDscp : undefined; resourceInputs["wmmVoDscp"] = args ? args.wmmVoDscp : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(WirelessControllerQosProfile.__pulumiType, name, resourceInputs, opts); } } exports.WirelessControllerQosProfile = WirelessControllerQosProfile; /** @internal */ WirelessControllerQosProfile.__pulumiType = 'fortios:index/wirelessControllerQosProfile:WirelessControllerQosProfile'; //# sourceMappingURL=wirelessControllerQosProfile.js.map