UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

124 lines 7.98 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.NetIkePeer = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * `f5bigip.NetIkePeer` Manages a ikePeer configuration */ class NetIkePeer extends pulumi.CustomResource { /** * Get an existing NetIkePeer 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 NetIkePeer(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of NetIkePeer. 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'] === NetIkePeer.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["appService"] = state ? state.appService : undefined; resourceInputs["caCertFile"] = state ? state.caCertFile : undefined; resourceInputs["crlFile"] = state ? state.crlFile : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["dpdDelay"] = state ? state.dpdDelay : undefined; resourceInputs["generatePolicy"] = state ? state.generatePolicy : undefined; resourceInputs["lifetime"] = state ? state.lifetime : undefined; resourceInputs["mode"] = state ? state.mode : undefined; resourceInputs["myCertFile"] = state ? state.myCertFile : undefined; resourceInputs["myCertKeyFile"] = state ? state.myCertKeyFile : undefined; resourceInputs["myCertKeyPassphrase"] = state ? state.myCertKeyPassphrase : undefined; resourceInputs["myIdType"] = state ? state.myIdType : undefined; resourceInputs["myIdValue"] = state ? state.myIdValue : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["natTraversal"] = state ? state.natTraversal : undefined; resourceInputs["passive"] = state ? state.passive : undefined; resourceInputs["peersCertFile"] = state ? state.peersCertFile : undefined; resourceInputs["peersCertType"] = state ? state.peersCertType : undefined; resourceInputs["peersIdType"] = state ? state.peersIdType : undefined; resourceInputs["peersIdValue"] = state ? state.peersIdValue : undefined; resourceInputs["phase1AuthMethod"] = state ? state.phase1AuthMethod : undefined; resourceInputs["phase1EncryptAlgorithm"] = state ? state.phase1EncryptAlgorithm : undefined; resourceInputs["phase1HashAlgorithm"] = state ? state.phase1HashAlgorithm : undefined; resourceInputs["phase1PerfectForwardSecrecy"] = state ? state.phase1PerfectForwardSecrecy : undefined; resourceInputs["presharedKey"] = state ? state.presharedKey : undefined; resourceInputs["presharedKeyEncrypted"] = state ? state.presharedKeyEncrypted : undefined; resourceInputs["prf"] = state ? state.prf : undefined; resourceInputs["proxySupport"] = state ? state.proxySupport : undefined; resourceInputs["remoteAddress"] = state ? state.remoteAddress : undefined; resourceInputs["replayWindowSize"] = state ? state.replayWindowSize : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["trafficSelectors"] = state ? state.trafficSelectors : undefined; resourceInputs["verifyCert"] = state ? state.verifyCert : undefined; resourceInputs["versions"] = state ? state.versions : undefined; } else { const args = argsOrState; if ((!args || args.name === undefined) && !opts.urn) { throw new Error("Missing required property 'name'"); } if ((!args || args.remoteAddress === undefined) && !opts.urn) { throw new Error("Missing required property 'remoteAddress'"); } resourceInputs["appService"] = args ? args.appService : undefined; resourceInputs["caCertFile"] = args ? args.caCertFile : undefined; resourceInputs["crlFile"] = args ? args.crlFile : undefined; resourceInputs["description"] = args ? args.description : undefined; resourceInputs["dpdDelay"] = args ? args.dpdDelay : undefined; resourceInputs["generatePolicy"] = args ? args.generatePolicy : undefined; resourceInputs["lifetime"] = args ? args.lifetime : undefined; resourceInputs["mode"] = args ? args.mode : undefined; resourceInputs["myCertFile"] = args ? args.myCertFile : undefined; resourceInputs["myCertKeyFile"] = args ? args.myCertKeyFile : undefined; resourceInputs["myCertKeyPassphrase"] = args ? args.myCertKeyPassphrase : undefined; resourceInputs["myIdType"] = args ? args.myIdType : undefined; resourceInputs["myIdValue"] = args ? args.myIdValue : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["natTraversal"] = args ? args.natTraversal : undefined; resourceInputs["passive"] = args ? args.passive : undefined; resourceInputs["peersCertFile"] = args ? args.peersCertFile : undefined; resourceInputs["peersCertType"] = args ? args.peersCertType : undefined; resourceInputs["peersIdType"] = args ? args.peersIdType : undefined; resourceInputs["peersIdValue"] = args ? args.peersIdValue : undefined; resourceInputs["phase1AuthMethod"] = args ? args.phase1AuthMethod : undefined; resourceInputs["phase1EncryptAlgorithm"] = args ? args.phase1EncryptAlgorithm : undefined; resourceInputs["phase1HashAlgorithm"] = args ? args.phase1HashAlgorithm : undefined; resourceInputs["phase1PerfectForwardSecrecy"] = args ? args.phase1PerfectForwardSecrecy : undefined; resourceInputs["presharedKey"] = args ? args.presharedKey : undefined; resourceInputs["presharedKeyEncrypted"] = args ? args.presharedKeyEncrypted : undefined; resourceInputs["prf"] = args ? args.prf : undefined; resourceInputs["proxySupport"] = args ? args.proxySupport : undefined; resourceInputs["remoteAddress"] = args ? args.remoteAddress : undefined; resourceInputs["replayWindowSize"] = args ? args.replayWindowSize : undefined; resourceInputs["state"] = args ? args.state : undefined; resourceInputs["trafficSelectors"] = args ? args.trafficSelectors : undefined; resourceInputs["verifyCert"] = args ? args.verifyCert : undefined; resourceInputs["versions"] = args ? args.versions : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(NetIkePeer.__pulumiType, name, resourceInputs, opts); } } exports.NetIkePeer = NetIkePeer; /** @internal */ NetIkePeer.__pulumiType = 'f5bigip:index/netIkePeer:NetIkePeer'; //# sourceMappingURL=netIkePeer.js.map