UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

135 lines 8.02 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.Setting = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * This resource manages the Org Settings. * * The Org Settings can be used to customize the Org configuration * * ## Import * * Using `pulumi import`, import `mist_org_setting` with: * * Org Setting can be imported by specifying the org_id * * ```sh * $ pulumi import junipermist:org/setting:Setting setting_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a * ``` */ class Setting extends pulumi.CustomResource { /** * Get an existing Setting 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 Setting(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of Setting. 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'] === Setting.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["apUpdownThreshold"] = state ? state.apUpdownThreshold : undefined; resourceInputs["apiPolicy"] = state ? state.apiPolicy : undefined; resourceInputs["cacerts"] = state ? state.cacerts : undefined; resourceInputs["celona"] = state ? state.celona : undefined; resourceInputs["cloudshark"] = state ? state.cloudshark : undefined; resourceInputs["cradlepoint"] = state ? state.cradlepoint : undefined; resourceInputs["deviceCert"] = state ? state.deviceCert : undefined; resourceInputs["deviceUpdownThreshold"] = state ? state.deviceUpdownThreshold : undefined; resourceInputs["disablePcap"] = state ? state.disablePcap : undefined; resourceInputs["disableRemoteShell"] = state ? state.disableRemoteShell : undefined; resourceInputs["gatewayUpdownThreshold"] = state ? state.gatewayUpdownThreshold : undefined; resourceInputs["installer"] = state ? state.installer : undefined; resourceInputs["jcloud"] = state ? state.jcloud : undefined; resourceInputs["jcloudRa"] = state ? state.jcloudRa : undefined; resourceInputs["juniper"] = state ? state.juniper : undefined; resourceInputs["junosShellAccess"] = state ? state.junosShellAccess : undefined; resourceInputs["marvis"] = state ? state.marvis : undefined; resourceInputs["mgmt"] = state ? state.mgmt : undefined; resourceInputs["mistNac"] = state ? state.mistNac : undefined; resourceInputs["mxedgeMgmt"] = state ? state.mxedgeMgmt : undefined; resourceInputs["opticPortConfig"] = state ? state.opticPortConfig : undefined; resourceInputs["orgId"] = state ? state.orgId : undefined; resourceInputs["passwordPolicy"] = state ? state.passwordPolicy : undefined; resourceInputs["pcap"] = state ? state.pcap : undefined; resourceInputs["security"] = state ? state.security : undefined; resourceInputs["ssr"] = state ? state.ssr : undefined; resourceInputs["switch"] = state ? state.switch : undefined; resourceInputs["switchMgmt"] = state ? state.switchMgmt : undefined; resourceInputs["switchUpdownThreshold"] = state ? state.switchUpdownThreshold : undefined; resourceInputs["syntheticTest"] = state ? state.syntheticTest : undefined; resourceInputs["uiIdleTimeout"] = state ? state.uiIdleTimeout : undefined; resourceInputs["vpnOptions"] = state ? state.vpnOptions : undefined; resourceInputs["wanPma"] = state ? state.wanPma : undefined; resourceInputs["wiredPma"] = state ? state.wiredPma : undefined; resourceInputs["wirelessPma"] = state ? state.wirelessPma : undefined; } else { const args = argsOrState; if ((!args || args.orgId === undefined) && !opts.urn) { throw new Error("Missing required property 'orgId'"); } resourceInputs["apUpdownThreshold"] = args ? args.apUpdownThreshold : undefined; resourceInputs["apiPolicy"] = args ? args.apiPolicy : undefined; resourceInputs["cacerts"] = args ? args.cacerts : undefined; resourceInputs["celona"] = args ? args.celona : undefined; resourceInputs["cloudshark"] = args ? args.cloudshark : undefined; resourceInputs["deviceCert"] = args ? args.deviceCert : undefined; resourceInputs["deviceUpdownThreshold"] = args ? args.deviceUpdownThreshold : undefined; resourceInputs["disablePcap"] = args ? args.disablePcap : undefined; resourceInputs["disableRemoteShell"] = args ? args.disableRemoteShell : undefined; resourceInputs["gatewayUpdownThreshold"] = args ? args.gatewayUpdownThreshold : undefined; resourceInputs["installer"] = args ? args.installer : undefined; resourceInputs["jcloud"] = args ? args.jcloud : undefined; resourceInputs["jcloudRa"] = args ? args.jcloudRa : undefined; resourceInputs["junosShellAccess"] = args ? args.junosShellAccess : undefined; resourceInputs["marvis"] = args ? args.marvis : undefined; resourceInputs["mgmt"] = args ? args.mgmt : undefined; resourceInputs["mistNac"] = args ? args.mistNac : undefined; resourceInputs["mxedgeMgmt"] = args ? args.mxedgeMgmt : undefined; resourceInputs["opticPortConfig"] = args ? args.opticPortConfig : undefined; resourceInputs["orgId"] = args ? args.orgId : undefined; resourceInputs["passwordPolicy"] = args ? args.passwordPolicy : undefined; resourceInputs["pcap"] = args ? args.pcap : undefined; resourceInputs["security"] = args ? args.security : undefined; resourceInputs["ssr"] = args ? args.ssr : undefined; resourceInputs["switch"] = args ? args.switch : undefined; resourceInputs["switchMgmt"] = args ? args.switchMgmt : undefined; resourceInputs["switchUpdownThreshold"] = args ? args.switchUpdownThreshold : undefined; resourceInputs["syntheticTest"] = args ? args.syntheticTest : undefined; resourceInputs["uiIdleTimeout"] = args ? args.uiIdleTimeout : undefined; resourceInputs["vpnOptions"] = args ? args.vpnOptions : undefined; resourceInputs["wanPma"] = args ? args.wanPma : undefined; resourceInputs["wiredPma"] = args ? args.wiredPma : undefined; resourceInputs["wirelessPma"] = args ? args.wirelessPma : undefined; resourceInputs["cradlepoint"] = undefined /*out*/; resourceInputs["juniper"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Setting.__pulumiType, name, resourceInputs, opts); } } exports.Setting = Setting; /** @internal */ Setting.__pulumiType = 'junipermist:org/setting:Setting'; //# sourceMappingURL=setting.js.map