UNPKG

@pulumiverse/fortios

Version:

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

193 lines 11.5 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.Isis = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Configure IS-IS. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const trname = new fortios.router.Isis("trname", { * adjacencyCheck: "disable", * adjacencyCheck6: "disable", * advPassiveOnly: "disable", * advPassiveOnly6: "disable", * authModeL1: "password", * authModeL2: "password", * authSendonlyL1: "disable", * authSendonlyL2: "disable", * defaultOriginate: "disable", * defaultOriginate6: "disable", * dynamicHostname: "disable", * ignoreLspErrors: "disable", * isType: "level-1-2", * lspGenIntervalL1: 30, * lspGenIntervalL2: 30, * lspRefreshInterval: 900, * maxLspLifetime: 1200, * metricStyle: "narrow", * overloadBit: "disable", * redistribute6L1: "disable", * redistribute6L2: "disable", * redistributeL1: "disable", * redistributeL2: "disable", * spfIntervalExpL1: "500 50000", * spfIntervalExpL2: "500 50000", * }); * ``` * * ## Import * * Router Isis can be imported using any of these accepted formats: * * ```sh * $ pulumi import fortios:router/isis:Isis labelname RouterIsis * ``` * * If you do not want to import arguments of block: * * $ export "FORTIOS_IMPORT_TABLE"="false" * * ```sh * $ pulumi import fortios:router/isis:Isis labelname RouterIsis * ``` * * $ unset "FORTIOS_IMPORT_TABLE" */ class Isis extends pulumi.CustomResource { /** * Get an existing Isis 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 Isis(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of Isis. 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'] === Isis.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["adjacencyCheck"] = state ? state.adjacencyCheck : undefined; resourceInputs["adjacencyCheck6"] = state ? state.adjacencyCheck6 : undefined; resourceInputs["advPassiveOnly"] = state ? state.advPassiveOnly : undefined; resourceInputs["advPassiveOnly6"] = state ? state.advPassiveOnly6 : undefined; resourceInputs["authKeychainL1"] = state ? state.authKeychainL1 : undefined; resourceInputs["authKeychainL2"] = state ? state.authKeychainL2 : undefined; resourceInputs["authModeL1"] = state ? state.authModeL1 : undefined; resourceInputs["authModeL2"] = state ? state.authModeL2 : undefined; resourceInputs["authPasswordL1"] = state ? state.authPasswordL1 : undefined; resourceInputs["authPasswordL2"] = state ? state.authPasswordL2 : undefined; resourceInputs["authSendonlyL1"] = state ? state.authSendonlyL1 : undefined; resourceInputs["authSendonlyL2"] = state ? state.authSendonlyL2 : undefined; resourceInputs["defaultOriginate"] = state ? state.defaultOriginate : undefined; resourceInputs["defaultOriginate6"] = state ? state.defaultOriginate6 : undefined; resourceInputs["dynamicHostname"] = state ? state.dynamicHostname : undefined; resourceInputs["dynamicSortSubtable"] = state ? state.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = state ? state.getAllTables : undefined; resourceInputs["ignoreLspErrors"] = state ? state.ignoreLspErrors : undefined; resourceInputs["isType"] = state ? state.isType : undefined; resourceInputs["isisInterfaces"] = state ? state.isisInterfaces : undefined; resourceInputs["isisNets"] = state ? state.isisNets : undefined; resourceInputs["lspGenIntervalL1"] = state ? state.lspGenIntervalL1 : undefined; resourceInputs["lspGenIntervalL2"] = state ? state.lspGenIntervalL2 : undefined; resourceInputs["lspRefreshInterval"] = state ? state.lspRefreshInterval : undefined; resourceInputs["maxLspLifetime"] = state ? state.maxLspLifetime : undefined; resourceInputs["metricStyle"] = state ? state.metricStyle : undefined; resourceInputs["overloadBit"] = state ? state.overloadBit : undefined; resourceInputs["overloadBitOnStartup"] = state ? state.overloadBitOnStartup : undefined; resourceInputs["overloadBitSuppress"] = state ? state.overloadBitSuppress : undefined; resourceInputs["redistribute6L1"] = state ? state.redistribute6L1 : undefined; resourceInputs["redistribute6L1List"] = state ? state.redistribute6L1List : undefined; resourceInputs["redistribute6L2"] = state ? state.redistribute6L2 : undefined; resourceInputs["redistribute6L2List"] = state ? state.redistribute6L2List : undefined; resourceInputs["redistribute6s"] = state ? state.redistribute6s : undefined; resourceInputs["redistributeL1"] = state ? state.redistributeL1 : undefined; resourceInputs["redistributeL1List"] = state ? state.redistributeL1List : undefined; resourceInputs["redistributeL2"] = state ? state.redistributeL2 : undefined; resourceInputs["redistributeL2List"] = state ? state.redistributeL2List : undefined; resourceInputs["redistributes"] = state ? state.redistributes : undefined; resourceInputs["spfIntervalExpL1"] = state ? state.spfIntervalExpL1 : undefined; resourceInputs["spfIntervalExpL2"] = state ? state.spfIntervalExpL2 : undefined; resourceInputs["summaryAddress6s"] = state ? state.summaryAddress6s : undefined; resourceInputs["summaryAddresses"] = state ? state.summaryAddresses : undefined; resourceInputs["vdomparam"] = state ? state.vdomparam : undefined; } else { const args = argsOrState; resourceInputs["adjacencyCheck"] = args ? args.adjacencyCheck : undefined; resourceInputs["adjacencyCheck6"] = args ? args.adjacencyCheck6 : undefined; resourceInputs["advPassiveOnly"] = args ? args.advPassiveOnly : undefined; resourceInputs["advPassiveOnly6"] = args ? args.advPassiveOnly6 : undefined; resourceInputs["authKeychainL1"] = args ? args.authKeychainL1 : undefined; resourceInputs["authKeychainL2"] = args ? args.authKeychainL2 : undefined; resourceInputs["authModeL1"] = args ? args.authModeL1 : undefined; resourceInputs["authModeL2"] = args ? args.authModeL2 : undefined; resourceInputs["authPasswordL1"] = (args === null || args === void 0 ? void 0 : args.authPasswordL1) ? pulumi.secret(args.authPasswordL1) : undefined; resourceInputs["authPasswordL2"] = (args === null || args === void 0 ? void 0 : args.authPasswordL2) ? pulumi.secret(args.authPasswordL2) : undefined; resourceInputs["authSendonlyL1"] = args ? args.authSendonlyL1 : undefined; resourceInputs["authSendonlyL2"] = args ? args.authSendonlyL2 : undefined; resourceInputs["defaultOriginate"] = args ? args.defaultOriginate : undefined; resourceInputs["defaultOriginate6"] = args ? args.defaultOriginate6 : undefined; resourceInputs["dynamicHostname"] = args ? args.dynamicHostname : undefined; resourceInputs["dynamicSortSubtable"] = args ? args.dynamicSortSubtable : undefined; resourceInputs["getAllTables"] = args ? args.getAllTables : undefined; resourceInputs["ignoreLspErrors"] = args ? args.ignoreLspErrors : undefined; resourceInputs["isType"] = args ? args.isType : undefined; resourceInputs["isisInterfaces"] = args ? args.isisInterfaces : undefined; resourceInputs["isisNets"] = args ? args.isisNets : undefined; resourceInputs["lspGenIntervalL1"] = args ? args.lspGenIntervalL1 : undefined; resourceInputs["lspGenIntervalL2"] = args ? args.lspGenIntervalL2 : undefined; resourceInputs["lspRefreshInterval"] = args ? args.lspRefreshInterval : undefined; resourceInputs["maxLspLifetime"] = args ? args.maxLspLifetime : undefined; resourceInputs["metricStyle"] = args ? args.metricStyle : undefined; resourceInputs["overloadBit"] = args ? args.overloadBit : undefined; resourceInputs["overloadBitOnStartup"] = args ? args.overloadBitOnStartup : undefined; resourceInputs["overloadBitSuppress"] = args ? args.overloadBitSuppress : undefined; resourceInputs["redistribute6L1"] = args ? args.redistribute6L1 : undefined; resourceInputs["redistribute6L1List"] = args ? args.redistribute6L1List : undefined; resourceInputs["redistribute6L2"] = args ? args.redistribute6L2 : undefined; resourceInputs["redistribute6L2List"] = args ? args.redistribute6L2List : undefined; resourceInputs["redistribute6s"] = args ? args.redistribute6s : undefined; resourceInputs["redistributeL1"] = args ? args.redistributeL1 : undefined; resourceInputs["redistributeL1List"] = args ? args.redistributeL1List : undefined; resourceInputs["redistributeL2"] = args ? args.redistributeL2 : undefined; resourceInputs["redistributeL2List"] = args ? args.redistributeL2List : undefined; resourceInputs["redistributes"] = args ? args.redistributes : undefined; resourceInputs["spfIntervalExpL1"] = args ? args.spfIntervalExpL1 : undefined; resourceInputs["spfIntervalExpL2"] = args ? args.spfIntervalExpL2 : undefined; resourceInputs["summaryAddress6s"] = args ? args.summaryAddress6s : undefined; resourceInputs["summaryAddresses"] = args ? args.summaryAddresses : undefined; resourceInputs["vdomparam"] = args ? args.vdomparam : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); const secretOpts = { additionalSecretOutputs: ["authPasswordL1", "authPasswordL2"] }; opts = pulumi.mergeOptions(opts, secretOpts); super(Isis.__pulumiType, name, resourceInputs, opts); } } exports.Isis = Isis; /** @internal */ Isis.__pulumiType = 'fortios:router/isis:Isis'; //# sourceMappingURL=isis.js.map