UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

116 lines 6.58 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.Ospf6interface = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../../utilities"); /** * OSPF6 interface configuration. * * > The provider supports the definition of Ospf6-Interface in Router Ospf6 `fortios.router.Ospf6`, and also allows the definition of separate Ospf6-Interface resources `fortios.router/ospf6.Ospf6interface`, but do not use a `fortios.router.Ospf6` with in-line Ospf6-Interface in conjunction with any `fortios.router/ospf6.Ospf6interface` resources, otherwise conflicts and overwrite will occur. * * ## Import * * Routerospf6 Ospf6Interface can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:router/ospf6/ospf6interface:Ospf6interface labelname {{name}} * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:router/ospf6/ospf6interface:Ospf6interface labelname {{name}} * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ class Ospf6interface extends pulumi.CustomResource { /** * Get an existing Ospf6interface 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 Ospf6interface(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of Ospf6interface. 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'] === Ospf6interface.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["areaId"] = state ? state.areaId : undefined; resourceInputs["authentication"] = state ? state.authentication : undefined; resourceInputs["bfd"] = state ? state.bfd : undefined; resourceInputs["cost"] = state ? state.cost : undefined; resourceInputs["deadInterval"] = state ? state.deadInterval : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["helloInterval"] = state ? state.helloInterval : undefined; resourceInputs["interface"] = state ? state.interface : undefined; resourceInputs["ipsecAuthAlg"] = state ? state.ipsecAuthAlg : undefined; resourceInputs["ipsecEncAlg"] = state ? state.ipsecEncAlg : undefined; resourceInputs["ipsecKeys"] = state ? state.ipsecKeys : undefined; resourceInputs["keyRolloverInterval"] = state ? state.keyRolloverInterval : undefined; resourceInputs["mtu"] = state ? state.mtu : undefined; resourceInputs["mtuIgnore"] = state ? state.mtuIgnore : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["neighbors"] = state ? state.neighbors : undefined; resourceInputs["networkType"] = state ? state.networkType : undefined; resourceInputs["priority"] = state ? state.priority : undefined; resourceInputs["retransmitInterval"] = state ? state.retransmitInterval : undefined; resourceInputs["status"] = state ? state.status : undefined; resourceInputs["transmitDelay"] = state ? state.transmitDelay : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; } else { const args = argsOrState; resourceInputs["areaId"] = args ? args.areaId : undefined; resourceInputs["authentication"] = args ? args.authentication : undefined; resourceInputs["bfd"] = args ? args.bfd : undefined; resourceInputs["cost"] = args ? args.cost : undefined; resourceInputs["deadInterval"] = args ? args.deadInterval : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["helloInterval"] = args ? args.helloInterval : undefined; resourceInputs["interface"] = args ? args.interface : undefined; resourceInputs["ipsecAuthAlg"] = args ? args.ipsecAuthAlg : undefined; resourceInputs["ipsecEncAlg"] = args ? args.ipsecEncAlg : undefined; resourceInputs["ipsecKeys"] = args ? args.ipsecKeys : undefined; resourceInputs["keyRolloverInterval"] = args ? args.keyRolloverInterval : undefined; resourceInputs["mtu"] = args ? args.mtu : undefined; resourceInputs["mtuIgnore"] = args ? args.mtuIgnore : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["neighbors"] = args ? args.neighbors : undefined; resourceInputs["networkType"] = args ? args.networkType : undefined; resourceInputs["priority"] = args ? args.priority : undefined; resourceInputs["retransmitInterval"] = args ? args.retransmitInterval : undefined; resourceInputs["status"] = args ? args.status : undefined; resourceInputs["transmitDelay"] = args ? args.transmitDelay : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Ospf6interface.__pulumiType, name, resourceInputs, opts); } } exports.Ospf6interface = Ospf6interface; /** @internal */ Ospf6interface.__pulumiType = 'fortios:router/ospf6/ospf6interface:Ospf6interface'; //# sourceMappingURL=ospf6interface.js.map