@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
192 lines • 14.9 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.SystemBasicFeature = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* This resource can manage a System Basic 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: "system_basic_feature_id,feature_profile_id"
*
* ```sh
* $ pulumi import sdwan:index/systemBasicFeature:SystemBasicFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
* ```
*/
class SystemBasicFeature extends pulumi.CustomResource {
/**
* Get an existing SystemBasicFeature 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 SystemBasicFeature(name, state, Object.assign(Object.assign({}, opts), { id: id }));
}
/**
* Returns true if the given object is an instance of SystemBasicFeature. 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'] === SystemBasicFeature.__pulumiType;
}
constructor(name, argsOrState, opts) {
let resourceInputs = {};
opts = opts || {};
if (opts.id) {
const state = argsOrState;
resourceInputs["adminTechOnFailure"] = state ? state.adminTechOnFailure : undefined;
resourceInputs["adminTechOnFailureVariable"] = state ? state.adminTechOnFailureVariable : undefined;
resourceInputs["affinityGroupNumber"] = state ? state.affinityGroupNumber : undefined;
resourceInputs["affinityGroupNumberVariable"] = state ? state.affinityGroupNumberVariable : undefined;
resourceInputs["affinityGroupPreferences"] = state ? state.affinityGroupPreferences : undefined;
resourceInputs["affinityGroupPreferencesVariable"] = state ? state.affinityGroupPreferencesVariable : undefined;
resourceInputs["affinityPerVrfs"] = state ? state.affinityPerVrfs : undefined;
resourceInputs["affinityPreferenceAuto"] = state ? state.affinityPreferenceAuto : undefined;
resourceInputs["affinityPreferenceAutoVariable"] = state ? state.affinityPreferenceAutoVariable : undefined;
resourceInputs["configDescription"] = state ? state.configDescription : undefined;
resourceInputs["configDescriptionVariable"] = state ? state.configDescriptionVariable : undefined;
resourceInputs["consoleBaudRate"] = state ? state.consoleBaudRate : undefined;
resourceInputs["consoleBaudRateVariable"] = state ? state.consoleBaudRateVariable : undefined;
resourceInputs["controlSessionPps"] = state ? state.controlSessionPps : undefined;
resourceInputs["controlSessionPpsVariable"] = state ? state.controlSessionPpsVariable : undefined;
resourceInputs["controllerGroups"] = state ? state.controllerGroups : undefined;
resourceInputs["controllerGroupsVariable"] = state ? state.controllerGroupsVariable : undefined;
resourceInputs["description"] = state ? state.description : undefined;
resourceInputs["deviceGroups"] = state ? state.deviceGroups : undefined;
resourceInputs["deviceGroupsVariable"] = state ? state.deviceGroupsVariable : undefined;
resourceInputs["enhancedAppAwareRouting"] = state ? state.enhancedAppAwareRouting : undefined;
resourceInputs["enhancedAppAwareRoutingVariable"] = state ? state.enhancedAppAwareRoutingVariable : undefined;
resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined;
resourceInputs["gpsGeoFencingEnable"] = state ? state.gpsGeoFencingEnable : undefined;
resourceInputs["gpsGeoFencingRange"] = state ? state.gpsGeoFencingRange : undefined;
resourceInputs["gpsGeoFencingRangeVariable"] = state ? state.gpsGeoFencingRangeVariable : undefined;
resourceInputs["gpsLatitude"] = state ? state.gpsLatitude : undefined;
resourceInputs["gpsLatitudeVariable"] = state ? state.gpsLatitudeVariable : undefined;
resourceInputs["gpsLongitude"] = state ? state.gpsLongitude : undefined;
resourceInputs["gpsLongitudeVariable"] = state ? state.gpsLongitudeVariable : undefined;
resourceInputs["gpsSmsEnable"] = state ? state.gpsSmsEnable : undefined;
resourceInputs["gpsSmsMobileNumbers"] = state ? state.gpsSmsMobileNumbers : undefined;
resourceInputs["idleTimeout"] = state ? state.idleTimeout : undefined;
resourceInputs["idleTimeoutVariable"] = state ? state.idleTimeoutVariable : undefined;
resourceInputs["location"] = state ? state.location : undefined;
resourceInputs["locationVariable"] = state ? state.locationVariable : undefined;
resourceInputs["maxOmpSessions"] = state ? state.maxOmpSessions : undefined;
resourceInputs["maxOmpSessionsVariable"] = state ? state.maxOmpSessionsVariable : undefined;
resourceInputs["multiTenant"] = state ? state.multiTenant : undefined;
resourceInputs["multiTenantVariable"] = state ? state.multiTenantVariable : undefined;
resourceInputs["name"] = state ? state.name : undefined;
resourceInputs["onDemandEnable"] = state ? state.onDemandEnable : undefined;
resourceInputs["onDemandEnableVariable"] = state ? state.onDemandEnableVariable : undefined;
resourceInputs["onDemandIdleTimeout"] = state ? state.onDemandIdleTimeout : undefined;
resourceInputs["onDemandIdleTimeoutVariable"] = state ? state.onDemandIdleTimeoutVariable : undefined;
resourceInputs["overlayId"] = state ? state.overlayId : undefined;
resourceInputs["overlayIdVariable"] = state ? state.overlayIdVariable : undefined;
resourceInputs["portHopping"] = state ? state.portHopping : undefined;
resourceInputs["portHoppingVariable"] = state ? state.portHoppingVariable : undefined;
resourceInputs["portOffset"] = state ? state.portOffset : undefined;
resourceInputs["portOffsetVariable"] = state ? state.portOffsetVariable : undefined;
resourceInputs["siteTypes"] = state ? state.siteTypes : undefined;
resourceInputs["siteTypesVariable"] = state ? state.siteTypesVariable : undefined;
resourceInputs["timezone"] = state ? state.timezone : undefined;
resourceInputs["timezoneVariable"] = state ? state.timezoneVariable : undefined;
resourceInputs["trackDefaultGateway"] = state ? state.trackDefaultGateway : undefined;
resourceInputs["trackDefaultGatewayVariable"] = state ? state.trackDefaultGatewayVariable : undefined;
resourceInputs["trackInterfaceTag"] = state ? state.trackInterfaceTag : undefined;
resourceInputs["trackInterfaceTagVariable"] = state ? state.trackInterfaceTagVariable : undefined;
resourceInputs["trackTransport"] = state ? state.trackTransport : undefined;
resourceInputs["trackTransportVariable"] = state ? state.trackTransportVariable : undefined;
resourceInputs["transportGateway"] = state ? state.transportGateway : undefined;
resourceInputs["transportGatewayVariable"] = state ? state.transportGatewayVariable : 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["adminTechOnFailure"] = args ? args.adminTechOnFailure : undefined;
resourceInputs["adminTechOnFailureVariable"] = args ? args.adminTechOnFailureVariable : undefined;
resourceInputs["affinityGroupNumber"] = args ? args.affinityGroupNumber : undefined;
resourceInputs["affinityGroupNumberVariable"] = args ? args.affinityGroupNumberVariable : undefined;
resourceInputs["affinityGroupPreferences"] = args ? args.affinityGroupPreferences : undefined;
resourceInputs["affinityGroupPreferencesVariable"] = args ? args.affinityGroupPreferencesVariable : undefined;
resourceInputs["affinityPerVrfs"] = args ? args.affinityPerVrfs : undefined;
resourceInputs["affinityPreferenceAuto"] = args ? args.affinityPreferenceAuto : undefined;
resourceInputs["affinityPreferenceAutoVariable"] = args ? args.affinityPreferenceAutoVariable : undefined;
resourceInputs["configDescription"] = args ? args.configDescription : undefined;
resourceInputs["configDescriptionVariable"] = args ? args.configDescriptionVariable : undefined;
resourceInputs["consoleBaudRate"] = args ? args.consoleBaudRate : undefined;
resourceInputs["consoleBaudRateVariable"] = args ? args.consoleBaudRateVariable : undefined;
resourceInputs["controlSessionPps"] = args ? args.controlSessionPps : undefined;
resourceInputs["controlSessionPpsVariable"] = args ? args.controlSessionPpsVariable : undefined;
resourceInputs["controllerGroups"] = args ? args.controllerGroups : undefined;
resourceInputs["controllerGroupsVariable"] = args ? args.controllerGroupsVariable : undefined;
resourceInputs["description"] = args ? args.description : undefined;
resourceInputs["deviceGroups"] = args ? args.deviceGroups : undefined;
resourceInputs["deviceGroupsVariable"] = args ? args.deviceGroupsVariable : undefined;
resourceInputs["enhancedAppAwareRouting"] = args ? args.enhancedAppAwareRouting : undefined;
resourceInputs["enhancedAppAwareRoutingVariable"] = args ? args.enhancedAppAwareRoutingVariable : undefined;
resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined;
resourceInputs["gpsGeoFencingEnable"] = args ? args.gpsGeoFencingEnable : undefined;
resourceInputs["gpsGeoFencingRange"] = args ? args.gpsGeoFencingRange : undefined;
resourceInputs["gpsGeoFencingRangeVariable"] = args ? args.gpsGeoFencingRangeVariable : undefined;
resourceInputs["gpsLatitude"] = args ? args.gpsLatitude : undefined;
resourceInputs["gpsLatitudeVariable"] = args ? args.gpsLatitudeVariable : undefined;
resourceInputs["gpsLongitude"] = args ? args.gpsLongitude : undefined;
resourceInputs["gpsLongitudeVariable"] = args ? args.gpsLongitudeVariable : undefined;
resourceInputs["gpsSmsEnable"] = args ? args.gpsSmsEnable : undefined;
resourceInputs["gpsSmsMobileNumbers"] = args ? args.gpsSmsMobileNumbers : undefined;
resourceInputs["idleTimeout"] = args ? args.idleTimeout : undefined;
resourceInputs["idleTimeoutVariable"] = args ? args.idleTimeoutVariable : undefined;
resourceInputs["location"] = args ? args.location : undefined;
resourceInputs["locationVariable"] = args ? args.locationVariable : undefined;
resourceInputs["maxOmpSessions"] = args ? args.maxOmpSessions : undefined;
resourceInputs["maxOmpSessionsVariable"] = args ? args.maxOmpSessionsVariable : undefined;
resourceInputs["multiTenant"] = args ? args.multiTenant : undefined;
resourceInputs["multiTenantVariable"] = args ? args.multiTenantVariable : undefined;
resourceInputs["name"] = args ? args.name : undefined;
resourceInputs["onDemandEnable"] = args ? args.onDemandEnable : undefined;
resourceInputs["onDemandEnableVariable"] = args ? args.onDemandEnableVariable : undefined;
resourceInputs["onDemandIdleTimeout"] = args ? args.onDemandIdleTimeout : undefined;
resourceInputs["onDemandIdleTimeoutVariable"] = args ? args.onDemandIdleTimeoutVariable : undefined;
resourceInputs["overlayId"] = args ? args.overlayId : undefined;
resourceInputs["overlayIdVariable"] = args ? args.overlayIdVariable : undefined;
resourceInputs["portHopping"] = args ? args.portHopping : undefined;
resourceInputs["portHoppingVariable"] = args ? args.portHoppingVariable : undefined;
resourceInputs["portOffset"] = args ? args.portOffset : undefined;
resourceInputs["portOffsetVariable"] = args ? args.portOffsetVariable : undefined;
resourceInputs["siteTypes"] = args ? args.siteTypes : undefined;
resourceInputs["siteTypesVariable"] = args ? args.siteTypesVariable : undefined;
resourceInputs["timezone"] = args ? args.timezone : undefined;
resourceInputs["timezoneVariable"] = args ? args.timezoneVariable : undefined;
resourceInputs["trackDefaultGateway"] = args ? args.trackDefaultGateway : undefined;
resourceInputs["trackDefaultGatewayVariable"] = args ? args.trackDefaultGatewayVariable : undefined;
resourceInputs["trackInterfaceTag"] = args ? args.trackInterfaceTag : undefined;
resourceInputs["trackInterfaceTagVariable"] = args ? args.trackInterfaceTagVariable : undefined;
resourceInputs["trackTransport"] = args ? args.trackTransport : undefined;
resourceInputs["trackTransportVariable"] = args ? args.trackTransportVariable : undefined;
resourceInputs["transportGateway"] = args ? args.transportGateway : undefined;
resourceInputs["transportGatewayVariable"] = args ? args.transportGatewayVariable : undefined;
resourceInputs["version"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
super(SystemBasicFeature.__pulumiType, name, resourceInputs, opts);
}
}
exports.SystemBasicFeature = SystemBasicFeature;
/** @internal */
SystemBasicFeature.__pulumiType = 'sdwan:index/systemBasicFeature:SystemBasicFeature';
//# sourceMappingURL=systemBasicFeature.js.map