@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
247 lines • 20.1 kB
JavaScript
;
// *** 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.ServiceLanVpnInterfaceEthernetFeature = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* This resource can manage a Service LAN VPN Interface Ethernet 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_lan_vpn_interface_ethernet_feature_id,feature_profile_id,service_lan_vpn_feature_id"
*
* ```sh
* $ pulumi import sdwan:index/serviceLanVpnInterfaceEthernetFeature:ServiceLanVpnInterfaceEthernetFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac,140331f6-5418-4755-a059-13c77eb96037"
* ```
*/
class ServiceLanVpnInterfaceEthernetFeature extends pulumi.CustomResource {
/**
* Get an existing ServiceLanVpnInterfaceEthernetFeature 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 ServiceLanVpnInterfaceEthernetFeature(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of ServiceLanVpnInterfaceEthernetFeature. 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'] === ServiceLanVpnInterfaceEthernetFeature.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["aclIpv4EgressPolicyId"] = state ? state.aclIpv4EgressPolicyId : undefined;
resourceInputs["aclIpv4IngressPolicyId"] = state ? state.aclIpv4IngressPolicyId : undefined;
resourceInputs["aclIpv6EgressPolicyId"] = state ? state.aclIpv6EgressPolicyId : undefined;
resourceInputs["aclIpv6IngressPolicyId"] = state ? state.aclIpv6IngressPolicyId : undefined;
resourceInputs["aclShapingRate"] = state ? state.aclShapingRate : undefined;
resourceInputs["aclShapingRateVariable"] = state ? state.aclShapingRateVariable : undefined;
resourceInputs["arpTimeout"] = state ? state.arpTimeout : undefined;
resourceInputs["arpTimeoutVariable"] = state ? state.arpTimeoutVariable : undefined;
resourceInputs["arps"] = state ? state.arps : undefined;
resourceInputs["autonegotiate"] = state ? state.autonegotiate : undefined;
resourceInputs["autonegotiateVariable"] = state ? state.autonegotiateVariable : undefined;
resourceInputs["description"] = state ? state.description : undefined;
resourceInputs["duplex"] = state ? state.duplex : undefined;
resourceInputs["duplexVariable"] = state ? state.duplexVariable : undefined;
resourceInputs["enableDhcpv6"] = state ? state.enableDhcpv6 : undefined;
resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined;
resourceInputs["icmpRedirectDisable"] = state ? state.icmpRedirectDisable : undefined;
resourceInputs["icmpRedirectDisableVariable"] = state ? state.icmpRedirectDisableVariable : undefined;
resourceInputs["interfaceDescription"] = state ? state.interfaceDescription : undefined;
resourceInputs["interfaceDescriptionVariable"] = state ? state.interfaceDescriptionVariable : undefined;
resourceInputs["interfaceMtu"] = state ? state.interfaceMtu : undefined;
resourceInputs["interfaceMtuVariable"] = state ? state.interfaceMtuVariable : undefined;
resourceInputs["interfaceName"] = state ? state.interfaceName : undefined;
resourceInputs["interfaceNameVariable"] = state ? state.interfaceNameVariable : undefined;
resourceInputs["ipDirectedBroadcast"] = state ? state.ipDirectedBroadcast : undefined;
resourceInputs["ipDirectedBroadcastVariable"] = state ? state.ipDirectedBroadcastVariable : undefined;
resourceInputs["ipMtu"] = state ? state.ipMtu : undefined;
resourceInputs["ipMtuVariable"] = state ? state.ipMtuVariable : undefined;
resourceInputs["ipv4Address"] = state ? state.ipv4Address : undefined;
resourceInputs["ipv4AddressVariable"] = state ? state.ipv4AddressVariable : undefined;
resourceInputs["ipv4DhcpDistance"] = state ? state.ipv4DhcpDistance : undefined;
resourceInputs["ipv4DhcpDistanceVariable"] = state ? state.ipv4DhcpDistanceVariable : undefined;
resourceInputs["ipv4DhcpHelperVariable"] = state ? state.ipv4DhcpHelperVariable : undefined;
resourceInputs["ipv4DhcpHelpers"] = state ? state.ipv4DhcpHelpers : undefined;
resourceInputs["ipv4Nat"] = state ? state.ipv4Nat : undefined;
resourceInputs["ipv4NatLoopback"] = state ? state.ipv4NatLoopback : undefined;
resourceInputs["ipv4NatLoopbackVariable"] = state ? state.ipv4NatLoopbackVariable : undefined;
resourceInputs["ipv4NatOverload"] = state ? state.ipv4NatOverload : undefined;
resourceInputs["ipv4NatOverloadVariable"] = state ? state.ipv4NatOverloadVariable : undefined;
resourceInputs["ipv4NatPrefixLength"] = state ? state.ipv4NatPrefixLength : undefined;
resourceInputs["ipv4NatPrefixLengthVariable"] = state ? state.ipv4NatPrefixLengthVariable : undefined;
resourceInputs["ipv4NatRangeEnd"] = state ? state.ipv4NatRangeEnd : undefined;
resourceInputs["ipv4NatRangeEndVariable"] = state ? state.ipv4NatRangeEndVariable : undefined;
resourceInputs["ipv4NatRangeStart"] = state ? state.ipv4NatRangeStart : undefined;
resourceInputs["ipv4NatRangeStartVariable"] = state ? state.ipv4NatRangeStartVariable : undefined;
resourceInputs["ipv4NatTcpTimeout"] = state ? state.ipv4NatTcpTimeout : undefined;
resourceInputs["ipv4NatTcpTimeoutVariable"] = state ? state.ipv4NatTcpTimeoutVariable : undefined;
resourceInputs["ipv4NatType"] = state ? state.ipv4NatType : undefined;
resourceInputs["ipv4NatTypeVariable"] = state ? state.ipv4NatTypeVariable : undefined;
resourceInputs["ipv4NatUdpTimeout"] = state ? state.ipv4NatUdpTimeout : undefined;
resourceInputs["ipv4NatUdpTimeoutVariable"] = state ? state.ipv4NatUdpTimeoutVariable : undefined;
resourceInputs["ipv4SecondaryAddresses"] = state ? state.ipv4SecondaryAddresses : undefined;
resourceInputs["ipv4SubnetMask"] = state ? state.ipv4SubnetMask : undefined;
resourceInputs["ipv4SubnetMaskVariable"] = state ? state.ipv4SubnetMaskVariable : undefined;
resourceInputs["ipv4Vrrps"] = state ? state.ipv4Vrrps : undefined;
resourceInputs["ipv6Address"] = state ? state.ipv6Address : undefined;
resourceInputs["ipv6AddressVariable"] = state ? state.ipv6AddressVariable : undefined;
resourceInputs["ipv6DhcpHelpers"] = state ? state.ipv6DhcpHelpers : undefined;
resourceInputs["ipv6DhcpSecondaryAddresses"] = state ? state.ipv6DhcpSecondaryAddresses : undefined;
resourceInputs["ipv6Nat"] = state ? state.ipv6Nat : undefined;
resourceInputs["ipv6SecondaryAddresses"] = state ? state.ipv6SecondaryAddresses : undefined;
resourceInputs["ipv6Vrrps"] = state ? state.ipv6Vrrps : undefined;
resourceInputs["loadInterval"] = state ? state.loadInterval : undefined;
resourceInputs["loadIntervalVariable"] = state ? state.loadIntervalVariable : undefined;
resourceInputs["macAddress"] = state ? state.macAddress : undefined;
resourceInputs["macAddressVariable"] = state ? state.macAddressVariable : undefined;
resourceInputs["mediaType"] = state ? state.mediaType : undefined;
resourceInputs["mediaTypeVariable"] = state ? state.mediaTypeVariable : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["nat64"] = state ? state.nat64 : undefined;
resourceInputs["serviceLanVpnFeatureId"] = state ? state.serviceLanVpnFeatureId : undefined;
resourceInputs["shutdown"] = state ? state.shutdown : undefined;
resourceInputs["shutdownVariable"] = state ? state.shutdownVariable : undefined;
resourceInputs["speed"] = state ? state.speed : undefined;
resourceInputs["speedVariable"] = state ? state.speedVariable : undefined;
resourceInputs["staticNats"] = state ? state.staticNats : undefined;
resourceInputs["tcpMss"] = state ? state.tcpMss : undefined;
resourceInputs["tcpMssVariable"] = state ? state.tcpMssVariable : undefined;
resourceInputs["tracker"] = state ? state.tracker : undefined;
resourceInputs["trackerVariable"] = state ? state.trackerVariable : undefined;
resourceInputs["trustsecEnableEnforcedPropogation"] = state ? state.trustsecEnableEnforcedPropogation : undefined;
resourceInputs["trustsecEnableSgtPropogation"] = state ? state.trustsecEnableSgtPropogation : undefined;
resourceInputs["trustsecEnforcedSecurityGroupTag"] = state ? state.trustsecEnforcedSecurityGroupTag : undefined;
resourceInputs["trustsecEnforcedSecurityGroupTagVariable"] = state ? state.trustsecEnforcedSecurityGroupTagVariable : undefined;
resourceInputs["trustsecPropogate"] = state ? state.trustsecPropogate : undefined;
resourceInputs["trustsecSecurityGroupTag"] = state ? state.trustsecSecurityGroupTag : undefined;
resourceInputs["trustsecSecurityGroupTagVariable"] = state ? state.trustsecSecurityGroupTagVariable : undefined;
resourceInputs["version"] = state ? state.version : undefined;
resourceInputs["xconnect"] = state ? state.xconnect : undefined;
resourceInputs["xconnectVariable"] = state ? state.xconnectVariable : undefined;
}
else {
const args = argsOrState;
if ((!args || args.featureProfileId === undefined) && !opts.urn) {
throw new Error("Missing required property 'featureProfileId'");
}
if ((!args || args.serviceLanVpnFeatureId === undefined) && !opts.urn) {
throw new Error("Missing required property 'serviceLanVpnFeatureId'");
}
resourceInputs["aclIpv4EgressPolicyId"] = args ? args.aclIpv4EgressPolicyId : undefined;
resourceInputs["aclIpv4IngressPolicyId"] = args ? args.aclIpv4IngressPolicyId : undefined;
resourceInputs["aclIpv6EgressPolicyId"] = args ? args.aclIpv6EgressPolicyId : undefined;
resourceInputs["aclIpv6IngressPolicyId"] = args ? args.aclIpv6IngressPolicyId : undefined;
resourceInputs["aclShapingRate"] = args ? args.aclShapingRate : undefined;
resourceInputs["aclShapingRateVariable"] = args ? args.aclShapingRateVariable : undefined;
resourceInputs["arpTimeout"] = args ? args.arpTimeout : undefined;
resourceInputs["arpTimeoutVariable"] = args ? args.arpTimeoutVariable : undefined;
resourceInputs["arps"] = args ? args.arps : undefined;
resourceInputs["autonegotiate"] = args ? args.autonegotiate : undefined;
resourceInputs["autonegotiateVariable"] = args ? args.autonegotiateVariable : undefined;
resourceInputs["description"] = args ? args.description : undefined;
resourceInputs["duplex"] = args ? args.duplex : undefined;
resourceInputs["duplexVariable"] = args ? args.duplexVariable : undefined;
resourceInputs["enableDhcpv6"] = args ? args.enableDhcpv6 : undefined;
resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined;
resourceInputs["icmpRedirectDisable"] = args ? args.icmpRedirectDisable : undefined;
resourceInputs["icmpRedirectDisableVariable"] = args ? args.icmpRedirectDisableVariable : undefined;
resourceInputs["interfaceDescription"] = args ? args.interfaceDescription : undefined;
resourceInputs["interfaceDescriptionVariable"] = args ? args.interfaceDescriptionVariable : undefined;
resourceInputs["interfaceMtu"] = args ? args.interfaceMtu : undefined;
resourceInputs["interfaceMtuVariable"] = args ? args.interfaceMtuVariable : undefined;
resourceInputs["interfaceName"] = args ? args.interfaceName : undefined;
resourceInputs["interfaceNameVariable"] = args ? args.interfaceNameVariable : undefined;
resourceInputs["ipDirectedBroadcast"] = args ? args.ipDirectedBroadcast : undefined;
resourceInputs["ipDirectedBroadcastVariable"] = args ? args.ipDirectedBroadcastVariable : undefined;
resourceInputs["ipMtu"] = args ? args.ipMtu : undefined;
resourceInputs["ipMtuVariable"] = args ? args.ipMtuVariable : undefined;
resourceInputs["ipv4Address"] = args ? args.ipv4Address : undefined;
resourceInputs["ipv4AddressVariable"] = args ? args.ipv4AddressVariable : undefined;
resourceInputs["ipv4DhcpDistance"] = args ? args.ipv4DhcpDistance : undefined;
resourceInputs["ipv4DhcpDistanceVariable"] = args ? args.ipv4DhcpDistanceVariable : undefined;
resourceInputs["ipv4DhcpHelperVariable"] = args ? args.ipv4DhcpHelperVariable : undefined;
resourceInputs["ipv4DhcpHelpers"] = args ? args.ipv4DhcpHelpers : undefined;
resourceInputs["ipv4Nat"] = args ? args.ipv4Nat : undefined;
resourceInputs["ipv4NatLoopback"] = args ? args.ipv4NatLoopback : undefined;
resourceInputs["ipv4NatLoopbackVariable"] = args ? args.ipv4NatLoopbackVariable : undefined;
resourceInputs["ipv4NatOverload"] = args ? args.ipv4NatOverload : undefined;
resourceInputs["ipv4NatOverloadVariable"] = args ? args.ipv4NatOverloadVariable : undefined;
resourceInputs["ipv4NatPrefixLength"] = args ? args.ipv4NatPrefixLength : undefined;
resourceInputs["ipv4NatPrefixLengthVariable"] = args ? args.ipv4NatPrefixLengthVariable : undefined;
resourceInputs["ipv4NatRangeEnd"] = args ? args.ipv4NatRangeEnd : undefined;
resourceInputs["ipv4NatRangeEndVariable"] = args ? args.ipv4NatRangeEndVariable : undefined;
resourceInputs["ipv4NatRangeStart"] = args ? args.ipv4NatRangeStart : undefined;
resourceInputs["ipv4NatRangeStartVariable"] = args ? args.ipv4NatRangeStartVariable : undefined;
resourceInputs["ipv4NatTcpTimeout"] = args ? args.ipv4NatTcpTimeout : undefined;
resourceInputs["ipv4NatTcpTimeoutVariable"] = args ? args.ipv4NatTcpTimeoutVariable : undefined;
resourceInputs["ipv4NatType"] = args ? args.ipv4NatType : undefined;
resourceInputs["ipv4NatTypeVariable"] = args ? args.ipv4NatTypeVariable : undefined;
resourceInputs["ipv4NatUdpTimeout"] = args ? args.ipv4NatUdpTimeout : undefined;
resourceInputs["ipv4NatUdpTimeoutVariable"] = args ? args.ipv4NatUdpTimeoutVariable : undefined;
resourceInputs["ipv4SecondaryAddresses"] = args ? args.ipv4SecondaryAddresses : undefined;
resourceInputs["ipv4SubnetMask"] = args ? args.ipv4SubnetMask : undefined;
resourceInputs["ipv4SubnetMaskVariable"] = args ? args.ipv4SubnetMaskVariable : undefined;
resourceInputs["ipv4Vrrps"] = args ? args.ipv4Vrrps : undefined;
resourceInputs["ipv6Address"] = args ? args.ipv6Address : undefined;
resourceInputs["ipv6AddressVariable"] = args ? args.ipv6AddressVariable : undefined;
resourceInputs["ipv6DhcpHelpers"] = args ? args.ipv6DhcpHelpers : undefined;
resourceInputs["ipv6DhcpSecondaryAddresses"] = args ? args.ipv6DhcpSecondaryAddresses : undefined;
resourceInputs["ipv6Nat"] = args ? args.ipv6Nat : undefined;
resourceInputs["ipv6SecondaryAddresses"] = args ? args.ipv6SecondaryAddresses : undefined;
resourceInputs["ipv6Vrrps"] = args ? args.ipv6Vrrps : undefined;
resourceInputs["loadInterval"] = args ? args.loadInterval : undefined;
resourceInputs["loadIntervalVariable"] = args ? args.loadIntervalVariable : undefined;
resourceInputs["macAddress"] = args ? args.macAddress : undefined;
resourceInputs["macAddressVariable"] = args ? args.macAddressVariable : undefined;
resourceInputs["mediaType"] = args ? args.mediaType : undefined;
resourceInputs["mediaTypeVariable"] = args ? args.mediaTypeVariable : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["nat64"] = args ? args.nat64 : undefined;
resourceInputs["serviceLanVpnFeatureId"] = args ? args.serviceLanVpnFeatureId : undefined;
resourceInputs["shutdown"] = args ? args.shutdown : undefined;
resourceInputs["shutdownVariable"] = args ? args.shutdownVariable : undefined;
resourceInputs["speed"] = args ? args.speed : undefined;
resourceInputs["speedVariable"] = args ? args.speedVariable : undefined;
resourceInputs["staticNats"] = args ? args.staticNats : undefined;
resourceInputs["tcpMss"] = args ? args.tcpMss : undefined;
resourceInputs["tcpMssVariable"] = args ? args.tcpMssVariable : undefined;
resourceInputs["tracker"] = args ? args.tracker : undefined;
resourceInputs["trackerVariable"] = args ? args.trackerVariable : undefined;
resourceInputs["trustsecEnableEnforcedPropogation"] = args ? args.trustsecEnableEnforcedPropogation : undefined;
resourceInputs["trustsecEnableSgtPropogation"] = args ? args.trustsecEnableSgtPropogation : undefined;
resourceInputs["trustsecEnforcedSecurityGroupTag"] = args ? args.trustsecEnforcedSecurityGroupTag : undefined;
resourceInputs["trustsecEnforcedSecurityGroupTagVariable"] = args ? args.trustsecEnforcedSecurityGroupTagVariable : undefined;
resourceInputs["trustsecPropogate"] = args ? args.trustsecPropogate : undefined;
resourceInputs["trustsecSecurityGroupTag"] = args ? args.trustsecSecurityGroupTag : undefined;
resourceInputs["trustsecSecurityGroupTagVariable"] = args ? args.trustsecSecurityGroupTagVariable : undefined;
resourceInputs["xconnect"] = args ? args.xconnect : undefined;
resourceInputs["xconnectVariable"] = args ? args.xconnectVariable : undefined;
resourceInputs["version"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(ServiceLanVpnInterfaceEthernetFeature.__pulumiType, name, resourceInputs, opts);
}
}
exports.ServiceLanVpnInterfaceEthernetFeature = ServiceLanVpnInterfaceEthernetFeature;
/** @internal */
ServiceLanVpnInterfaceEthernetFeature.__pulumiType = 'sdwan:index/serviceLanVpnInterfaceEthernetFeature:ServiceLanVpnInterfaceEthernetFeature';
//# sourceMappingURL=serviceLanVpnInterfaceEthernetFeature.js.map