UNPKG

@pulumi/sdwan

Version:

A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1

142 lines 10.7 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceRoutingOspfv3Ipv6Feature = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This resource can manage a Service Routing OSPFv3 IPv6 Feature. * - Minimum SD-WAN Manager version: `20.12.0` * * ## Import * * The `pulumi import` command can be used, for example: * * Expected import identifier with the format: "service_routing_ospfv3_ipv6_feature_id,feature_profile_id" * * ```sh * $ pulumi import sdwan:index/serviceRoutingOspfv3Ipv6Feature:ServiceRoutingOspfv3Ipv6Feature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" * ``` */ class ServiceRoutingOspfv3Ipv6Feature extends pulumi.CustomResource { /** * Get an existing ServiceRoutingOspfv3Ipv6Feature 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 ServiceRoutingOspfv3Ipv6Feature(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of ServiceRoutingOspfv3Ipv6Feature. 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'] === ServiceRoutingOspfv3Ipv6Feature.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["areas"] = state ? state.areas : undefined; resourceInputs["defaultInformationOriginate"] = state ? state.defaultInformationOriginate : undefined; resourceInputs["defaultInformationOriginateAlways"] = state ? state.defaultInformationOriginateAlways : undefined; resourceInputs["defaultInformationOriginateAlwaysVariable"] = state ? state.defaultInformationOriginateAlwaysVariable : undefined; resourceInputs["defaultInformationOriginateMetric"] = state ? state.defaultInformationOriginateMetric : undefined; resourceInputs["defaultInformationOriginateMetricType"] = state ? state.defaultInformationOriginateMetricType : undefined; resourceInputs["defaultInformationOriginateMetricTypeVariable"] = state ? state.defaultInformationOriginateMetricTypeVariable : undefined; resourceInputs["defaultInformationOriginateMetricVariable"] = state ? state.defaultInformationOriginateMetricVariable : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["distance"] = state ? state.distance : undefined; resourceInputs["distanceExternal"] = state ? state.distanceExternal : undefined; resourceInputs["distanceExternalVariable"] = state ? state.distanceExternalVariable : undefined; resourceInputs["distanceInterArea"] = state ? state.distanceInterArea : undefined; resourceInputs["distanceInterAreaVariable"] = state ? state.distanceInterAreaVariable : undefined; resourceInputs["distanceIntraArea"] = state ? state.distanceIntraArea : undefined; resourceInputs["distanceIntraAreaVariable"] = state ? state.distanceIntraAreaVariable : undefined; resourceInputs["distanceVariable"] = state ? state.distanceVariable : undefined; resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined; resourceInputs["filter"] = state ? state.filter : undefined; resourceInputs["filterVariable"] = state ? state.filterVariable : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["redistributes"] = state ? state.redistributes : undefined; resourceInputs["referenceBandwidth"] = state ? state.referenceBandwidth : undefined; resourceInputs["referenceBandwidthVariable"] = state ? state.referenceBandwidthVariable : undefined; resourceInputs["rfc1583Compatible"] = state ? state.rfc1583Compatible : undefined; resourceInputs["rfc1583CompatibleVariable"] = state ? state.rfc1583CompatibleVariable : undefined; resourceInputs["routePolicyId"] = state ? state.routePolicyId : undefined; resourceInputs["routerId"] = state ? state.routerId : undefined; resourceInputs["routerIdVariable"] = state ? state.routerIdVariable : undefined; resourceInputs["routerLsaAction"] = state ? state.routerLsaAction : undefined; resourceInputs["routerLsaOnStartupTime"] = state ? state.routerLsaOnStartupTime : undefined; resourceInputs["routerLsaOnStartupTimeVariable"] = state ? state.routerLsaOnStartupTimeVariable : undefined; resourceInputs["spfCalculationDelay"] = state ? state.spfCalculationDelay : undefined; resourceInputs["spfCalculationDelayVariable"] = state ? state.spfCalculationDelayVariable : undefined; resourceInputs["spfInitialHoldTime"] = state ? state.spfInitialHoldTime : undefined; resourceInputs["spfInitialHoldTimeVariable"] = state ? state.spfInitialHoldTimeVariable : undefined; resourceInputs["spfMaximumHoldTime"] = state ? state.spfMaximumHoldTime : undefined; resourceInputs["spfMaximumHoldTimeVariable"] = state ? state.spfMaximumHoldTimeVariable : undefined; resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState; if ((!args || args.featureProfileId === undefined) && !opts.urn) { throw new Error("Missing required property 'featureProfileId'"); } resourceInputs["areas"] = args ? args.areas : undefined; resourceInputs["defaultInformationOriginate"] = args ? args.defaultInformationOriginate : undefined; resourceInputs["defaultInformationOriginateAlways"] = args ? args.defaultInformationOriginateAlways : undefined; resourceInputs["defaultInformationOriginateAlwaysVariable"] = args ? args.defaultInformationOriginateAlwaysVariable : undefined; resourceInputs["defaultInformationOriginateMetric"] = args ? args.defaultInformationOriginateMetric : undefined; resourceInputs["defaultInformationOriginateMetricType"] = args ? args.defaultInformationOriginateMetricType : undefined; resourceInputs["defaultInformationOriginateMetricTypeVariable"] = args ? args.defaultInformationOriginateMetricTypeVariable : undefined; resourceInputs["defaultInformationOriginateMetricVariable"] = args ? args.defaultInformationOriginateMetricVariable : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["distance"] = args ? args.distance : undefined; resourceInputs["distanceExternal"] = args ? args.distanceExternal : undefined; resourceInputs["distanceExternalVariable"] = args ? args.distanceExternalVariable : undefined; resourceInputs["distanceInterArea"] = args ? args.distanceInterArea : undefined; resourceInputs["distanceInterAreaVariable"] = args ? args.distanceInterAreaVariable : undefined; resourceInputs["distanceIntraArea"] = args ? args.distanceIntraArea : undefined; resourceInputs["distanceIntraAreaVariable"] = args ? args.distanceIntraAreaVariable : undefined; resourceInputs["distanceVariable"] = args ? args.distanceVariable : undefined; resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined; resourceInputs["filter"] = args ? args.filter : undefined; resourceInputs["filterVariable"] = args ? args.filterVariable : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["redistributes"] = args ? args.redistributes : undefined; resourceInputs["referenceBandwidth"] = args ? args.referenceBandwidth : undefined; resourceInputs["referenceBandwidthVariable"] = args ? args.referenceBandwidthVariable : undefined; resourceInputs["rfc1583Compatible"] = args ? args.rfc1583Compatible : undefined; resourceInputs["rfc1583CompatibleVariable"] = args ? args.rfc1583CompatibleVariable : undefined; resourceInputs["routePolicyId"] = args ? args.routePolicyId : undefined; resourceInputs["routerId"] = args ? args.routerId : undefined; resourceInputs["routerIdVariable"] = args ? args.routerIdVariable : undefined; resourceInputs["routerLsaAction"] = args ? args.routerLsaAction : undefined; resourceInputs["routerLsaOnStartupTime"] = args ? args.routerLsaOnStartupTime : undefined; resourceInputs["routerLsaOnStartupTimeVariable"] = args ? args.routerLsaOnStartupTimeVariable : undefined; resourceInputs["spfCalculationDelay"] = args ? args.spfCalculationDelay : undefined; resourceInputs["spfCalculationDelayVariable"] = args ? args.spfCalculationDelayVariable : undefined; resourceInputs["spfInitialHoldTime"] = args ? args.spfInitialHoldTime : undefined; resourceInputs["spfInitialHoldTimeVariable"] = args ? args.spfInitialHoldTimeVariable : undefined; resourceInputs["spfMaximumHoldTime"] = args ? args.spfMaximumHoldTime : undefined; resourceInputs["spfMaximumHoldTimeVariable"] = args ? args.spfMaximumHoldTimeVariable : undefined; resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ServiceRoutingOspfv3Ipv6Feature.__pulumiType, name, resourceInputs, opts); } } exports.ServiceRoutingOspfv3Ipv6Feature = ServiceRoutingOspfv3Ipv6Feature; /** @internal */ ServiceRoutingOspfv3Ipv6Feature.__pulumiType = 'sdwan:index/serviceRoutingOspfv3Ipv6Feature:ServiceRoutingOspfv3Ipv6Feature'; //# sourceMappingURL=serviceRoutingOspfv3Ipv6Feature.js.map