UNPKG

@pulumi/sdwan

Version:

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

127 lines 9.31 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.CedgeAaaFeatureTemplate = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This resource can manage a cEdge AAA feature template. * - Minimum SD-WAN Manager version: `15.0.0` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import sdwan:index/cedgeAaaFeatureTemplate:CedgeAaaFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd" * ``` */ class CedgeAaaFeatureTemplate extends pulumi.CustomResource { /** * Get an existing CedgeAaaFeatureTemplate 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 CedgeAaaFeatureTemplate(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of CedgeAaaFeatureTemplate. 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'] === CedgeAaaFeatureTemplate.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["accountingRules"] = state ? state.accountingRules : undefined; resourceInputs["authorizationConfigCommands"] = state ? state.authorizationConfigCommands : undefined; resourceInputs["authorizationConfigCommandsVariable"] = state ? state.authorizationConfigCommandsVariable : undefined; resourceInputs["authorizationConsole"] = state ? state.authorizationConsole : undefined; resourceInputs["authorizationConsoleVariable"] = state ? state.authorizationConsoleVariable : undefined; resourceInputs["authorizationRules"] = state ? state.authorizationRules : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["deviceTypes"] = state ? state.deviceTypes : undefined; resourceInputs["dot1xAccounting"] = state ? state.dot1xAccounting : undefined; resourceInputs["dot1xAccountingVariable"] = state ? state.dot1xAccountingVariable : undefined; resourceInputs["dot1xAuthentication"] = state ? state.dot1xAuthentication : undefined; resourceInputs["dot1xAuthenticationVariable"] = state ? state.dot1xAuthenticationVariable : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["radiusClients"] = state ? state.radiusClients : undefined; resourceInputs["radiusDynamicAuthorAuthenticationType"] = state ? state.radiusDynamicAuthorAuthenticationType : undefined; resourceInputs["radiusDynamicAuthorAuthenticationTypeVariable"] = state ? state.radiusDynamicAuthorAuthenticationTypeVariable : undefined; resourceInputs["radiusDynamicAuthorDomainStripping"] = state ? state.radiusDynamicAuthorDomainStripping : undefined; resourceInputs["radiusDynamicAuthorDomainStrippingVariable"] = state ? state.radiusDynamicAuthorDomainStrippingVariable : undefined; resourceInputs["radiusDynamicAuthorPort"] = state ? state.radiusDynamicAuthorPort : undefined; resourceInputs["radiusDynamicAuthorPortVariable"] = state ? state.radiusDynamicAuthorPortVariable : undefined; resourceInputs["radiusDynamicAuthorServerKey"] = state ? state.radiusDynamicAuthorServerKey : undefined; resourceInputs["radiusDynamicAuthorServerKeyVariable"] = state ? state.radiusDynamicAuthorServerKeyVariable : undefined; resourceInputs["radiusServerGroups"] = state ? state.radiusServerGroups : undefined; resourceInputs["radiusTrustsecCtsAuthorizationList"] = state ? state.radiusTrustsecCtsAuthorizationList : undefined; resourceInputs["radiusTrustsecCtsAuthorizationListVariable"] = state ? state.radiusTrustsecCtsAuthorizationListVariable : undefined; resourceInputs["radiusTrustsecGroup"] = state ? state.radiusTrustsecGroup : undefined; resourceInputs["serverGroupsPriorityOrder"] = state ? state.serverGroupsPriorityOrder : undefined; resourceInputs["tacacsServerGroups"] = state ? state.tacacsServerGroups : undefined; resourceInputs["templateType"] = state ? state.templateType : undefined; resourceInputs["users"] = state ? state.users : undefined; resourceInputs["version"] = state ? state.version : undefined; } else { const args = argsOrState; if ((!args || args.description === undefined) && !opts.urn) { throw new Error("Missing required property 'description'"); } if ((!args || args.deviceTypes === undefined) && !opts.urn) { throw new Error("Missing required property 'deviceTypes'"); } resourceInputs["accountingRules"] = args ? args.accountingRules : undefined; resourceInputs["authorizationConfigCommands"] = args ? args.authorizationConfigCommands : undefined; resourceInputs["authorizationConfigCommandsVariable"] = args ? args.authorizationConfigCommandsVariable : undefined; resourceInputs["authorizationConsole"] = args ? args.authorizationConsole : undefined; resourceInputs["authorizationConsoleVariable"] = args ? args.authorizationConsoleVariable : undefined; resourceInputs["authorizationRules"] = args ? args.authorizationRules : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["deviceTypes"] = args ? args.deviceTypes : undefined; resourceInputs["dot1xAccounting"] = args ? args.dot1xAccounting : undefined; resourceInputs["dot1xAccountingVariable"] = args ? args.dot1xAccountingVariable : undefined; resourceInputs["dot1xAuthentication"] = args ? args.dot1xAuthentication : undefined; resourceInputs["dot1xAuthenticationVariable"] = args ? args.dot1xAuthenticationVariable : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["radiusClients"] = args ? args.radiusClients : undefined; resourceInputs["radiusDynamicAuthorAuthenticationType"] = args ? args.radiusDynamicAuthorAuthenticationType : undefined; resourceInputs["radiusDynamicAuthorAuthenticationTypeVariable"] = args ? args.radiusDynamicAuthorAuthenticationTypeVariable : undefined; resourceInputs["radiusDynamicAuthorDomainStripping"] = args ? args.radiusDynamicAuthorDomainStripping : undefined; resourceInputs["radiusDynamicAuthorDomainStrippingVariable"] = args ? args.radiusDynamicAuthorDomainStrippingVariable : undefined; resourceInputs["radiusDynamicAuthorPort"] = args ? args.radiusDynamicAuthorPort : undefined; resourceInputs["radiusDynamicAuthorPortVariable"] = args ? args.radiusDynamicAuthorPortVariable : undefined; resourceInputs["radiusDynamicAuthorServerKey"] = args ? args.radiusDynamicAuthorServerKey : undefined; resourceInputs["radiusDynamicAuthorServerKeyVariable"] = args ? args.radiusDynamicAuthorServerKeyVariable : undefined; resourceInputs["radiusServerGroups"] = args ? args.radiusServerGroups : undefined; resourceInputs["radiusTrustsecCtsAuthorizationList"] = args ? args.radiusTrustsecCtsAuthorizationList : undefined; resourceInputs["radiusTrustsecCtsAuthorizationListVariable"] = args ? args.radiusTrustsecCtsAuthorizationListVariable : undefined; resourceInputs["radiusTrustsecGroup"] = args ? args.radiusTrustsecGroup : undefined; resourceInputs["serverGroupsPriorityOrder"] = args ? args.serverGroupsPriorityOrder : undefined; resourceInputs["tacacsServerGroups"] = args ? args.tacacsServerGroups : undefined; resourceInputs["users"] = args ? args.users : undefined; resourceInputs["templateType"] = undefined /*out*/; resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(CedgeAaaFeatureTemplate.__pulumiType, name, resourceInputs, opts); } } exports.CedgeAaaFeatureTemplate = CedgeAaaFeatureTemplate; /** @internal */ CedgeAaaFeatureTemplate.__pulumiType = 'sdwan:index/cedgeAaaFeatureTemplate:CedgeAaaFeatureTemplate'; //# sourceMappingURL=cedgeAaaFeatureTemplate.js.map