UNPKG

@lubyou/pulumi-fortios

Version:

A Pulumi package for creating and managing fortios cloud resources.

87 lines 5.19 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.FirewallProfileProtocolOptions = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class FirewallProfileProtocolOptions extends pulumi.CustomResource { /** * Get an existing FirewallProfileProtocolOptions 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 FirewallProfileProtocolOptions(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of FirewallProfileProtocolOptions. 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'] === FirewallProfileProtocolOptions.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["cifs"] = state ? state.cifs : undefined; resourceInputs["comment"] = state ? state.comment : undefined; resourceInputs["dns"] = state ? state.dns : undefined; resourceInputs["featureSet"] = state ? state.featureSet : undefined; resourceInputs["ftp"] = state ? state.ftp : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["http"] = state ? state.http : undefined; resourceInputs["imap"] = state ? state.imap : undefined; resourceInputs["mailSignature"] = state ? state.mailSignature : undefined; resourceInputs["mapi"] = state ? state.mapi : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["nntp"] = state ? state.nntp : undefined; resourceInputs["oversizeLog"] = state ? state.oversizeLog : undefined; resourceInputs["pop3"] = state ? state.pop3 : undefined; resourceInputs["replacemsgGroup"] = state ? state.replacemsgGroup : undefined; resourceInputs["rpcOverHttp"] = state ? state.rpcOverHttp : undefined; resourceInputs["smtp"] = state ? state.smtp : undefined; resourceInputs["ssh"] = state ? state.ssh : undefined; resourceInputs["switchingProtocolsLog"] = state ? state.switchingProtocolsLog : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; } else { const args = argsOrState; resourceInputs["cifs"] = args ? args.cifs : undefined; resourceInputs["comment"] = args ? args.comment : undefined; resourceInputs["dns"] = args ? args.dns : undefined; resourceInputs["featureSet"] = args ? args.featureSet : undefined; resourceInputs["ftp"] = args ? args.ftp : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["http"] = args ? args.http : undefined; resourceInputs["imap"] = args ? args.imap : undefined; resourceInputs["mailSignature"] = args ? args.mailSignature : undefined; resourceInputs["mapi"] = args ? args.mapi : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["nntp"] = args ? args.nntp : undefined; resourceInputs["oversizeLog"] = args ? args.oversizeLog : undefined; resourceInputs["pop3"] = args ? args.pop3 : undefined; resourceInputs["replacemsgGroup"] = args ? args.replacemsgGroup : undefined; resourceInputs["rpcOverHttp"] = args ? args.rpcOverHttp : undefined; resourceInputs["smtp"] = args ? args.smtp : undefined; resourceInputs["ssh"] = args ? args.ssh : undefined; resourceInputs["switchingProtocolsLog"] = args ? args.switchingProtocolsLog : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(FirewallProfileProtocolOptions.__pulumiType, name, resourceInputs, opts); } } exports.FirewallProfileProtocolOptions = FirewallProfileProtocolOptions; /** @internal */ FirewallProfileProtocolOptions.__pulumiType = 'fortios:index/firewallProfileProtocolOptions:FirewallProfileProtocolOptions'; //# sourceMappingURL=firewallProfileProtocolOptions.js.map