UNPKG

@pulumi/sdwan

Version:

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

125 lines 8.63 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.ServiceMulticastFeature = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This resource can manage a Service Multicast 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_multicast_feature_id,feature_profile_id" * * ```sh * $ pulumi import sdwan:index/serviceMulticastFeature:ServiceMulticastFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" * ``` */ class ServiceMulticastFeature extends pulumi.CustomResource { /** * Get an existing ServiceMulticastFeature 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 ServiceMulticastFeature(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of ServiceMulticastFeature. 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'] === ServiceMulticastFeature.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["autoRpAnnounces"] = state ? state.autoRpAnnounces : undefined; resourceInputs["autoRpDiscoveries"] = state ? state.autoRpDiscoveries : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["enableAutoRp"] = state ? state.enableAutoRp : undefined; resourceInputs["enableAutoRpVariable"] = state ? state.enableAutoRpVariable : undefined; resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined; resourceInputs["igmpInterfaces"] = state ? state.igmpInterfaces : undefined; resourceInputs["localReplicator"] = state ? state.localReplicator : undefined; resourceInputs["localReplicatorThreshold"] = state ? state.localReplicatorThreshold : undefined; resourceInputs["localReplicatorThresholdVariable"] = state ? state.localReplicatorThresholdVariable : undefined; resourceInputs["localReplicatorVariable"] = state ? state.localReplicatorVariable : undefined; resourceInputs["msdpConnectionRetryInterval"] = state ? state.msdpConnectionRetryInterval : undefined; resourceInputs["msdpConnectionRetryIntervalVariable"] = state ? state.msdpConnectionRetryIntervalVariable : undefined; resourceInputs["msdpGroups"] = state ? state.msdpGroups : undefined; resourceInputs["msdpOriginatorId"] = state ? state.msdpOriginatorId : undefined; resourceInputs["msdpOriginatorIdVariable"] = state ? state.msdpOriginatorIdVariable : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["pimBsrCandidates"] = state ? state.pimBsrCandidates : undefined; resourceInputs["pimBsrRpCandidates"] = state ? state.pimBsrRpCandidates : undefined; resourceInputs["pimInterfaces"] = state ? state.pimInterfaces : undefined; resourceInputs["pimSourceSpecificMulticastAccessList"] = state ? state.pimSourceSpecificMulticastAccessList : undefined; resourceInputs["pimSourceSpecificMulticastAccessListVariable"] = state ? state.pimSourceSpecificMulticastAccessListVariable : undefined; resourceInputs["pimSourceSpecificMulticastEnable"] = state ? state.pimSourceSpecificMulticastEnable : undefined; resourceInputs["pimSptThreshold"] = state ? state.pimSptThreshold : undefined; resourceInputs["pimSptThresholdVariable"] = state ? state.pimSptThresholdVariable : undefined; resourceInputs["sptOnly"] = state ? state.sptOnly : undefined; resourceInputs["sptOnlyVariable"] = state ? state.sptOnlyVariable : undefined; resourceInputs["staticRpAddresses"] = state ? state.staticRpAddresses : 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'"); } if ((!args || args.pimSourceSpecificMulticastEnable === undefined) && !opts.urn) { throw new Error("Missing required property 'pimSourceSpecificMulticastEnable'"); } resourceInputs["autoRpAnnounces"] = args ? args.autoRpAnnounces : undefined; resourceInputs["autoRpDiscoveries"] = args ? args.autoRpDiscoveries : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["enableAutoRp"] = args ? args.enableAutoRp : undefined; resourceInputs["enableAutoRpVariable"] = args ? args.enableAutoRpVariable : undefined; resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined; resourceInputs["igmpInterfaces"] = args ? args.igmpInterfaces : undefined; resourceInputs["localReplicator"] = args ? args.localReplicator : undefined; resourceInputs["localReplicatorThreshold"] = args ? args.localReplicatorThreshold : undefined; resourceInputs["localReplicatorThresholdVariable"] = args ? args.localReplicatorThresholdVariable : undefined; resourceInputs["localReplicatorVariable"] = args ? args.localReplicatorVariable : undefined; resourceInputs["msdpConnectionRetryInterval"] = args ? args.msdpConnectionRetryInterval : undefined; resourceInputs["msdpConnectionRetryIntervalVariable"] = args ? args.msdpConnectionRetryIntervalVariable : undefined; resourceInputs["msdpGroups"] = args ? args.msdpGroups : undefined; resourceInputs["msdpOriginatorId"] = args ? args.msdpOriginatorId : undefined; resourceInputs["msdpOriginatorIdVariable"] = args ? args.msdpOriginatorIdVariable : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["pimBsrCandidates"] = args ? args.pimBsrCandidates : undefined; resourceInputs["pimBsrRpCandidates"] = args ? args.pimBsrRpCandidates : undefined; resourceInputs["pimInterfaces"] = args ? args.pimInterfaces : undefined; resourceInputs["pimSourceSpecificMulticastAccessList"] = args ? args.pimSourceSpecificMulticastAccessList : undefined; resourceInputs["pimSourceSpecificMulticastAccessListVariable"] = args ? args.pimSourceSpecificMulticastAccessListVariable : undefined; resourceInputs["pimSourceSpecificMulticastEnable"] = args ? args.pimSourceSpecificMulticastEnable : undefined; resourceInputs["pimSptThreshold"] = args ? args.pimSptThreshold : undefined; resourceInputs["pimSptThresholdVariable"] = args ? args.pimSptThresholdVariable : undefined; resourceInputs["sptOnly"] = args ? args.sptOnly : undefined; resourceInputs["sptOnlyVariable"] = args ? args.sptOnlyVariable : undefined; resourceInputs["staticRpAddresses"] = args ? args.staticRpAddresses : undefined; resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ServiceMulticastFeature.__pulumiType, name, resourceInputs, opts); } } exports.ServiceMulticastFeature = ServiceMulticastFeature; /** @internal */ ServiceMulticastFeature.__pulumiType = 'sdwan:index/serviceMulticastFeature:ServiceMulticastFeature'; //# sourceMappingURL=serviceMulticastFeature.js.map