@pulumi/juniper-mist 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/device/gatewayCluster.d.ts +1 -1
- package/device/gatewayCluster.js +1 -1
- package/org/index.d.ts +12 -0
- package/org/index.js +21 -1
- package/org/index.js.map +1 -1
- package/org/mxcluster.d.ts +382 -0
- package/org/mxcluster.js +276 -0
- package/org/mxcluster.js.map +1 -0
- package/org/mxedge.d.ts +12 -3
- package/org/mxedge.js +11 -2
- package/org/mxedge.js.map +1 -1
- package/org/nacPortal.d.ts +280 -0
- package/org/nacPortal.js +151 -0
- package/org/nacPortal.js.map +1 -0
- package/org/nacPortalImage.d.ts +66 -0
- package/org/nacPortalImage.js +65 -0
- package/org/nacPortalImage.js.map +1 -0
- package/org/nacPortalTemplate.d.ts +136 -0
- package/org/nacPortalTemplate.js +111 -0
- package/org/nacPortalTemplate.js.map +1 -0
- package/package.json +2 -2
- package/types/input.d.ts +235 -0
- package/types/output.d.ts +235 -0
package/org/mxcluster.js
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Mxcluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages MxCluster (cluster of MxEdge devices) in the Mist Organization.
|
|
10
|
+
*
|
|
11
|
+
* A Mist Edge Cluster is a group of one or more Org Mist Edge devices (mist_org_mxedge) providing tunnel termination, edge network services and RADIUS proxy capabilities.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
18
|
+
*
|
|
19
|
+
* // Resource for importing existing mxcluster
|
|
20
|
+
* // Import with: terraform import mist_org_mxcluster.existing_mxcluster "<org_id>.<mxcluster_id>"
|
|
21
|
+
* const existingMxcluster = new junipermist.org.Mxcluster("existing_mxcluster", {
|
|
22
|
+
* orgId: terraformTest.id,
|
|
23
|
+
* name: "edgey_cluster",
|
|
24
|
+
* siteId: terraformTestSite.id,
|
|
25
|
+
* });
|
|
26
|
+
* // Create new mxcluster
|
|
27
|
+
* const newMxcluster = new junipermist.org.Mxcluster("new_mxcluster", {
|
|
28
|
+
* orgId: terraformTest.id,
|
|
29
|
+
* name: "edgey_cluster_new",
|
|
30
|
+
* siteId: terraformTestSite.id,
|
|
31
|
+
* mistDas: {
|
|
32
|
+
* enabled: true,
|
|
33
|
+
* coaServers: [
|
|
34
|
+
* {
|
|
35
|
+
* disableEventTimestampCheck: false,
|
|
36
|
+
* enabled: true,
|
|
37
|
+
* host: "10.10.10.10",
|
|
38
|
+
* port: 3799,
|
|
39
|
+
* requireMessageAuthenticator: true,
|
|
40
|
+
* secret: "coa-secret-123",
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* enabled: true,
|
|
44
|
+
* host: "10.10.10.11",
|
|
45
|
+
* port: 3799,
|
|
46
|
+
* secret: "coa-secret-456",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* },
|
|
50
|
+
* mistNac: {
|
|
51
|
+
* enabled: true,
|
|
52
|
+
* acctServerPort: 1813,
|
|
53
|
+
* authServerPort: 1812,
|
|
54
|
+
* secret: "nac-shared-secret",
|
|
55
|
+
* },
|
|
56
|
+
* mxedgeMgmt: {
|
|
57
|
+
* configAutoRevert: true,
|
|
58
|
+
* fipsEnabled: false,
|
|
59
|
+
* mistPassword: "mist-password-123",
|
|
60
|
+
* rootPassword: "root-password-456",
|
|
61
|
+
* oobIpType: "static",
|
|
62
|
+
* oobIpType6: "dhcp",
|
|
63
|
+
* },
|
|
64
|
+
* proxy: {
|
|
65
|
+
* disabled: false,
|
|
66
|
+
* url: "http://proxy.example.com:8080",
|
|
67
|
+
* },
|
|
68
|
+
* radsec: {
|
|
69
|
+
* enabled: true,
|
|
70
|
+
* matchSsid: true,
|
|
71
|
+
* nasIpSource: "tunnel",
|
|
72
|
+
* serverSelection: "ordered",
|
|
73
|
+
* srcIpSource: "tunnel",
|
|
74
|
+
* proxyHosts: [
|
|
75
|
+
* "radsec1.example.com",
|
|
76
|
+
* "radsec2.example.com",
|
|
77
|
+
* ],
|
|
78
|
+
* acctServers: [
|
|
79
|
+
* {
|
|
80
|
+
* host: "acct1.example.com",
|
|
81
|
+
* port: 2083,
|
|
82
|
+
* secret: "acct-secret-123",
|
|
83
|
+
* ssids: [
|
|
84
|
+
* "Corporate",
|
|
85
|
+
* "Guest",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* host: "acct2.example.com",
|
|
90
|
+
* port: 2083,
|
|
91
|
+
* secret: "acct-secret-456",
|
|
92
|
+
* ssids: ["Corporate"],
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* authServers: [
|
|
96
|
+
* {
|
|
97
|
+
* host: "auth1.example.com",
|
|
98
|
+
* port: 2083,
|
|
99
|
+
* secret: "auth-secret-123",
|
|
100
|
+
* inbandStatusCheck: true,
|
|
101
|
+
* inbandStatusInterval: 60,
|
|
102
|
+
* keywrapEnabled: true,
|
|
103
|
+
* keywrapFormat: "hex",
|
|
104
|
+
* keywrapKek: "keywrap-kek-value",
|
|
105
|
+
* keywrapMack: "keywrap-mack-value",
|
|
106
|
+
* retry: 3,
|
|
107
|
+
* timeout: 30,
|
|
108
|
+
* ssids: [
|
|
109
|
+
* "Corporate",
|
|
110
|
+
* "Guest",
|
|
111
|
+
* ],
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* host: "auth2.example.com",
|
|
115
|
+
* port: 2083,
|
|
116
|
+
* secret: "auth-secret-456",
|
|
117
|
+
* retry: 3,
|
|
118
|
+
* timeout: 30,
|
|
119
|
+
* ssids: ["Corporate"],
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* },
|
|
123
|
+
* tuntermApSubnets: [
|
|
124
|
+
* "192.168.10.0/24",
|
|
125
|
+
* "192.168.20.0/24",
|
|
126
|
+
* "10.100.0.0/16",
|
|
127
|
+
* ],
|
|
128
|
+
* tuntermDhcpdConfig: {
|
|
129
|
+
* "100": {
|
|
130
|
+
* enabled: true,
|
|
131
|
+
* type: "relay",
|
|
132
|
+
* servers: [
|
|
133
|
+
* "10.100.0.5",
|
|
134
|
+
* "10.100.0.6",
|
|
135
|
+
* ],
|
|
136
|
+
* },
|
|
137
|
+
* "200": {
|
|
138
|
+
* enabled: true,
|
|
139
|
+
* type: "relay",
|
|
140
|
+
* servers: ["10.200.0.5"],
|
|
141
|
+
* },
|
|
142
|
+
* },
|
|
143
|
+
* tuntermExtraRoutes: {
|
|
144
|
+
* "172.16.0.0/16": {
|
|
145
|
+
* via: "10.0.0.10",
|
|
146
|
+
* },
|
|
147
|
+
* "192.168.100.0/24": {
|
|
148
|
+
* via: "10.0.0.20",
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* tuntermHosts: [
|
|
152
|
+
* "mxedge1.example.com",
|
|
153
|
+
* "mxedge2.example.com",
|
|
154
|
+
* "10.10.10.100",
|
|
155
|
+
* ],
|
|
156
|
+
* tuntermHostsOrders: [
|
|
157
|
+
* 0,
|
|
158
|
+
* 1,
|
|
159
|
+
* 2,
|
|
160
|
+
* ],
|
|
161
|
+
* tuntermHostsSelection: "ordered",
|
|
162
|
+
* tuntermMonitorings: [
|
|
163
|
+
* [
|
|
164
|
+
* {
|
|
165
|
+
* host: "10.0.0.1",
|
|
166
|
+
* port: 443,
|
|
167
|
+
* protocol: "https",
|
|
168
|
+
* srcVlanId: 100,
|
|
169
|
+
* timeout: 10,
|
|
170
|
+
* },
|
|
171
|
+
* {
|
|
172
|
+
* host: "10.0.0.2",
|
|
173
|
+
* port: 80,
|
|
174
|
+
* protocol: "http",
|
|
175
|
+
* srcVlanId: 100,
|
|
176
|
+
* timeout: 5,
|
|
177
|
+
* },
|
|
178
|
+
* ],
|
|
179
|
+
* [{
|
|
180
|
+
* host: "8.8.8.8",
|
|
181
|
+
* port: 443,
|
|
182
|
+
* protocol: "https",
|
|
183
|
+
* srcVlanId: 200,
|
|
184
|
+
* timeout: 10,
|
|
185
|
+
* }],
|
|
186
|
+
* ],
|
|
187
|
+
* tuntermMonitoringDisabled: false,
|
|
188
|
+
* });
|
|
189
|
+
* ```
|
|
190
|
+
*
|
|
191
|
+
* ## Import
|
|
192
|
+
*
|
|
193
|
+
* Using `pulumi import`, import `junipermist.org.Mxcluster` with:
|
|
194
|
+
* Mist Org MxCluster can be imported by specifying the orgId and the mxclusterId
|
|
195
|
+
*
|
|
196
|
+
* ```sh
|
|
197
|
+
* $ pulumi import junipermist:org/mxcluster:Mxcluster cluster_one 17f90707-aebe-4274-af42-f42952a665a3.387804a7-3474-85ce-15a2-f9a9684c9c90
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
class Mxcluster extends pulumi.CustomResource {
|
|
201
|
+
/**
|
|
202
|
+
* Get an existing Mxcluster resource's state with the given name, ID, and optional extra
|
|
203
|
+
* properties used to qualify the lookup.
|
|
204
|
+
*
|
|
205
|
+
* @param name The _unique_ name of the resulting resource.
|
|
206
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
207
|
+
* @param state Any extra arguments used during the lookup.
|
|
208
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
209
|
+
*/
|
|
210
|
+
static get(name, id, state, opts) {
|
|
211
|
+
return new Mxcluster(name, state, { ...opts, id: id });
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Returns true if the given object is an instance of Mxcluster. This is designed to work even
|
|
215
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
216
|
+
*/
|
|
217
|
+
static isInstance(obj) {
|
|
218
|
+
if (obj === undefined || obj === null) {
|
|
219
|
+
return false;
|
|
220
|
+
}
|
|
221
|
+
return obj['__pulumiType'] === Mxcluster.__pulumiType;
|
|
222
|
+
}
|
|
223
|
+
constructor(name, argsOrState, opts) {
|
|
224
|
+
let resourceInputs = {};
|
|
225
|
+
opts = opts || {};
|
|
226
|
+
if (opts.id) {
|
|
227
|
+
const state = argsOrState;
|
|
228
|
+
resourceInputs["mistDas"] = state?.mistDas;
|
|
229
|
+
resourceInputs["mistNac"] = state?.mistNac;
|
|
230
|
+
resourceInputs["mxedgeMgmt"] = state?.mxedgeMgmt;
|
|
231
|
+
resourceInputs["name"] = state?.name;
|
|
232
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
233
|
+
resourceInputs["proxy"] = state?.proxy;
|
|
234
|
+
resourceInputs["radsec"] = state?.radsec;
|
|
235
|
+
resourceInputs["radsecTls"] = state?.radsecTls;
|
|
236
|
+
resourceInputs["siteId"] = state?.siteId;
|
|
237
|
+
resourceInputs["tuntermApSubnets"] = state?.tuntermApSubnets;
|
|
238
|
+
resourceInputs["tuntermDhcpdConfig"] = state?.tuntermDhcpdConfig;
|
|
239
|
+
resourceInputs["tuntermExtraRoutes"] = state?.tuntermExtraRoutes;
|
|
240
|
+
resourceInputs["tuntermHosts"] = state?.tuntermHosts;
|
|
241
|
+
resourceInputs["tuntermHostsOrders"] = state?.tuntermHostsOrders;
|
|
242
|
+
resourceInputs["tuntermHostsSelection"] = state?.tuntermHostsSelection;
|
|
243
|
+
resourceInputs["tuntermMonitoringDisabled"] = state?.tuntermMonitoringDisabled;
|
|
244
|
+
resourceInputs["tuntermMonitorings"] = state?.tuntermMonitorings;
|
|
245
|
+
}
|
|
246
|
+
else {
|
|
247
|
+
const args = argsOrState;
|
|
248
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
249
|
+
throw new Error("Missing required property 'orgId'");
|
|
250
|
+
}
|
|
251
|
+
resourceInputs["mistDas"] = args?.mistDas;
|
|
252
|
+
resourceInputs["mistNac"] = args?.mistNac;
|
|
253
|
+
resourceInputs["mxedgeMgmt"] = args?.mxedgeMgmt;
|
|
254
|
+
resourceInputs["name"] = args?.name;
|
|
255
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
256
|
+
resourceInputs["proxy"] = args?.proxy;
|
|
257
|
+
resourceInputs["radsec"] = args?.radsec;
|
|
258
|
+
resourceInputs["siteId"] = args?.siteId;
|
|
259
|
+
resourceInputs["tuntermApSubnets"] = args?.tuntermApSubnets;
|
|
260
|
+
resourceInputs["tuntermDhcpdConfig"] = args?.tuntermDhcpdConfig;
|
|
261
|
+
resourceInputs["tuntermExtraRoutes"] = args?.tuntermExtraRoutes;
|
|
262
|
+
resourceInputs["tuntermHosts"] = args?.tuntermHosts;
|
|
263
|
+
resourceInputs["tuntermHostsOrders"] = args?.tuntermHostsOrders;
|
|
264
|
+
resourceInputs["tuntermHostsSelection"] = args?.tuntermHostsSelection;
|
|
265
|
+
resourceInputs["tuntermMonitoringDisabled"] = args?.tuntermMonitoringDisabled;
|
|
266
|
+
resourceInputs["tuntermMonitorings"] = args?.tuntermMonitorings;
|
|
267
|
+
resourceInputs["radsecTls"] = undefined /*out*/;
|
|
268
|
+
}
|
|
269
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
270
|
+
super(Mxcluster.__pulumiType, name, resourceInputs, opts);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
exports.Mxcluster = Mxcluster;
|
|
274
|
+
/** @internal */
|
|
275
|
+
Mxcluster.__pulumiType = 'junipermist:org/mxcluster:Mxcluster';
|
|
276
|
+
//# sourceMappingURL=mxcluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mxcluster.js","sourceRoot":"","sources":["../../org/mxcluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAE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O,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAnIL,8BAoIC;AAtHG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
|
package/org/mxedge.d.ts
CHANGED
|
@@ -5,6 +5,15 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
* This resource manages MxEdge devices in the Mist Organization.
|
|
6
6
|
*
|
|
7
7
|
* MxEdge is a multi-service edge platform that provides tunneling, switching, and other network services.
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Using `pulumi import`, import `junipermist.org.Mxedge` with:
|
|
12
|
+
* Mist Org MxEdge can be imported by specifying the orgId and the mxedgeId
|
|
13
|
+
*
|
|
14
|
+
* ```sh
|
|
15
|
+
* $ pulumi import junipermist:org/mxedge:Mxedge edge_one 17f90707-aebe-4274-af42-f42952a665a3.387804a7-3474-85ce-15a2-f9a9684c9c90
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
export declare class Mxedge extends pulumi.CustomResource {
|
|
10
19
|
/**
|
|
@@ -32,7 +41,7 @@ export declare class Mxedge extends pulumi.CustomResource {
|
|
|
32
41
|
readonly mxclusterId: pulumi.Output<string | undefined>;
|
|
33
42
|
readonly mxedgeMgmt: pulumi.Output<outputs.org.MxedgeMxedgeMgmt | undefined>;
|
|
34
43
|
readonly name: pulumi.Output<string>;
|
|
35
|
-
readonly
|
|
44
|
+
readonly notes: pulumi.Output<string | undefined>;
|
|
36
45
|
readonly ntpServers: pulumi.Output<string[] | undefined>;
|
|
37
46
|
/**
|
|
38
47
|
* IPconfiguration of the Mist Edge out-of*band management interface
|
|
@@ -112,7 +121,7 @@ export interface MxedgeState {
|
|
|
112
121
|
mxclusterId?: pulumi.Input<string>;
|
|
113
122
|
mxedgeMgmt?: pulumi.Input<inputs.org.MxedgeMxedgeMgmt>;
|
|
114
123
|
name?: pulumi.Input<string>;
|
|
115
|
-
|
|
124
|
+
notes?: pulumi.Input<string>;
|
|
116
125
|
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
117
126
|
/**
|
|
118
127
|
* IPconfiguration of the Mist Edge out-of*band management interface
|
|
@@ -182,7 +191,7 @@ export interface MxedgeArgs {
|
|
|
182
191
|
mxclusterId?: pulumi.Input<string>;
|
|
183
192
|
mxedgeMgmt?: pulumi.Input<inputs.org.MxedgeMxedgeMgmt>;
|
|
184
193
|
name?: pulumi.Input<string>;
|
|
185
|
-
|
|
194
|
+
notes?: pulumi.Input<string>;
|
|
186
195
|
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
187
196
|
/**
|
|
188
197
|
* IPconfiguration of the Mist Edge out-of*band management interface
|
package/org/mxedge.js
CHANGED
|
@@ -9,6 +9,15 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* This resource manages MxEdge devices in the Mist Organization.
|
|
10
10
|
*
|
|
11
11
|
* MxEdge is a multi-service edge platform that provides tunneling, switching, and other network services.
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* Using `pulumi import`, import `junipermist.org.Mxedge` with:
|
|
16
|
+
* Mist Org MxEdge can be imported by specifying the orgId and the mxedgeId
|
|
17
|
+
*
|
|
18
|
+
* ```sh
|
|
19
|
+
* $ pulumi import junipermist:org/mxedge:Mxedge edge_one 17f90707-aebe-4274-af42-f42952a665a3.387804a7-3474-85ce-15a2-f9a9684c9c90
|
|
20
|
+
* ```
|
|
12
21
|
*/
|
|
13
22
|
class Mxedge extends pulumi.CustomResource {
|
|
14
23
|
/**
|
|
@@ -45,7 +54,7 @@ class Mxedge extends pulumi.CustomResource {
|
|
|
45
54
|
resourceInputs["mxclusterId"] = state?.mxclusterId;
|
|
46
55
|
resourceInputs["mxedgeMgmt"] = state?.mxedgeMgmt;
|
|
47
56
|
resourceInputs["name"] = state?.name;
|
|
48
|
-
resourceInputs["
|
|
57
|
+
resourceInputs["notes"] = state?.notes;
|
|
49
58
|
resourceInputs["ntpServers"] = state?.ntpServers;
|
|
50
59
|
resourceInputs["oobIpConfig"] = state?.oobIpConfig;
|
|
51
60
|
resourceInputs["orgId"] = state?.orgId;
|
|
@@ -75,7 +84,7 @@ class Mxedge extends pulumi.CustomResource {
|
|
|
75
84
|
resourceInputs["mxclusterId"] = args?.mxclusterId;
|
|
76
85
|
resourceInputs["mxedgeMgmt"] = args?.mxedgeMgmt;
|
|
77
86
|
resourceInputs["name"] = args?.name;
|
|
78
|
-
resourceInputs["
|
|
87
|
+
resourceInputs["notes"] = args?.notes;
|
|
79
88
|
resourceInputs["ntpServers"] = args?.ntpServers;
|
|
80
89
|
resourceInputs["oobIpConfig"] = args?.oobIpConfig;
|
|
81
90
|
resourceInputs["orgId"] = args?.orgId;
|
package/org/mxedge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mxedge.js","sourceRoot":"","sources":["../../org/mxedge.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"mxedge.js","sourceRoot":"","sources":["../../org/mxedge.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAsED,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,WAA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,280 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource manages Org NAC Portals.
|
|
6
|
+
*
|
|
7
|
+
* NAC Portal configuration defines the authentication portal for network access control.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
14
|
+
*
|
|
15
|
+
* const guestPortal = new junipermist.org.NacPortal("guest_portal", {
|
|
16
|
+
* orgId: terraformTest.id,
|
|
17
|
+
* name: "Guest Portal",
|
|
18
|
+
* type: "marvis_client",
|
|
19
|
+
* accessType: "wireless+wired",
|
|
20
|
+
* ssid: "Guest-Network",
|
|
21
|
+
* certExpireTime: 365,
|
|
22
|
+
* eapType: "wpa3",
|
|
23
|
+
* enableTelemetry: true,
|
|
24
|
+
* expiryNotificationTime: 30,
|
|
25
|
+
* notifyExpiry: true,
|
|
26
|
+
* tos: "By using this network, you agree to our terms of service and privacy policy.",
|
|
27
|
+
* additionalCacerts: [`-----BEGIN CERTIFICATE-----
|
|
28
|
+
* MIIC...certificate...content
|
|
29
|
+
* -----END CERTIFICATE-----`],
|
|
30
|
+
* additionalNacServerNames: [
|
|
31
|
+
* "nac1.example.com",
|
|
32
|
+
* "nac2.example.com",
|
|
33
|
+
* ],
|
|
34
|
+
* portal: {
|
|
35
|
+
* auth: "multi",
|
|
36
|
+
* expire: 43200,
|
|
37
|
+
* externalPortalUrl: "https://portal.example.com/external",
|
|
38
|
+
* forceReconnect: false,
|
|
39
|
+
* forward: true,
|
|
40
|
+
* forwardUrl: "https://example.com/portal/welcome",
|
|
41
|
+
* maxNumDevices: 10,
|
|
42
|
+
* privacy: true,
|
|
43
|
+
* },
|
|
44
|
+
* sso: {
|
|
45
|
+
* idpCert: `-----BEGIN CERTIFICATE-----
|
|
46
|
+
* MIIC...idp...cert
|
|
47
|
+
* -----END CERTIFICATE-----`,
|
|
48
|
+
* idpSignAlgo: "sha384",
|
|
49
|
+
* idpSsoUrl: "https://idp.example.com/saml/sso",
|
|
50
|
+
* issuer: "https://idp.example.com",
|
|
51
|
+
* nameidFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
|
|
52
|
+
* useSsoRoleForCert: false,
|
|
53
|
+
* ssoRoleMatchings: [
|
|
54
|
+
* {
|
|
55
|
+
* match: "Administrator",
|
|
56
|
+
* assigned: "full-access",
|
|
57
|
+
* },
|
|
58
|
+
* {
|
|
59
|
+
* match: "Manager",
|
|
60
|
+
* assigned: "manager-access",
|
|
61
|
+
* },
|
|
62
|
+
* {
|
|
63
|
+
* match: "Employee",
|
|
64
|
+
* assigned: "employee-access",
|
|
65
|
+
* },
|
|
66
|
+
* {
|
|
67
|
+
* match: "Guest",
|
|
68
|
+
* assigned: "guest-access",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
export declare class NacPortal extends pulumi.CustomResource {
|
|
76
|
+
/**
|
|
77
|
+
* Get an existing NacPortal resource's state with the given name, ID, and optional extra
|
|
78
|
+
* properties used to qualify the lookup.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resulting resource.
|
|
81
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
82
|
+
* @param state Any extra arguments used during the lookup.
|
|
83
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
84
|
+
*/
|
|
85
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NacPortalState, opts?: pulumi.CustomResourceOptions): NacPortal;
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of NacPortal. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj: any): obj is NacPortal;
|
|
91
|
+
/**
|
|
92
|
+
* if `type`==`marvisClient`. enum: `wireless`, `wireless+wired`
|
|
93
|
+
*/
|
|
94
|
+
readonly accessType: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Optional list of additional CA certificates to be used
|
|
97
|
+
*/
|
|
98
|
+
readonly additionalCacerts: pulumi.Output<string[] | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* Optional list of additional NAC server names
|
|
101
|
+
*/
|
|
102
|
+
readonly additionalNacServerNames: pulumi.Output<string[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* In days
|
|
105
|
+
*/
|
|
106
|
+
readonly certExpireTime: pulumi.Output<number | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* enum: `wpa2`, `wpa3`
|
|
109
|
+
*/
|
|
110
|
+
readonly eapType: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Model, version, fingering, events (connecting, disconnect, roaming), which ap
|
|
113
|
+
*/
|
|
114
|
+
readonly enableTelemetry: pulumi.Output<boolean | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* In days
|
|
117
|
+
*/
|
|
118
|
+
readonly expiryNotificationTime: pulumi.Output<number | undefined>;
|
|
119
|
+
readonly name: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* phase 2
|
|
122
|
+
*/
|
|
123
|
+
readonly notifyExpiry: pulumi.Output<boolean | undefined>;
|
|
124
|
+
readonly orgId: pulumi.Output<string>;
|
|
125
|
+
/**
|
|
126
|
+
* Guest portal configuration when `type`==`guestPortal`. If
|
|
127
|
+
* * `auth`==`none`, the user is presented with a terms of service and can click and continue.
|
|
128
|
+
* * `auth`==`external`, the user is redirected to an external URL for authentication.
|
|
129
|
+
* * `auth`==`multi`, the user is presented with a choice of authentication methods:
|
|
130
|
+
* - social logins: facebook / google / amazon / microsoft / azure
|
|
131
|
+
* - sponsor
|
|
132
|
+
* - sms: supported provider: twillio
|
|
133
|
+
* - email
|
|
134
|
+
* - sso
|
|
135
|
+
* - userpass: pre created guest list
|
|
136
|
+
*/
|
|
137
|
+
readonly portal: pulumi.Output<outputs.org.NacPortalPortal | undefined>;
|
|
138
|
+
readonly ssid: pulumi.Output<string | undefined>;
|
|
139
|
+
readonly sso: pulumi.Output<outputs.org.NacPortalSso | undefined>;
|
|
140
|
+
readonly tos: pulumi.Output<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* enum:
|
|
143
|
+
* * `guestAdmin`: NAC-Based Portal Admin for Pre Created Guest Authentication
|
|
144
|
+
* * `guestPortal`: NAC-Based Guest Portal
|
|
145
|
+
* * `marvisClient`
|
|
146
|
+
*/
|
|
147
|
+
readonly type: pulumi.Output<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Create a NacPortal resource with the given unique name, arguments, and options.
|
|
150
|
+
*
|
|
151
|
+
* @param name The _unique_ name of the resource.
|
|
152
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
153
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
154
|
+
*/
|
|
155
|
+
constructor(name: string, args: NacPortalArgs, opts?: pulumi.CustomResourceOptions);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Input properties used for looking up and filtering NacPortal resources.
|
|
159
|
+
*/
|
|
160
|
+
export interface NacPortalState {
|
|
161
|
+
/**
|
|
162
|
+
* if `type`==`marvisClient`. enum: `wireless`, `wireless+wired`
|
|
163
|
+
*/
|
|
164
|
+
accessType?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Optional list of additional CA certificates to be used
|
|
167
|
+
*/
|
|
168
|
+
additionalCacerts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
/**
|
|
170
|
+
* Optional list of additional NAC server names
|
|
171
|
+
*/
|
|
172
|
+
additionalNacServerNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
173
|
+
/**
|
|
174
|
+
* In days
|
|
175
|
+
*/
|
|
176
|
+
certExpireTime?: pulumi.Input<number>;
|
|
177
|
+
/**
|
|
178
|
+
* enum: `wpa2`, `wpa3`
|
|
179
|
+
*/
|
|
180
|
+
eapType?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Model, version, fingering, events (connecting, disconnect, roaming), which ap
|
|
183
|
+
*/
|
|
184
|
+
enableTelemetry?: pulumi.Input<boolean>;
|
|
185
|
+
/**
|
|
186
|
+
* In days
|
|
187
|
+
*/
|
|
188
|
+
expiryNotificationTime?: pulumi.Input<number>;
|
|
189
|
+
name?: pulumi.Input<string>;
|
|
190
|
+
/**
|
|
191
|
+
* phase 2
|
|
192
|
+
*/
|
|
193
|
+
notifyExpiry?: pulumi.Input<boolean>;
|
|
194
|
+
orgId?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Guest portal configuration when `type`==`guestPortal`. If
|
|
197
|
+
* * `auth`==`none`, the user is presented with a terms of service and can click and continue.
|
|
198
|
+
* * `auth`==`external`, the user is redirected to an external URL for authentication.
|
|
199
|
+
* * `auth`==`multi`, the user is presented with a choice of authentication methods:
|
|
200
|
+
* - social logins: facebook / google / amazon / microsoft / azure
|
|
201
|
+
* - sponsor
|
|
202
|
+
* - sms: supported provider: twillio
|
|
203
|
+
* - email
|
|
204
|
+
* - sso
|
|
205
|
+
* - userpass: pre created guest list
|
|
206
|
+
*/
|
|
207
|
+
portal?: pulumi.Input<inputs.org.NacPortalPortal>;
|
|
208
|
+
ssid?: pulumi.Input<string>;
|
|
209
|
+
sso?: pulumi.Input<inputs.org.NacPortalSso>;
|
|
210
|
+
tos?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* enum:
|
|
213
|
+
* * `guestAdmin`: NAC-Based Portal Admin for Pre Created Guest Authentication
|
|
214
|
+
* * `guestPortal`: NAC-Based Guest Portal
|
|
215
|
+
* * `marvisClient`
|
|
216
|
+
*/
|
|
217
|
+
type?: pulumi.Input<string>;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* The set of arguments for constructing a NacPortal resource.
|
|
221
|
+
*/
|
|
222
|
+
export interface NacPortalArgs {
|
|
223
|
+
/**
|
|
224
|
+
* if `type`==`marvisClient`. enum: `wireless`, `wireless+wired`
|
|
225
|
+
*/
|
|
226
|
+
accessType?: pulumi.Input<string>;
|
|
227
|
+
/**
|
|
228
|
+
* Optional list of additional CA certificates to be used
|
|
229
|
+
*/
|
|
230
|
+
additionalCacerts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
231
|
+
/**
|
|
232
|
+
* Optional list of additional NAC server names
|
|
233
|
+
*/
|
|
234
|
+
additionalNacServerNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
235
|
+
/**
|
|
236
|
+
* In days
|
|
237
|
+
*/
|
|
238
|
+
certExpireTime?: pulumi.Input<number>;
|
|
239
|
+
/**
|
|
240
|
+
* enum: `wpa2`, `wpa3`
|
|
241
|
+
*/
|
|
242
|
+
eapType?: pulumi.Input<string>;
|
|
243
|
+
/**
|
|
244
|
+
* Model, version, fingering, events (connecting, disconnect, roaming), which ap
|
|
245
|
+
*/
|
|
246
|
+
enableTelemetry?: pulumi.Input<boolean>;
|
|
247
|
+
/**
|
|
248
|
+
* In days
|
|
249
|
+
*/
|
|
250
|
+
expiryNotificationTime?: pulumi.Input<number>;
|
|
251
|
+
name?: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* phase 2
|
|
254
|
+
*/
|
|
255
|
+
notifyExpiry?: pulumi.Input<boolean>;
|
|
256
|
+
orgId: pulumi.Input<string>;
|
|
257
|
+
/**
|
|
258
|
+
* Guest portal configuration when `type`==`guestPortal`. If
|
|
259
|
+
* * `auth`==`none`, the user is presented with a terms of service and can click and continue.
|
|
260
|
+
* * `auth`==`external`, the user is redirected to an external URL for authentication.
|
|
261
|
+
* * `auth`==`multi`, the user is presented with a choice of authentication methods:
|
|
262
|
+
* - social logins: facebook / google / amazon / microsoft / azure
|
|
263
|
+
* - sponsor
|
|
264
|
+
* - sms: supported provider: twillio
|
|
265
|
+
* - email
|
|
266
|
+
* - sso
|
|
267
|
+
* - userpass: pre created guest list
|
|
268
|
+
*/
|
|
269
|
+
portal?: pulumi.Input<inputs.org.NacPortalPortal>;
|
|
270
|
+
ssid?: pulumi.Input<string>;
|
|
271
|
+
sso?: pulumi.Input<inputs.org.NacPortalSso>;
|
|
272
|
+
tos?: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* enum:
|
|
275
|
+
* * `guestAdmin`: NAC-Based Portal Admin for Pre Created Guest Authentication
|
|
276
|
+
* * `guestPortal`: NAC-Based Guest Portal
|
|
277
|
+
* * `marvisClient`
|
|
278
|
+
*/
|
|
279
|
+
type?: pulumi.Input<string>;
|
|
280
|
+
}
|