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 12.1 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, { ...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?.aaaDeriveNameFromPeerDomain; resourceInputs["aaaDeriveNameFromPeerDomainVariable"] = state?.aaaDeriveNameFromPeerDomainVariable; resourceInputs["aaaDeriveNameFromPeerIdentity"] = state?.aaaDeriveNameFromPeerIdentity; resourceInputs["aaaDeriveNameFromPeerIdentityVariable"] = state?.aaaDeriveNameFromPeerIdentityVariable; resourceInputs["aaaEnableAccounting"] = state?.aaaEnableAccounting; resourceInputs["aaaEnableAccountingVariable"] = state?.aaaEnableAccountingVariable; resourceInputs["aaaSpecifyNamePolicyName"] = state?.aaaSpecifyNamePolicyName; resourceInputs["aaaSpecifyNamePolicyNameVariable"] = state?.aaaSpecifyNamePolicyNameVariable; resourceInputs["aaaSpecifyNamePolicyPassword"] = state?.aaaSpecifyNamePolicyPassword; resourceInputs["aaaSpecifyNamePolicyPasswordVariable"] = state?.aaaSpecifyNamePolicyPasswordVariable; resourceInputs["anyConnectEapAuthenticationType"] = state?.anyConnectEapAuthenticationType; resourceInputs["connectionTypeSsl"] = state?.connectionTypeSsl; resourceInputs["description"] = state?.description; resourceInputs["enableCertificateListCheck"] = state?.enableCertificateListCheck; resourceInputs["enableCertificateListCheckVariable"] = state?.enableCertificateListCheckVariable; resourceInputs["featureProfileId"] = state?.featureProfileId; resourceInputs["ikev2AntiDosThreshold"] = state?.ikev2AntiDosThreshold; resourceInputs["ikev2AntiDosThresholdVariable"] = state?.ikev2AntiDosThresholdVariable; resourceInputs["ikev2LocalIkeIdentityType"] = state?.ikev2LocalIkeIdentityType; resourceInputs["ikev2LocalIkeIdentityTypeVariable"] = state?.ikev2LocalIkeIdentityTypeVariable; resourceInputs["ikev2LocalIkeIdentityValue"] = state?.ikev2LocalIkeIdentityValue; resourceInputs["ikev2LocalIkeIdentityValueVariable"] = state?.ikev2LocalIkeIdentityValueVariable; resourceInputs["ikev2SecurityAssociationLifetime"] = state?.ikev2SecurityAssociationLifetime; resourceInputs["ikev2SecurityAssociationLifetimeVariable"] = state?.ikev2SecurityAssociationLifetimeVariable; resourceInputs["ipsecAntiReplayWindowSize"] = state?.ipsecAntiReplayWindowSize; resourceInputs["ipsecAntiReplayWindowSizeVariable"] = state?.ipsecAntiReplayWindowSizeVariable; resourceInputs["ipsecEnableAntiReplay"] = state?.ipsecEnableAntiReplay; resourceInputs["ipsecEnableAntiReplayVariable"] = state?.ipsecEnableAntiReplayVariable; resourceInputs["ipsecEnablePerfectFowardSecrecy"] = state?.ipsecEnablePerfectFowardSecrecy; resourceInputs["ipsecEnablePerfectFowardSecrecyVariable"] = state?.ipsecEnablePerfectFowardSecrecyVariable; resourceInputs["ipsecSecurityAssociationLifetime"] = state?.ipsecSecurityAssociationLifetime; resourceInputs["ipsecSecurityAssociationLifetimeVariable"] = state?.ipsecSecurityAssociationLifetimeVariable; resourceInputs["ipv4PoolSize"] = state?.ipv4PoolSize; resourceInputs["ipv4PoolSizeVariable"] = state?.ipv4PoolSizeVariable; resourceInputs["ipv6PoolSize"] = state?.ipv6PoolSize; resourceInputs["ipv6PoolSizeVariable"] = state?.ipv6PoolSizeVariable; resourceInputs["name"] = state?.name; resourceInputs["pskAuthenticationPreSharedKey"] = state?.pskAuthenticationPreSharedKey; resourceInputs["pskAuthenticationPreSharedKeyVariable"] = state?.pskAuthenticationPreSharedKeyVariable; resourceInputs["pskAuthenticationType"] = state?.pskAuthenticationType; resourceInputs["pskAuthenticationTypeVariable"] = state?.pskAuthenticationTypeVariable; resourceInputs["radiusGroupName"] = state?.radiusGroupName; resourceInputs["radiusGroupNameVariable"] = state?.radiusGroupNameVariable; resourceInputs["version"] = state?.version; } else { const args = argsOrState; if (args?.featureProfileId === undefined && !opts.urn) { throw new Error("Missing required property 'featureProfileId'"); } if (args?.radiusGroupName === undefined && !opts.urn) { throw new Error("Missing required property 'radiusGroupName'"); } resourceInputs["aaaDeriveNameFromPeerDomain"] = args?.aaaDeriveNameFromPeerDomain; resourceInputs["aaaDeriveNameFromPeerDomainVariable"] = args?.aaaDeriveNameFromPeerDomainVariable; resourceInputs["aaaDeriveNameFromPeerIdentity"] = args?.aaaDeriveNameFromPeerIdentity; resourceInputs["aaaDeriveNameFromPeerIdentityVariable"] = args?.aaaDeriveNameFromPeerIdentityVariable; resourceInputs["aaaEnableAccounting"] = args?.aaaEnableAccounting; resourceInputs["aaaEnableAccountingVariable"] = args?.aaaEnableAccountingVariable; resourceInputs["aaaSpecifyNamePolicyName"] = args?.aaaSpecifyNamePolicyName; resourceInputs["aaaSpecifyNamePolicyNameVariable"] = args?.aaaSpecifyNamePolicyNameVariable; resourceInputs["aaaSpecifyNamePolicyPassword"] = args?.aaaSpecifyNamePolicyPassword; resourceInputs["aaaSpecifyNamePolicyPasswordVariable"] = args?.aaaSpecifyNamePolicyPasswordVariable; resourceInputs["anyConnectEapAuthenticationType"] = args?.anyConnectEapAuthenticationType; resourceInputs["connectionTypeSsl"] = args?.connectionTypeSsl; resourceInputs["description"] = args?.description; resourceInputs["enableCertificateListCheck"] = args?.enableCertificateListCheck; resourceInputs["enableCertificateListCheckVariable"] = args?.enableCertificateListCheckVariable; resourceInputs["featureProfileId"] = args?.featureProfileId; resourceInputs["ikev2AntiDosThreshold"] = args?.ikev2AntiDosThreshold; resourceInputs["ikev2AntiDosThresholdVariable"] = args?.ikev2AntiDosThresholdVariable; resourceInputs["ikev2LocalIkeIdentityType"] = args?.ikev2LocalIkeIdentityType; resourceInputs["ikev2LocalIkeIdentityTypeVariable"] = args?.ikev2LocalIkeIdentityTypeVariable; resourceInputs["ikev2LocalIkeIdentityValue"] = args?.ikev2LocalIkeIdentityValue; resourceInputs["ikev2LocalIkeIdentityValueVariable"] = args?.ikev2LocalIkeIdentityValueVariable; resourceInputs["ikev2SecurityAssociationLifetime"] = args?.ikev2SecurityAssociationLifetime; resourceInputs["ikev2SecurityAssociationLifetimeVariable"] = args?.ikev2SecurityAssociationLifetimeVariable; resourceInputs["ipsecAntiReplayWindowSize"] = args?.ipsecAntiReplayWindowSize; resourceInputs["ipsecAntiReplayWindowSizeVariable"] = args?.ipsecAntiReplayWindowSizeVariable; resourceInputs["ipsecEnableAntiReplay"] = args?.ipsecEnableAntiReplay; resourceInputs["ipsecEnableAntiReplayVariable"] = args?.ipsecEnableAntiReplayVariable; resourceInputs["ipsecEnablePerfectFowardSecrecy"] = args?.ipsecEnablePerfectFowardSecrecy; resourceInputs["ipsecEnablePerfectFowardSecrecyVariable"] = args?.ipsecEnablePerfectFowardSecrecyVariable; resourceInputs["ipsecSecurityAssociationLifetime"] = args?.ipsecSecurityAssociationLifetime; resourceInputs["ipsecSecurityAssociationLifetimeVariable"] = args?.ipsecSecurityAssociationLifetimeVariable; resourceInputs["ipv4PoolSize"] = args?.ipv4PoolSize; resourceInputs["ipv4PoolSizeVariable"] = args?.ipv4PoolSizeVariable; resourceInputs["ipv6PoolSize"] = args?.ipv6PoolSize; resourceInputs["ipv6PoolSizeVariable"] = args?.ipv6PoolSizeVariable; resourceInputs["name"] = args?.name; resourceInputs["pskAuthenticationPreSharedKey"] = args?.pskAuthenticationPreSharedKey; resourceInputs["pskAuthenticationPreSharedKeyVariable"] = args?.pskAuthenticationPreSharedKeyVariable; resourceInputs["pskAuthenticationType"] = args?.pskAuthenticationType; resourceInputs["pskAuthenticationTypeVariable"] = args?.pskAuthenticationTypeVariable; resourceInputs["radiusGroupName"] = args?.radiusGroupName; resourceInputs["radiusGroupNameVariable"] = args?.radiusGroupNameVariable; 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