UNPKG

@pulumi/sdwan

Version:

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

184 lines 13.8 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.SystemRemoteAccessFeature = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * This resource can manage a System Remote Access Feature. * - Minimum SD-WAN Manager version: `20.12.0` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdwan from "@pulumi/sdwan"; * * const example = new sdwan.SystemRemoteAccessFeature("example", { * name: "Example", * description: "My Example", * featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac", * connectionTypeSsl: false, * anyConnectEapAuthenticationType: "user", * ipv4PoolSize: 50, * ipv6PoolSize: 1024, * enableCertificateListCheck: false, * pskAuthenticationType: "aaa", * radiusGroupName: "radius-1", * aaaDeriveNameFromPeerIdentity: "MyPassword", * aaaEnableAccounting: false, * ikev2LocalIkeIdentityType: "EMAIL", * ikev2LocalIkeIdentityValue: "abc@xyz.com", * ikev2SecurityAssociationLifetime: 86400, * ikev2AntiDosThreshold: 99, * ipsecEnableAntiReplay: false, * ipsecSecurityAssociationLifetime: 3600, * ipsecEnablePerfectFowardSecrecy: false, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Expected import identifier with the format: "system_remote_access_feature_id,feature_profile_id" * * ```sh * $ pulumi import sdwan:index/systemRemoteAccessFeature:SystemRemoteAccessFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" * ``` */ class SystemRemoteAccessFeature extends pulumi.CustomResource { /** * Get an existing SystemRemoteAccessFeature 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 SystemRemoteAccessFeature(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of SystemRemoteAccessFeature. 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'] === SystemRemoteAccessFeature.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["aaaDeriveNameFromPeerDomain"] = state ? state.aaaDeriveNameFromPeerDomain : undefined; resourceInputs["aaaDeriveNameFromPeerDomainVariable"] = state ? state.aaaDeriveNameFromPeerDomainVariable : undefined; resourceInputs["aaaDeriveNameFromPeerIdentity"] = state ? state.aaaDeriveNameFromPeerIdentity : undefined; resourceInputs["aaaDeriveNameFromPeerIdentityVariable"] = state ? state.aaaDeriveNameFromPeerIdentityVariable : undefined; resourceInputs["aaaEnableAccounting"] = state ? state.aaaEnableAccounting : undefined; resourceInputs["aaaEnableAccountingVariable"] = state ? state.aaaEnableAccountingVariable : undefined; resourceInputs["aaaSpecifyNamePolicyName"] = state ? state.aaaSpecifyNamePolicyName : undefined; resourceInputs["aaaSpecifyNamePolicyNameVariable"] = state ? state.aaaSpecifyNamePolicyNameVariable : undefined; resourceInputs["aaaSpecifyNamePolicyPassword"] = state ? state.aaaSpecifyNamePolicyPassword : undefined; resourceInputs["aaaSpecifyNamePolicyPasswordVariable"] = state ? state.aaaSpecifyNamePolicyPasswordVariable : undefined; resourceInputs["anyConnectEapAuthenticationType"] = state ? state.anyConnectEapAuthenticationType : undefined; resourceInputs["connectionTypeSsl"] = state ? state.connectionTypeSsl : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["enableCertificateListCheck"] = state ? state.enableCertificateListCheck : undefined; resourceInputs["enableCertificateListCheckVariable"] = state ? state.enableCertificateListCheckVariable : undefined; resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined; resourceInputs["ikev2AntiDosThreshold"] = state ? state.ikev2AntiDosThreshold : undefined; resourceInputs["ikev2AntiDosThresholdVariable"] = state ? state.ikev2AntiDosThresholdVariable : undefined; resourceInputs["ikev2LocalIkeIdentityType"] = state ? state.ikev2LocalIkeIdentityType : undefined; resourceInputs["ikev2LocalIkeIdentityTypeVariable"] = state ? state.ikev2LocalIkeIdentityTypeVariable : undefined; resourceInputs["ikev2LocalIkeIdentityValue"] = state ? state.ikev2LocalIkeIdentityValue : undefined; resourceInputs["ikev2LocalIkeIdentityValueVariable"] = state ? state.ikev2LocalIkeIdentityValueVariable : undefined; resourceInputs["ikev2SecurityAssociationLifetime"] = state ? state.ikev2SecurityAssociationLifetime : undefined; resourceInputs["ikev2SecurityAssociationLifetimeVariable"] = state ? state.ikev2SecurityAssociationLifetimeVariable : undefined; resourceInputs["ipsecAntiReplayWindowSize"] = state ? state.ipsecAntiReplayWindowSize : undefined; resourceInputs["ipsecAntiReplayWindowSizeVariable"] = state ? state.ipsecAntiReplayWindowSizeVariable : undefined; resourceInputs["ipsecEnableAntiReplay"] = state ? state.ipsecEnableAntiReplay : undefined; resourceInputs["ipsecEnableAntiReplayVariable"] = state ? state.ipsecEnableAntiReplayVariable : undefined; resourceInputs["ipsecEnablePerfectFowardSecrecy"] = state ? state.ipsecEnablePerfectFowardSecrecy : undefined; resourceInputs["ipsecEnablePerfectFowardSecrecyVariable"] = state ? state.ipsecEnablePerfectFowardSecrecyVariable : undefined; resourceInputs["ipsecSecurityAssociationLifetime"] = state ? state.ipsecSecurityAssociationLifetime : undefined; resourceInputs["ipsecSecurityAssociationLifetimeVariable"] = state ? state.ipsecSecurityAssociationLifetimeVariable : undefined; resourceInputs["ipv4PoolSize"] = state ? state.ipv4PoolSize : undefined; resourceInputs["ipv4PoolSizeVariable"] = state ? state.ipv4PoolSizeVariable : undefined; resourceInputs["ipv6PoolSize"] = state ? state.ipv6PoolSize : undefined; resourceInputs["ipv6PoolSizeVariable"] = state ? state.ipv6PoolSizeVariable : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["pskAuthenticationPreSharedKey"] = state ? state.pskAuthenticationPreSharedKey : undefined; resourceInputs["pskAuthenticationPreSharedKeyVariable"] = state ? state.pskAuthenticationPreSharedKeyVariable : undefined; resourceInputs["pskAuthenticationType"] = state ? state.pskAuthenticationType : undefined; resourceInputs["pskAuthenticationTypeVariable"] = state ? state.pskAuthenticationTypeVariable : undefined; resourceInputs["radiusGroupName"] = state ? state.radiusGroupName : undefined; resourceInputs["radiusGroupNameVariable"] = state ? state.radiusGroupNameVariable : 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.radiusGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'radiusGroupName'"); } resourceInputs["aaaDeriveNameFromPeerDomain"] = args ? args.aaaDeriveNameFromPeerDomain : undefined; resourceInputs["aaaDeriveNameFromPeerDomainVariable"] = args ? args.aaaDeriveNameFromPeerDomainVariable : undefined; resourceInputs["aaaDeriveNameFromPeerIdentity"] = args ? args.aaaDeriveNameFromPeerIdentity : undefined; resourceInputs["aaaDeriveNameFromPeerIdentityVariable"] = args ? args.aaaDeriveNameFromPeerIdentityVariable : undefined; resourceInputs["aaaEnableAccounting"] = args ? args.aaaEnableAccounting : undefined; resourceInputs["aaaEnableAccountingVariable"] = args ? args.aaaEnableAccountingVariable : undefined; resourceInputs["aaaSpecifyNamePolicyName"] = args ? args.aaaSpecifyNamePolicyName : undefined; resourceInputs["aaaSpecifyNamePolicyNameVariable"] = args ? args.aaaSpecifyNamePolicyNameVariable : undefined; resourceInputs["aaaSpecifyNamePolicyPassword"] = args ? args.aaaSpecifyNamePolicyPassword : undefined; resourceInputs["aaaSpecifyNamePolicyPasswordVariable"] = args ? args.aaaSpecifyNamePolicyPasswordVariable : undefined; resourceInputs["anyConnectEapAuthenticationType"] = args ? args.anyConnectEapAuthenticationType : undefined; resourceInputs["connectionTypeSsl"] = args ? args.connectionTypeSsl : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["enableCertificateListCheck"] = args ? args.enableCertificateListCheck : undefined; resourceInputs["enableCertificateListCheckVariable"] = args ? args.enableCertificateListCheckVariable : undefined; resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined; resourceInputs["ikev2AntiDosThreshold"] = args ? args.ikev2AntiDosThreshold : undefined; resourceInputs["ikev2AntiDosThresholdVariable"] = args ? args.ikev2AntiDosThresholdVariable : undefined; resourceInputs["ikev2LocalIkeIdentityType"] = args ? args.ikev2LocalIkeIdentityType : undefined; resourceInputs["ikev2LocalIkeIdentityTypeVariable"] = args ? args.ikev2LocalIkeIdentityTypeVariable : undefined; resourceInputs["ikev2LocalIkeIdentityValue"] = args ? args.ikev2LocalIkeIdentityValue : undefined; resourceInputs["ikev2LocalIkeIdentityValueVariable"] = args ? args.ikev2LocalIkeIdentityValueVariable : undefined; resourceInputs["ikev2SecurityAssociationLifetime"] = args ? args.ikev2SecurityAssociationLifetime : undefined; resourceInputs["ikev2SecurityAssociationLifetimeVariable"] = args ? args.ikev2SecurityAssociationLifetimeVariable : undefined; resourceInputs["ipsecAntiReplayWindowSize"] = args ? args.ipsecAntiReplayWindowSize : undefined; resourceInputs["ipsecAntiReplayWindowSizeVariable"] = args ? args.ipsecAntiReplayWindowSizeVariable : undefined; resourceInputs["ipsecEnableAntiReplay"] = args ? args.ipsecEnableAntiReplay : undefined; resourceInputs["ipsecEnableAntiReplayVariable"] = args ? args.ipsecEnableAntiReplayVariable : undefined; resourceInputs["ipsecEnablePerfectFowardSecrecy"] = args ? args.ipsecEnablePerfectFowardSecrecy : undefined; resourceInputs["ipsecEnablePerfectFowardSecrecyVariable"] = args ? args.ipsecEnablePerfectFowardSecrecyVariable : undefined; resourceInputs["ipsecSecurityAssociationLifetime"] = args ? args.ipsecSecurityAssociationLifetime : undefined; resourceInputs["ipsecSecurityAssociationLifetimeVariable"] = args ? args.ipsecSecurityAssociationLifetimeVariable : undefined; resourceInputs["ipv4PoolSize"] = args ? args.ipv4PoolSize : undefined; resourceInputs["ipv4PoolSizeVariable"] = args ? args.ipv4PoolSizeVariable : undefined; resourceInputs["ipv6PoolSize"] = args ? args.ipv6PoolSize : undefined; resourceInputs["ipv6PoolSizeVariable"] = args ? args.ipv6PoolSizeVariable : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["pskAuthenticationPreSharedKey"] = args ? args.pskAuthenticationPreSharedKey : undefined; resourceInputs["pskAuthenticationPreSharedKeyVariable"] = args ? args.pskAuthenticationPreSharedKeyVariable : undefined; resourceInputs["pskAuthenticationType"] = args ? args.pskAuthenticationType : undefined; resourceInputs["pskAuthenticationTypeVariable"] = args ? args.pskAuthenticationTypeVariable : undefined; resourceInputs["radiusGroupName"] = args ? args.radiusGroupName : undefined; resourceInputs["radiusGroupNameVariable"] = args ? args.radiusGroupNameVariable : undefined; resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(SystemRemoteAccessFeature.__pulumiType, name, resourceInputs, opts); } } exports.SystemRemoteAccessFeature = SystemRemoteAccessFeature; /** @internal */ SystemRemoteAccessFeature.__pulumiType = 'sdwan:index/systemRemoteAccessFeature:SystemRemoteAccessFeature'; //# sourceMappingURL=systemRemoteAccessFeature.js.map