@pulumi/juniper-mist 0.6.2 → 0.6.3
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/config/vars.d.ts +3 -5
- package/config/vars.js.map +1 -1
- package/device/ap.d.ts +12 -15
- package/device/ap.js +77 -77
- package/device/ap.js.map +1 -1
- package/device/base.js +34 -34
- package/device/base.js.map +1 -1
- package/device/gateway.d.ts +15 -6
- package/device/gateway.js +77 -75
- package/device/gateway.js.map +1 -1
- package/device/gatewayCluster.js +7 -7
- package/device/gatewayCluster.js.map +1 -1
- package/device/image.js +13 -13
- package/device/image.js.map +1 -1
- package/device/switch.d.ts +24 -39
- package/device/switch.js +99 -99
- package/device/switch.js.map +1 -1
- package/org/alarmtemplate.js +12 -12
- package/org/alarmtemplate.js.map +1 -1
- package/org/apitoken.js +13 -13
- package/org/apitoken.js.map +1 -1
- package/org/avprofile.js +17 -17
- package/org/avprofile.js.map +1 -1
- package/org/base.js +13 -13
- package/org/base.js.map +1 -1
- package/org/deviceprofileAp.d.ts +12 -12
- package/org/deviceprofileAp.js +49 -49
- package/org/deviceprofileAp.js.map +1 -1
- package/org/deviceprofileAssign.js +10 -10
- package/org/deviceprofileAssign.js.map +1 -1
- package/org/deviceprofileGateway.d.ts +15 -6
- package/org/deviceprofileGateway.js +55 -53
- package/org/deviceprofileGateway.js.map +1 -1
- package/org/evpnTopology.js +13 -13
- package/org/evpnTopology.js.map +1 -1
- package/org/gatewaytemplate.d.ts +18 -12
- package/org/gatewaytemplate.js +56 -54
- package/org/gatewaytemplate.js.map +1 -1
- package/org/idpprofile.js +11 -11
- package/org/idpprofile.js.map +1 -1
- package/org/inventory.d.ts +15 -9
- package/org/inventory.js +6 -6
- package/org/inventory.js.map +1 -1
- package/org/nacEndpoint.js +17 -17
- package/org/nacEndpoint.js.map +1 -1
- package/org/nacidp.js +57 -57
- package/org/nacidp.js.map +1 -1
- package/org/nacrule.js +22 -22
- package/org/nacrule.js.map +1 -1
- package/org/nactag.d.ts +42 -39
- package/org/nactag.js +35 -35
- package/org/nactag.js.map +1 -1
- package/org/network.js +33 -33
- package/org/network.js.map +1 -1
- package/org/networktemplate.d.ts +6 -15
- package/org/networktemplate.js +50 -50
- package/org/networktemplate.js.map +1 -1
- package/org/psk.js +38 -38
- package/org/psk.js.map +1 -1
- package/org/rftemplate.js +28 -28
- package/org/rftemplate.js.map +1 -1
- package/org/service.d.ts +12 -6
- package/org/service.js +50 -50
- package/org/service.js.map +1 -1
- package/org/servicepolicy.js +28 -28
- package/org/servicepolicy.js.map +1 -1
- package/org/setting.d.ts +27 -42
- package/org/setting.js +70 -70
- package/org/setting.js.map +1 -1
- package/org/sitegroup.js +6 -6
- package/org/sitegroup.js.map +1 -1
- package/org/sso.d.ts +15 -33
- package/org/sso.js +31 -31
- package/org/sso.js.map +1 -1
- package/org/ssoRole.js +9 -9
- package/org/ssoRole.js.map +1 -1
- package/org/vpn.js +12 -12
- package/org/vpn.js.map +1 -1
- package/org/webhook.d.ts +6 -15
- package/org/webhook.js +40 -40
- package/org/webhook.js.map +1 -1
- package/org/wlan.d.ts +69 -93
- package/org/wlan.js +190 -190
- package/org/wlan.js.map +1 -1
- package/org/wlanPortalImage.js +10 -10
- package/org/wlanPortalImage.js.map +1 -1
- package/org/wlanPortalTemplate.js +10 -10
- package/org/wlanPortalTemplate.js.map +1 -1
- package/org/wlantemplate.js +14 -14
- package/org/wlantemplate.js.map +1 -1
- package/org/wxrule.js +27 -27
- package/org/wxrule.js.map +1 -1
- package/org/wxtag.d.ts +60 -36
- package/org/wxtag.js +21 -21
- package/org/wxtag.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +5 -8
- package/provider.js +7 -7
- package/provider.js.map +1 -1
- package/site/base.js +34 -34
- package/site/base.js.map +1 -1
- package/site/evpnTopology.js +14 -14
- package/site/evpnTopology.js.map +1 -1
- package/site/networktemplate.d.ts +3 -9
- package/site/networktemplate.js +52 -52
- package/site/networktemplate.js.map +1 -1
- package/site/psk.js +35 -35
- package/site/psk.js.map +1 -1
- package/site/setting.d.ts +33 -63
- package/site/setting.js +97 -97
- package/site/setting.js.map +1 -1
- package/site/webhook.d.ts +6 -15
- package/site/webhook.js +43 -43
- package/site/webhook.js.map +1 -1
- package/site/wlan.d.ts +69 -93
- package/site/wlan.js +188 -188
- package/site/wlan.js.map +1 -1
- package/site/wlanPortalImage.js +10 -10
- package/site/wlanPortalImage.js.map +1 -1
- package/site/wlanPortalTemplate.js +10 -10
- package/site/wlanPortalTemplate.js.map +1 -1
- package/site/wxrule.js +24 -24
- package/site/wxrule.js.map +1 -1
- package/site/wxtag.d.ts +60 -36
- package/site/wxtag.js +21 -21
- package/site/wxtag.js.map +1 -1
- package/types/output.d.ts +55 -55
- package/upgradeDevice.js +30 -30
- package/upgradeDevice.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
package/org/servicepolicy.js
CHANGED
|
@@ -35,7 +35,7 @@ class Servicepolicy extends pulumi.CustomResource {
|
|
|
35
35
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
36
|
*/
|
|
37
37
|
static get(name, id, state, opts) {
|
|
38
|
-
return new Servicepolicy(name, state,
|
|
38
|
+
return new Servicepolicy(name, state, { ...opts, id: id });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Returns true if the given object is an instance of Servicepolicy. This is designed to work even
|
|
@@ -52,38 +52,38 @@ class Servicepolicy extends pulumi.CustomResource {
|
|
|
52
52
|
opts = opts || {};
|
|
53
53
|
if (opts.id) {
|
|
54
54
|
const state = argsOrState;
|
|
55
|
-
resourceInputs["aamw"] = state
|
|
56
|
-
resourceInputs["action"] = state
|
|
57
|
-
resourceInputs["antivirus"] = state
|
|
58
|
-
resourceInputs["appqoe"] = state
|
|
59
|
-
resourceInputs["ewfs"] = state
|
|
60
|
-
resourceInputs["idp"] = state
|
|
61
|
-
resourceInputs["localRouting"] = state
|
|
62
|
-
resourceInputs["name"] = state
|
|
63
|
-
resourceInputs["orgId"] = state
|
|
64
|
-
resourceInputs["pathPreference"] = state
|
|
65
|
-
resourceInputs["services"] = state
|
|
66
|
-
resourceInputs["sslProxy"] = state
|
|
67
|
-
resourceInputs["tenants"] = state
|
|
55
|
+
resourceInputs["aamw"] = state?.aamw;
|
|
56
|
+
resourceInputs["action"] = state?.action;
|
|
57
|
+
resourceInputs["antivirus"] = state?.antivirus;
|
|
58
|
+
resourceInputs["appqoe"] = state?.appqoe;
|
|
59
|
+
resourceInputs["ewfs"] = state?.ewfs;
|
|
60
|
+
resourceInputs["idp"] = state?.idp;
|
|
61
|
+
resourceInputs["localRouting"] = state?.localRouting;
|
|
62
|
+
resourceInputs["name"] = state?.name;
|
|
63
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
64
|
+
resourceInputs["pathPreference"] = state?.pathPreference;
|
|
65
|
+
resourceInputs["services"] = state?.services;
|
|
66
|
+
resourceInputs["sslProxy"] = state?.sslProxy;
|
|
67
|
+
resourceInputs["tenants"] = state?.tenants;
|
|
68
68
|
}
|
|
69
69
|
else {
|
|
70
70
|
const args = argsOrState;
|
|
71
|
-
if (
|
|
71
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'orgId'");
|
|
73
73
|
}
|
|
74
|
-
resourceInputs["aamw"] = args
|
|
75
|
-
resourceInputs["action"] = args
|
|
76
|
-
resourceInputs["antivirus"] = args
|
|
77
|
-
resourceInputs["appqoe"] = args
|
|
78
|
-
resourceInputs["ewfs"] = args
|
|
79
|
-
resourceInputs["idp"] = args
|
|
80
|
-
resourceInputs["localRouting"] = args
|
|
81
|
-
resourceInputs["name"] = args
|
|
82
|
-
resourceInputs["orgId"] = args
|
|
83
|
-
resourceInputs["pathPreference"] = args
|
|
84
|
-
resourceInputs["services"] = args
|
|
85
|
-
resourceInputs["sslProxy"] = args
|
|
86
|
-
resourceInputs["tenants"] = args
|
|
74
|
+
resourceInputs["aamw"] = args?.aamw;
|
|
75
|
+
resourceInputs["action"] = args?.action;
|
|
76
|
+
resourceInputs["antivirus"] = args?.antivirus;
|
|
77
|
+
resourceInputs["appqoe"] = args?.appqoe;
|
|
78
|
+
resourceInputs["ewfs"] = args?.ewfs;
|
|
79
|
+
resourceInputs["idp"] = args?.idp;
|
|
80
|
+
resourceInputs["localRouting"] = args?.localRouting;
|
|
81
|
+
resourceInputs["name"] = args?.name;
|
|
82
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
83
|
+
resourceInputs["pathPreference"] = args?.pathPreference;
|
|
84
|
+
resourceInputs["services"] = args?.services;
|
|
85
|
+
resourceInputs["sslProxy"] = args?.sslProxy;
|
|
86
|
+
resourceInputs["tenants"] = args?.tenants;
|
|
87
87
|
}
|
|
88
88
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
89
89
|
super(Servicepolicy.__pulumiType, name, resourceInputs, opts);
|
package/org/servicepolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servicepolicy.js","sourceRoot":"","sources":["../../org/servicepolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"servicepolicy.js","sourceRoot":"","sources":["../../org/servicepolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAA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CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9GL,sCA+GC;AAjGG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/org/setting.d.ts
CHANGED
|
@@ -33,8 +33,7 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
33
33
|
*/
|
|
34
34
|
static isInstance(obj: any): obj is Setting;
|
|
35
35
|
/**
|
|
36
|
-
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and
|
|
37
|
-
* `deviceUpdownThreshold` is ignored.
|
|
36
|
+
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `deviceUpdownThreshold` is ignored.
|
|
38
37
|
*/
|
|
39
38
|
readonly apUpdownThreshold: pulumi.Output<number | undefined>;
|
|
40
39
|
readonly apiPolicy: pulumi.Output<outputs.org.SettingApiPolicy | undefined>;
|
|
@@ -50,9 +49,9 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
50
49
|
*/
|
|
51
50
|
readonly deviceCert: pulumi.Output<outputs.org.SettingDeviceCert | undefined>;
|
|
52
51
|
/**
|
|
53
|
-
* Enable threshold-based device down delivery via
|
|
54
|
-
*
|
|
55
|
-
* immediate)
|
|
52
|
+
* Enable threshold-based device down delivery via
|
|
53
|
+
* * device-updowns webhooks topic,
|
|
54
|
+
* * Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 240, default is 0 (trigger immediate)
|
|
56
55
|
*/
|
|
57
56
|
readonly deviceUpdownThreshold: pulumi.Output<number | undefined>;
|
|
58
57
|
/**
|
|
@@ -64,8 +63,7 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
64
63
|
*/
|
|
65
64
|
readonly disableRemoteShell: pulumi.Output<boolean | undefined>;
|
|
66
65
|
/**
|
|
67
|
-
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and
|
|
68
|
-
* `deviceUpdownThreshold` is ignored.
|
|
66
|
+
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `deviceUpdownThreshold` is ignored.
|
|
69
67
|
*/
|
|
70
68
|
readonly gatewayUpdownThreshold: pulumi.Output<number | undefined>;
|
|
71
69
|
readonly installer: pulumi.Output<outputs.org.SettingInstaller | undefined>;
|
|
@@ -76,11 +74,9 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
76
74
|
readonly jcloudRa: pulumi.Output<outputs.org.SettingJcloudRa | undefined>;
|
|
77
75
|
readonly juniper: pulumi.Output<outputs.org.SettingJuniper>;
|
|
78
76
|
/**
|
|
79
|
-
* junos_shell_access: Manages role-based web-shell access.
|
|
80
|
-
* users are configured and web-shell uses default `mist` user to login.
|
|
81
|
-
* users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell
|
|
82
|
-
* logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access
|
|
83
|
-
* level to "none", disables web-shell access for that specific role.
|
|
77
|
+
* junos_shell_access: Manages role-based web-shell access.
|
|
78
|
+
* When junosShell access is not defined (Default) - No additional users are configured and web-shell uses default `mist` user to login.
|
|
79
|
+
* When junosShellAccess is defined - Additional users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access level to "none", disables web-shell access for that specific role.
|
|
84
80
|
*/
|
|
85
81
|
readonly junosShellAccess: pulumi.Output<outputs.org.SettingJunosShellAccess | undefined>;
|
|
86
82
|
readonly marvis: pulumi.Output<outputs.org.SettingMarvis | undefined>;
|
|
@@ -107,8 +103,7 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
107
103
|
readonly switch: pulumi.Output<outputs.org.SettingSwitch | undefined>;
|
|
108
104
|
readonly switchMgmt: pulumi.Output<outputs.org.SettingSwitchMgmt | undefined>;
|
|
109
105
|
/**
|
|
110
|
-
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and
|
|
111
|
-
* `deviceUpdownThreshold` is ignored.
|
|
106
|
+
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `deviceUpdownThreshold` is ignored.
|
|
112
107
|
*/
|
|
113
108
|
readonly switchUpdownThreshold: pulumi.Output<number | undefined>;
|
|
114
109
|
readonly syntheticTest: pulumi.Output<outputs.org.SettingSyntheticTest | undefined>;
|
|
@@ -134,8 +129,7 @@ export declare class Setting extends pulumi.CustomResource {
|
|
|
134
129
|
*/
|
|
135
130
|
export interface SettingState {
|
|
136
131
|
/**
|
|
137
|
-
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and
|
|
138
|
-
* `deviceUpdownThreshold` is ignored.
|
|
132
|
+
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `deviceUpdownThreshold` is ignored.
|
|
139
133
|
*/
|
|
140
134
|
apUpdownThreshold?: pulumi.Input<number>;
|
|
141
135
|
apiPolicy?: pulumi.Input<inputs.org.SettingApiPolicy>;
|
|
@@ -151,9 +145,9 @@ export interface SettingState {
|
|
|
151
145
|
*/
|
|
152
146
|
deviceCert?: pulumi.Input<inputs.org.SettingDeviceCert>;
|
|
153
147
|
/**
|
|
154
|
-
* Enable threshold-based device down delivery via
|
|
155
|
-
*
|
|
156
|
-
* immediate)
|
|
148
|
+
* Enable threshold-based device down delivery via
|
|
149
|
+
* * device-updowns webhooks topic,
|
|
150
|
+
* * Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 240, default is 0 (trigger immediate)
|
|
157
151
|
*/
|
|
158
152
|
deviceUpdownThreshold?: pulumi.Input<number>;
|
|
159
153
|
/**
|
|
@@ -165,8 +159,7 @@ export interface SettingState {
|
|
|
165
159
|
*/
|
|
166
160
|
disableRemoteShell?: pulumi.Input<boolean>;
|
|
167
161
|
/**
|
|
168
|
-
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and
|
|
169
|
-
* `deviceUpdownThreshold` is ignored.
|
|
162
|
+
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `deviceUpdownThreshold` is ignored.
|
|
170
163
|
*/
|
|
171
164
|
gatewayUpdownThreshold?: pulumi.Input<number>;
|
|
172
165
|
installer?: pulumi.Input<inputs.org.SettingInstaller>;
|
|
@@ -177,11 +170,9 @@ export interface SettingState {
|
|
|
177
170
|
jcloudRa?: pulumi.Input<inputs.org.SettingJcloudRa>;
|
|
178
171
|
juniper?: pulumi.Input<inputs.org.SettingJuniper>;
|
|
179
172
|
/**
|
|
180
|
-
* junos_shell_access: Manages role-based web-shell access.
|
|
181
|
-
* users are configured and web-shell uses default `mist` user to login.
|
|
182
|
-
* users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell
|
|
183
|
-
* logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access
|
|
184
|
-
* level to "none", disables web-shell access for that specific role.
|
|
173
|
+
* junos_shell_access: Manages role-based web-shell access.
|
|
174
|
+
* When junosShell access is not defined (Default) - No additional users are configured and web-shell uses default `mist` user to login.
|
|
175
|
+
* When junosShellAccess is defined - Additional users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access level to "none", disables web-shell access for that specific role.
|
|
185
176
|
*/
|
|
186
177
|
junosShellAccess?: pulumi.Input<inputs.org.SettingJunosShellAccess>;
|
|
187
178
|
marvis?: pulumi.Input<inputs.org.SettingMarvis>;
|
|
@@ -208,8 +199,7 @@ export interface SettingState {
|
|
|
208
199
|
switch?: pulumi.Input<inputs.org.SettingSwitch>;
|
|
209
200
|
switchMgmt?: pulumi.Input<inputs.org.SettingSwitchMgmt>;
|
|
210
201
|
/**
|
|
211
|
-
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and
|
|
212
|
-
* `deviceUpdownThreshold` is ignored.
|
|
202
|
+
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `deviceUpdownThreshold` is ignored.
|
|
213
203
|
*/
|
|
214
204
|
switchUpdownThreshold?: pulumi.Input<number>;
|
|
215
205
|
syntheticTest?: pulumi.Input<inputs.org.SettingSyntheticTest>;
|
|
@@ -227,8 +217,7 @@ export interface SettingState {
|
|
|
227
217
|
*/
|
|
228
218
|
export interface SettingArgs {
|
|
229
219
|
/**
|
|
230
|
-
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and
|
|
231
|
-
* `deviceUpdownThreshold` is ignored.
|
|
220
|
+
* Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and `deviceUpdownThreshold` is ignored.
|
|
232
221
|
*/
|
|
233
222
|
apUpdownThreshold?: pulumi.Input<number>;
|
|
234
223
|
apiPolicy?: pulumi.Input<inputs.org.SettingApiPolicy>;
|
|
@@ -243,9 +232,9 @@ export interface SettingArgs {
|
|
|
243
232
|
*/
|
|
244
233
|
deviceCert?: pulumi.Input<inputs.org.SettingDeviceCert>;
|
|
245
234
|
/**
|
|
246
|
-
* Enable threshold-based device down delivery via
|
|
247
|
-
*
|
|
248
|
-
* immediate)
|
|
235
|
+
* Enable threshold-based device down delivery via
|
|
236
|
+
* * device-updowns webhooks topic,
|
|
237
|
+
* * Mist Alert Framework; e.g. send AP/SW/GW down event only if AP/SW/GW Up is not seen within the threshold in minutes; 0 - 240, default is 0 (trigger immediate)
|
|
249
238
|
*/
|
|
250
239
|
deviceUpdownThreshold?: pulumi.Input<number>;
|
|
251
240
|
/**
|
|
@@ -257,8 +246,7 @@ export interface SettingArgs {
|
|
|
257
246
|
*/
|
|
258
247
|
disableRemoteShell?: pulumi.Input<boolean>;
|
|
259
248
|
/**
|
|
260
|
-
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and
|
|
261
|
-
* `deviceUpdownThreshold` is ignored.
|
|
249
|
+
* Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and `deviceUpdownThreshold` is ignored.
|
|
262
250
|
*/
|
|
263
251
|
gatewayUpdownThreshold?: pulumi.Input<number>;
|
|
264
252
|
installer?: pulumi.Input<inputs.org.SettingInstaller>;
|
|
@@ -268,11 +256,9 @@ export interface SettingArgs {
|
|
|
268
256
|
*/
|
|
269
257
|
jcloudRa?: pulumi.Input<inputs.org.SettingJcloudRa>;
|
|
270
258
|
/**
|
|
271
|
-
* junos_shell_access: Manages role-based web-shell access.
|
|
272
|
-
* users are configured and web-shell uses default `mist` user to login.
|
|
273
|
-
* users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell
|
|
274
|
-
* logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access
|
|
275
|
-
* level to "none", disables web-shell access for that specific role.
|
|
259
|
+
* junos_shell_access: Manages role-based web-shell access.
|
|
260
|
+
* When junosShell access is not defined (Default) - No additional users are configured and web-shell uses default `mist` user to login.
|
|
261
|
+
* When junosShellAccess is defined - Additional users mist-web-admin (admin permission), mist-web-viewer(viewer permission) are configured on the device and web-shell logs in with the mist-web-admin/mist-web-viewer user depending upon the shell access level. Setting the shell access level to "none", disables web-shell access for that specific role.
|
|
276
262
|
*/
|
|
277
263
|
junosShellAccess?: pulumi.Input<inputs.org.SettingJunosShellAccess>;
|
|
278
264
|
marvis?: pulumi.Input<inputs.org.SettingMarvis>;
|
|
@@ -299,8 +285,7 @@ export interface SettingArgs {
|
|
|
299
285
|
switch?: pulumi.Input<inputs.org.SettingSwitch>;
|
|
300
286
|
switchMgmt?: pulumi.Input<inputs.org.SettingSwitchMgmt>;
|
|
301
287
|
/**
|
|
302
|
-
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and
|
|
303
|
-
* `deviceUpdownThreshold` is ignored.
|
|
288
|
+
* Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and `deviceUpdownThreshold` is ignored.
|
|
304
289
|
*/
|
|
305
290
|
switchUpdownThreshold?: pulumi.Input<number>;
|
|
306
291
|
syntheticTest?: pulumi.Input<inputs.org.SettingSyntheticTest>;
|
package/org/setting.js
CHANGED
|
@@ -31,7 +31,7 @@ class Setting extends pulumi.CustomResource {
|
|
|
31
31
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
32
|
*/
|
|
33
33
|
static get(name, id, state, opts) {
|
|
34
|
-
return new Setting(name, state,
|
|
34
|
+
return new Setting(name, state, { ...opts, id: id });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Returns true if the given object is an instance of Setting. This is designed to work even
|
|
@@ -48,80 +48,80 @@ class Setting extends pulumi.CustomResource {
|
|
|
48
48
|
opts = opts || {};
|
|
49
49
|
if (opts.id) {
|
|
50
50
|
const state = argsOrState;
|
|
51
|
-
resourceInputs["apUpdownThreshold"] = state
|
|
52
|
-
resourceInputs["apiPolicy"] = state
|
|
53
|
-
resourceInputs["cacerts"] = state
|
|
54
|
-
resourceInputs["celona"] = state
|
|
55
|
-
resourceInputs["cloudshark"] = state
|
|
56
|
-
resourceInputs["cradlepoint"] = state
|
|
57
|
-
resourceInputs["deviceCert"] = state
|
|
58
|
-
resourceInputs["deviceUpdownThreshold"] = state
|
|
59
|
-
resourceInputs["disablePcap"] = state
|
|
60
|
-
resourceInputs["disableRemoteShell"] = state
|
|
61
|
-
resourceInputs["gatewayUpdownThreshold"] = state
|
|
62
|
-
resourceInputs["installer"] = state
|
|
63
|
-
resourceInputs["jcloud"] = state
|
|
64
|
-
resourceInputs["jcloudRa"] = state
|
|
65
|
-
resourceInputs["juniper"] = state
|
|
66
|
-
resourceInputs["junosShellAccess"] = state
|
|
67
|
-
resourceInputs["marvis"] = state
|
|
68
|
-
resourceInputs["mgmt"] = state
|
|
69
|
-
resourceInputs["mistNac"] = state
|
|
70
|
-
resourceInputs["mxedgeMgmt"] = state
|
|
71
|
-
resourceInputs["opticPortConfig"] = state
|
|
72
|
-
resourceInputs["orgId"] = state
|
|
73
|
-
resourceInputs["passwordPolicy"] = state
|
|
74
|
-
resourceInputs["pcap"] = state
|
|
75
|
-
resourceInputs["security"] = state
|
|
76
|
-
resourceInputs["ssr"] = state
|
|
77
|
-
resourceInputs["switch"] = state
|
|
78
|
-
resourceInputs["switchMgmt"] = state
|
|
79
|
-
resourceInputs["switchUpdownThreshold"] = state
|
|
80
|
-
resourceInputs["syntheticTest"] = state
|
|
81
|
-
resourceInputs["uiIdleTimeout"] = state
|
|
82
|
-
resourceInputs["vpnOptions"] = state
|
|
83
|
-
resourceInputs["wanPma"] = state
|
|
84
|
-
resourceInputs["wiredPma"] = state
|
|
85
|
-
resourceInputs["wirelessPma"] = state
|
|
51
|
+
resourceInputs["apUpdownThreshold"] = state?.apUpdownThreshold;
|
|
52
|
+
resourceInputs["apiPolicy"] = state?.apiPolicy;
|
|
53
|
+
resourceInputs["cacerts"] = state?.cacerts;
|
|
54
|
+
resourceInputs["celona"] = state?.celona;
|
|
55
|
+
resourceInputs["cloudshark"] = state?.cloudshark;
|
|
56
|
+
resourceInputs["cradlepoint"] = state?.cradlepoint;
|
|
57
|
+
resourceInputs["deviceCert"] = state?.deviceCert;
|
|
58
|
+
resourceInputs["deviceUpdownThreshold"] = state?.deviceUpdownThreshold;
|
|
59
|
+
resourceInputs["disablePcap"] = state?.disablePcap;
|
|
60
|
+
resourceInputs["disableRemoteShell"] = state?.disableRemoteShell;
|
|
61
|
+
resourceInputs["gatewayUpdownThreshold"] = state?.gatewayUpdownThreshold;
|
|
62
|
+
resourceInputs["installer"] = state?.installer;
|
|
63
|
+
resourceInputs["jcloud"] = state?.jcloud;
|
|
64
|
+
resourceInputs["jcloudRa"] = state?.jcloudRa;
|
|
65
|
+
resourceInputs["juniper"] = state?.juniper;
|
|
66
|
+
resourceInputs["junosShellAccess"] = state?.junosShellAccess;
|
|
67
|
+
resourceInputs["marvis"] = state?.marvis;
|
|
68
|
+
resourceInputs["mgmt"] = state?.mgmt;
|
|
69
|
+
resourceInputs["mistNac"] = state?.mistNac;
|
|
70
|
+
resourceInputs["mxedgeMgmt"] = state?.mxedgeMgmt;
|
|
71
|
+
resourceInputs["opticPortConfig"] = state?.opticPortConfig;
|
|
72
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
73
|
+
resourceInputs["passwordPolicy"] = state?.passwordPolicy;
|
|
74
|
+
resourceInputs["pcap"] = state?.pcap;
|
|
75
|
+
resourceInputs["security"] = state?.security;
|
|
76
|
+
resourceInputs["ssr"] = state?.ssr;
|
|
77
|
+
resourceInputs["switch"] = state?.switch;
|
|
78
|
+
resourceInputs["switchMgmt"] = state?.switchMgmt;
|
|
79
|
+
resourceInputs["switchUpdownThreshold"] = state?.switchUpdownThreshold;
|
|
80
|
+
resourceInputs["syntheticTest"] = state?.syntheticTest;
|
|
81
|
+
resourceInputs["uiIdleTimeout"] = state?.uiIdleTimeout;
|
|
82
|
+
resourceInputs["vpnOptions"] = state?.vpnOptions;
|
|
83
|
+
resourceInputs["wanPma"] = state?.wanPma;
|
|
84
|
+
resourceInputs["wiredPma"] = state?.wiredPma;
|
|
85
|
+
resourceInputs["wirelessPma"] = state?.wirelessPma;
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
88
88
|
const args = argsOrState;
|
|
89
|
-
if (
|
|
89
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
90
90
|
throw new Error("Missing required property 'orgId'");
|
|
91
91
|
}
|
|
92
|
-
resourceInputs["apUpdownThreshold"] = args
|
|
93
|
-
resourceInputs["apiPolicy"] = args
|
|
94
|
-
resourceInputs["cacerts"] = args
|
|
95
|
-
resourceInputs["celona"] = args
|
|
96
|
-
resourceInputs["cloudshark"] = args
|
|
97
|
-
resourceInputs["deviceCert"] = args
|
|
98
|
-
resourceInputs["deviceUpdownThreshold"] = args
|
|
99
|
-
resourceInputs["disablePcap"] = args
|
|
100
|
-
resourceInputs["disableRemoteShell"] = args
|
|
101
|
-
resourceInputs["gatewayUpdownThreshold"] = args
|
|
102
|
-
resourceInputs["installer"] = args
|
|
103
|
-
resourceInputs["jcloud"] = args
|
|
104
|
-
resourceInputs["jcloudRa"] = args
|
|
105
|
-
resourceInputs["junosShellAccess"] = args
|
|
106
|
-
resourceInputs["marvis"] = args
|
|
107
|
-
resourceInputs["mgmt"] = args
|
|
108
|
-
resourceInputs["mistNac"] = args
|
|
109
|
-
resourceInputs["mxedgeMgmt"] = args
|
|
110
|
-
resourceInputs["opticPortConfig"] = args
|
|
111
|
-
resourceInputs["orgId"] = args
|
|
112
|
-
resourceInputs["passwordPolicy"] = args
|
|
113
|
-
resourceInputs["pcap"] = args
|
|
114
|
-
resourceInputs["security"] = args
|
|
115
|
-
resourceInputs["ssr"] = args
|
|
116
|
-
resourceInputs["switch"] = args
|
|
117
|
-
resourceInputs["switchMgmt"] = args
|
|
118
|
-
resourceInputs["switchUpdownThreshold"] = args
|
|
119
|
-
resourceInputs["syntheticTest"] = args
|
|
120
|
-
resourceInputs["uiIdleTimeout"] = args
|
|
121
|
-
resourceInputs["vpnOptions"] = args
|
|
122
|
-
resourceInputs["wanPma"] = args
|
|
123
|
-
resourceInputs["wiredPma"] = args
|
|
124
|
-
resourceInputs["wirelessPma"] = args
|
|
92
|
+
resourceInputs["apUpdownThreshold"] = args?.apUpdownThreshold;
|
|
93
|
+
resourceInputs["apiPolicy"] = args?.apiPolicy;
|
|
94
|
+
resourceInputs["cacerts"] = args?.cacerts;
|
|
95
|
+
resourceInputs["celona"] = args?.celona;
|
|
96
|
+
resourceInputs["cloudshark"] = args?.cloudshark;
|
|
97
|
+
resourceInputs["deviceCert"] = args?.deviceCert;
|
|
98
|
+
resourceInputs["deviceUpdownThreshold"] = args?.deviceUpdownThreshold;
|
|
99
|
+
resourceInputs["disablePcap"] = args?.disablePcap;
|
|
100
|
+
resourceInputs["disableRemoteShell"] = args?.disableRemoteShell;
|
|
101
|
+
resourceInputs["gatewayUpdownThreshold"] = args?.gatewayUpdownThreshold;
|
|
102
|
+
resourceInputs["installer"] = args?.installer;
|
|
103
|
+
resourceInputs["jcloud"] = args?.jcloud;
|
|
104
|
+
resourceInputs["jcloudRa"] = args?.jcloudRa;
|
|
105
|
+
resourceInputs["junosShellAccess"] = args?.junosShellAccess;
|
|
106
|
+
resourceInputs["marvis"] = args?.marvis;
|
|
107
|
+
resourceInputs["mgmt"] = args?.mgmt;
|
|
108
|
+
resourceInputs["mistNac"] = args?.mistNac;
|
|
109
|
+
resourceInputs["mxedgeMgmt"] = args?.mxedgeMgmt;
|
|
110
|
+
resourceInputs["opticPortConfig"] = args?.opticPortConfig;
|
|
111
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
112
|
+
resourceInputs["passwordPolicy"] = args?.passwordPolicy;
|
|
113
|
+
resourceInputs["pcap"] = args?.pcap;
|
|
114
|
+
resourceInputs["security"] = args?.security;
|
|
115
|
+
resourceInputs["ssr"] = args?.ssr;
|
|
116
|
+
resourceInputs["switch"] = args?.switch;
|
|
117
|
+
resourceInputs["switchMgmt"] = args?.switchMgmt;
|
|
118
|
+
resourceInputs["switchUpdownThreshold"] = args?.switchUpdownThreshold;
|
|
119
|
+
resourceInputs["syntheticTest"] = args?.syntheticTest;
|
|
120
|
+
resourceInputs["uiIdleTimeout"] = args?.uiIdleTimeout;
|
|
121
|
+
resourceInputs["vpnOptions"] = args?.vpnOptions;
|
|
122
|
+
resourceInputs["wanPma"] = args?.wanPma;
|
|
123
|
+
resourceInputs["wiredPma"] = args?.wiredPma;
|
|
124
|
+
resourceInputs["wirelessPma"] = args?.wirelessPma;
|
|
125
125
|
resourceInputs["cradlepoint"] = undefined /*out*/;
|
|
126
126
|
resourceInputs["juniper"] = undefined /*out*/;
|
|
127
127
|
}
|
package/org/setting.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.js","sourceRoot":"","sources":["../../org/setting.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAc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CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAzML,0BA0MC;AA5LG,gBAAgB;AACO,oBAAY,GAAG,iCAAiC,CAAC"}
|
package/org/sitegroup.js
CHANGED
|
@@ -44,7 +44,7 @@ class Sitegroup extends pulumi.CustomResource {
|
|
|
44
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
45
|
*/
|
|
46
46
|
static get(name, id, state, opts) {
|
|
47
|
-
return new Sitegroup(name, state,
|
|
47
|
+
return new Sitegroup(name, state, { ...opts, id: id });
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Returns true if the given object is an instance of Sitegroup. This is designed to work even
|
|
@@ -61,16 +61,16 @@ class Sitegroup extends pulumi.CustomResource {
|
|
|
61
61
|
opts = opts || {};
|
|
62
62
|
if (opts.id) {
|
|
63
63
|
const state = argsOrState;
|
|
64
|
-
resourceInputs["name"] = state
|
|
65
|
-
resourceInputs["orgId"] = state
|
|
64
|
+
resourceInputs["name"] = state?.name;
|
|
65
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
66
66
|
}
|
|
67
67
|
else {
|
|
68
68
|
const args = argsOrState;
|
|
69
|
-
if (
|
|
69
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
70
70
|
throw new Error("Missing required property 'orgId'");
|
|
71
71
|
}
|
|
72
|
-
resourceInputs["name"] = args
|
|
73
|
-
resourceInputs["orgId"] = args
|
|
72
|
+
resourceInputs["name"] = args?.name;
|
|
73
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
74
74
|
}
|
|
75
75
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
76
|
super(Sitegroup.__pulumiType, name, resourceInputs, opts);
|
package/org/sitegroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sitegroup.js","sourceRoot":"","sources":["../../org/sitegroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"sitegroup.js","sourceRoot":"","sources":["../../org/sitegroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,SAAU,SAAQ,M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