@pulumi/juniper-mist 0.2.2 → 0.2.3-alpha.1740713631
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/ap.d.ts +75 -54
- package/device/ap.js +2 -0
- package/device/ap.js.map +1 -1
- package/device/base.d.ts +1 -1
- package/device/base.js +1 -1
- package/device/gateway.d.ts +24 -24
- package/device/image.d.ts +1 -1
- package/device/image.js +1 -1
- package/device/switch.d.ts +39 -39
- package/org/avprofile.d.ts +128 -0
- package/org/avprofile.js +111 -0
- package/org/avprofile.js.map +1 -0
- package/org/deviceprofileAp.d.ts +36 -30
- package/org/deviceprofileAp.js.map +1 -1
- package/org/deviceprofileGateway.d.ts +9 -9
- package/org/gatewaytemplate.d.ts +9 -9
- package/org/getAvprofiles.d.ts +71 -0
- package/org/getAvprofiles.js +66 -0
- package/org/getAvprofiles.js.map +1 -0
- package/org/getSsoRoles.d.ts +2 -2
- package/org/getSsoRoles.js +2 -2
- package/org/index.d.ts +6 -0
- package/org/index.js +10 -2
- package/org/index.js.map +1 -1
- package/org/inventory.d.ts +4 -4
- package/org/inventory.js +1 -1
- package/org/nactag.d.ts +54 -39
- package/org/nactag.js +2 -0
- package/org/nactag.js.map +1 -1
- package/org/networktemplate.d.ts +12 -12
- package/org/rftemplate.d.ts +6 -6
- package/org/servicepolicy.d.ts +29 -8
- package/org/servicepolicy.js +5 -1
- package/org/servicepolicy.js.map +1 -1
- package/org/setting.d.ts +24 -24
- package/org/sso.d.ts +11 -11
- package/org/ssoRole.d.ts +1 -1
- package/org/ssoRole.js +1 -1
- package/org/webhook.d.ts +39 -42
- package/org/webhook.js.map +1 -1
- package/org/wlan.d.ts +233 -233
- package/org/wlanPortalTemplate.d.ts +3 -3
- package/package.json +2 -2
- package/site/base.d.ts +1 -1
- package/site/base.js +1 -1
- package/site/networktemplate.d.ts +15 -15
- package/site/setting.d.ts +49 -49
- package/site/setting.js +1 -1
- package/site/webhook.d.ts +39 -42
- package/site/webhook.js.map +1 -1
- package/site/wlan.d.ts +233 -233
- package/site/wlanPortalTemplate.d.ts +3 -3
- package/types/input.d.ts +1394 -1276
- package/types/output.d.ts +1732 -1575
package/device/switch.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
49
49
|
readonly dhcpSnooping: pulumi.Output<outputs.device.SwitchDhcpSnooping | undefined>;
|
|
50
50
|
readonly dhcpdConfig: pulumi.Output<outputs.device.SwitchDhcpdConfig | undefined>;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* For a claimed switch, we control the configs by default. This option (disables the behavior)
|
|
53
53
|
*/
|
|
54
54
|
readonly disableAutoConfig: pulumi.Output<boolean>;
|
|
55
55
|
/**
|
|
@@ -84,23 +84,23 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
84
84
|
[key: string]: outputs.device.SwitchLocalPortConfig;
|
|
85
85
|
} | undefined>;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Device MAC address
|
|
88
88
|
*/
|
|
89
89
|
readonly mac: pulumi.Output<string>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* For an adopted switch, we don’t overwrite their existing configs automatically
|
|
92
92
|
*/
|
|
93
93
|
readonly managed: pulumi.Output<boolean>;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Map where the device belongs to
|
|
96
96
|
*/
|
|
97
97
|
readonly mapId: pulumi.Output<string | undefined>;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Enable mistNac to use RadSec
|
|
100
100
|
*/
|
|
101
101
|
readonly mistNac: pulumi.Output<outputs.device.SwitchMistNac | undefined>;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Device Model
|
|
104
104
|
*/
|
|
105
105
|
readonly model: pulumi.Output<string>;
|
|
106
106
|
readonly name: pulumi.Output<string>;
|
|
@@ -112,7 +112,7 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
112
112
|
} | undefined>;
|
|
113
113
|
readonly notes: pulumi.Output<string | undefined>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* List of NTP servers specific to this device. By default, those in Site Settings will be used
|
|
116
116
|
*/
|
|
117
117
|
readonly ntpServers: pulumi.Output<string[] | undefined>;
|
|
118
118
|
/**
|
|
@@ -160,11 +160,11 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
160
160
|
readonly remoteSyslog: pulumi.Output<outputs.device.SwitchRemoteSyslog | undefined>;
|
|
161
161
|
readonly role: pulumi.Output<string | undefined>;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* Used for OSPF / BGP / EVPN
|
|
164
164
|
*/
|
|
165
165
|
readonly routerId: pulumi.Output<string>;
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Device Serial
|
|
168
168
|
*/
|
|
169
169
|
readonly serial: pulumi.Output<string>;
|
|
170
170
|
readonly siteId: pulumi.Output<string>;
|
|
@@ -179,17 +179,17 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
179
179
|
*/
|
|
180
180
|
readonly type: pulumi.Output<string>;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* Whether to use it for snmp / syslog / tacplus / radius
|
|
183
183
|
*/
|
|
184
184
|
readonly useRouterIdAsSourceIp: pulumi.Output<boolean>;
|
|
185
185
|
/**
|
|
186
|
-
*
|
|
186
|
+
* Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
|
|
187
187
|
*/
|
|
188
188
|
readonly vars: pulumi.Output<{
|
|
189
189
|
[key: string]: string;
|
|
190
190
|
} | undefined>;
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
192
|
+
* Required for preprovisioned Virtual Chassis
|
|
193
193
|
*/
|
|
194
194
|
readonly virtualChassis: pulumi.Output<outputs.device.SwitchVirtualChassis | undefined>;
|
|
195
195
|
readonly vrfConfig: pulumi.Output<outputs.device.SwitchVrfConfig | undefined>;
|
|
@@ -204,11 +204,11 @@ export declare class Switch extends pulumi.CustomResource {
|
|
|
204
204
|
*/
|
|
205
205
|
readonly vrrpConfig: pulumi.Output<outputs.device.SwitchVrrpConfig | undefined>;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* X in pixel
|
|
208
208
|
*/
|
|
209
209
|
readonly x: pulumi.Output<number | undefined>;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Y in pixel
|
|
212
212
|
*/
|
|
213
213
|
readonly y: pulumi.Output<number | undefined>;
|
|
214
214
|
/**
|
|
@@ -239,7 +239,7 @@ export interface SwitchState {
|
|
|
239
239
|
dhcpSnooping?: pulumi.Input<inputs.device.SwitchDhcpSnooping>;
|
|
240
240
|
dhcpdConfig?: pulumi.Input<inputs.device.SwitchDhcpdConfig>;
|
|
241
241
|
/**
|
|
242
|
-
*
|
|
242
|
+
* For a claimed switch, we control the configs by default. This option (disables the behavior)
|
|
243
243
|
*/
|
|
244
244
|
disableAutoConfig?: pulumi.Input<boolean>;
|
|
245
245
|
/**
|
|
@@ -274,23 +274,23 @@ export interface SwitchState {
|
|
|
274
274
|
[key: string]: pulumi.Input<inputs.device.SwitchLocalPortConfig>;
|
|
275
275
|
}>;
|
|
276
276
|
/**
|
|
277
|
-
*
|
|
277
|
+
* Device MAC address
|
|
278
278
|
*/
|
|
279
279
|
mac?: pulumi.Input<string>;
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* For an adopted switch, we don’t overwrite their existing configs automatically
|
|
282
282
|
*/
|
|
283
283
|
managed?: pulumi.Input<boolean>;
|
|
284
284
|
/**
|
|
285
|
-
*
|
|
285
|
+
* Map where the device belongs to
|
|
286
286
|
*/
|
|
287
287
|
mapId?: pulumi.Input<string>;
|
|
288
288
|
/**
|
|
289
|
-
*
|
|
289
|
+
* Enable mistNac to use RadSec
|
|
290
290
|
*/
|
|
291
291
|
mistNac?: pulumi.Input<inputs.device.SwitchMistNac>;
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* Device Model
|
|
294
294
|
*/
|
|
295
295
|
model?: pulumi.Input<string>;
|
|
296
296
|
name?: pulumi.Input<string>;
|
|
@@ -302,7 +302,7 @@ export interface SwitchState {
|
|
|
302
302
|
}>;
|
|
303
303
|
notes?: pulumi.Input<string>;
|
|
304
304
|
/**
|
|
305
|
-
*
|
|
305
|
+
* List of NTP servers specific to this device. By default, those in Site Settings will be used
|
|
306
306
|
*/
|
|
307
307
|
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
308
308
|
/**
|
|
@@ -350,11 +350,11 @@ export interface SwitchState {
|
|
|
350
350
|
remoteSyslog?: pulumi.Input<inputs.device.SwitchRemoteSyslog>;
|
|
351
351
|
role?: pulumi.Input<string>;
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* Used for OSPF / BGP / EVPN
|
|
354
354
|
*/
|
|
355
355
|
routerId?: pulumi.Input<string>;
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* Device Serial
|
|
358
358
|
*/
|
|
359
359
|
serial?: pulumi.Input<string>;
|
|
360
360
|
siteId?: pulumi.Input<string>;
|
|
@@ -369,17 +369,17 @@ export interface SwitchState {
|
|
|
369
369
|
*/
|
|
370
370
|
type?: pulumi.Input<string>;
|
|
371
371
|
/**
|
|
372
|
-
*
|
|
372
|
+
* Whether to use it for snmp / syslog / tacplus / radius
|
|
373
373
|
*/
|
|
374
374
|
useRouterIdAsSourceIp?: pulumi.Input<boolean>;
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
|
|
377
377
|
*/
|
|
378
378
|
vars?: pulumi.Input<{
|
|
379
379
|
[key: string]: pulumi.Input<string>;
|
|
380
380
|
}>;
|
|
381
381
|
/**
|
|
382
|
-
*
|
|
382
|
+
* Required for preprovisioned Virtual Chassis
|
|
383
383
|
*/
|
|
384
384
|
virtualChassis?: pulumi.Input<inputs.device.SwitchVirtualChassis>;
|
|
385
385
|
vrfConfig?: pulumi.Input<inputs.device.SwitchVrfConfig>;
|
|
@@ -394,11 +394,11 @@ export interface SwitchState {
|
|
|
394
394
|
*/
|
|
395
395
|
vrrpConfig?: pulumi.Input<inputs.device.SwitchVrrpConfig>;
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* X in pixel
|
|
398
398
|
*/
|
|
399
399
|
x?: pulumi.Input<number>;
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* Y in pixel
|
|
402
402
|
*/
|
|
403
403
|
y?: pulumi.Input<number>;
|
|
404
404
|
}
|
|
@@ -421,7 +421,7 @@ export interface SwitchArgs {
|
|
|
421
421
|
dhcpSnooping?: pulumi.Input<inputs.device.SwitchDhcpSnooping>;
|
|
422
422
|
dhcpdConfig?: pulumi.Input<inputs.device.SwitchDhcpdConfig>;
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* For a claimed switch, we control the configs by default. This option (disables the behavior)
|
|
425
425
|
*/
|
|
426
426
|
disableAutoConfig?: pulumi.Input<boolean>;
|
|
427
427
|
/**
|
|
@@ -453,15 +453,15 @@ export interface SwitchArgs {
|
|
|
453
453
|
[key: string]: pulumi.Input<inputs.device.SwitchLocalPortConfig>;
|
|
454
454
|
}>;
|
|
455
455
|
/**
|
|
456
|
-
*
|
|
456
|
+
* For an adopted switch, we don’t overwrite their existing configs automatically
|
|
457
457
|
*/
|
|
458
458
|
managed?: pulumi.Input<boolean>;
|
|
459
459
|
/**
|
|
460
|
-
*
|
|
460
|
+
* Map where the device belongs to
|
|
461
461
|
*/
|
|
462
462
|
mapId?: pulumi.Input<string>;
|
|
463
463
|
/**
|
|
464
|
-
*
|
|
464
|
+
* Enable mistNac to use RadSec
|
|
465
465
|
*/
|
|
466
466
|
mistNac?: pulumi.Input<inputs.device.SwitchMistNac>;
|
|
467
467
|
name?: pulumi.Input<string>;
|
|
@@ -473,7 +473,7 @@ export interface SwitchArgs {
|
|
|
473
473
|
}>;
|
|
474
474
|
notes?: pulumi.Input<string>;
|
|
475
475
|
/**
|
|
476
|
-
*
|
|
476
|
+
* List of NTP servers specific to this device. By default, those in Site Settings will be used
|
|
477
477
|
*/
|
|
478
478
|
ntpServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
479
479
|
/**
|
|
@@ -520,7 +520,7 @@ export interface SwitchArgs {
|
|
|
520
520
|
remoteSyslog?: pulumi.Input<inputs.device.SwitchRemoteSyslog>;
|
|
521
521
|
role?: pulumi.Input<string>;
|
|
522
522
|
/**
|
|
523
|
-
*
|
|
523
|
+
* Used for OSPF / BGP / EVPN
|
|
524
524
|
*/
|
|
525
525
|
routerId?: pulumi.Input<string>;
|
|
526
526
|
siteId: pulumi.Input<string>;
|
|
@@ -531,17 +531,17 @@ export interface SwitchArgs {
|
|
|
531
531
|
*/
|
|
532
532
|
switchMgmt?: pulumi.Input<inputs.device.SwitchSwitchMgmt>;
|
|
533
533
|
/**
|
|
534
|
-
*
|
|
534
|
+
* Whether to use it for snmp / syslog / tacplus / radius
|
|
535
535
|
*/
|
|
536
536
|
useRouterIdAsSourceIp?: pulumi.Input<boolean>;
|
|
537
537
|
/**
|
|
538
|
-
*
|
|
538
|
+
* Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
|
|
539
539
|
*/
|
|
540
540
|
vars?: pulumi.Input<{
|
|
541
541
|
[key: string]: pulumi.Input<string>;
|
|
542
542
|
}>;
|
|
543
543
|
/**
|
|
544
|
-
*
|
|
544
|
+
* Required for preprovisioned Virtual Chassis
|
|
545
545
|
*/
|
|
546
546
|
virtualChassis?: pulumi.Input<inputs.device.SwitchVirtualChassis>;
|
|
547
547
|
vrfConfig?: pulumi.Input<inputs.device.SwitchVrfConfig>;
|
|
@@ -556,11 +556,11 @@ export interface SwitchArgs {
|
|
|
556
556
|
*/
|
|
557
557
|
vrrpConfig?: pulumi.Input<inputs.device.SwitchVrrpConfig>;
|
|
558
558
|
/**
|
|
559
|
-
*
|
|
559
|
+
* X in pixel
|
|
560
560
|
*/
|
|
561
561
|
x?: pulumi.Input<number>;
|
|
562
562
|
/**
|
|
563
|
-
*
|
|
563
|
+
* Y in pixel
|
|
564
564
|
*/
|
|
565
565
|
y?: pulumi.Input<number>;
|
|
566
566
|
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource manages the Org Antivirus Profile.
|
|
4
|
+
*
|
|
5
|
+
* An Antivirus Profile is used to configure the Antivirus feature on SRX devices. It specifies which content the Antivirus should analyse and which content should be ignored.
|
|
6
|
+
*
|
|
7
|
+
* The Antivirus profiles can be used within the following resources:
|
|
8
|
+
* * `mist_org_servicepolicy.antivirus`
|
|
9
|
+
* * `mist_org_gatewaytemplate.service_policies.antivirus`
|
|
10
|
+
* * `mist_org_deviceprofile_gateway.service_policies.antivirus`
|
|
11
|
+
* * `mist_device_gateway.service_policies.antivirus`
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
18
|
+
*
|
|
19
|
+
* const avprofileOne = new junipermist.org.Avprofile("avprofile_one", {
|
|
20
|
+
* orgId: terraformTest.id,
|
|
21
|
+
* fallbackAction: "block",
|
|
22
|
+
* maxFilesize: 5000,
|
|
23
|
+
* mimeWhitelists: ["image/png"],
|
|
24
|
+
* name: "avprofile_one",
|
|
25
|
+
* protocols: [
|
|
26
|
+
* "ftp",
|
|
27
|
+
* "http",
|
|
28
|
+
* "imap",
|
|
29
|
+
* "pop3",
|
|
30
|
+
* "smtp",
|
|
31
|
+
* ],
|
|
32
|
+
* urlWhitelists: ["www.google.fr"],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* ## Import
|
|
37
|
+
*
|
|
38
|
+
* Using `pulumi import`, import `mist_org_avprofile` with:
|
|
39
|
+
*
|
|
40
|
+
* IDP Profile can be imported by specifying the org_id and the avprofile_id
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import junipermist:org/avprofile:Avprofile avprofile_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class Avprofile extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing Avprofile resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AvprofileState, opts?: pulumi.CustomResourceOptions): Avprofile;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of Avprofile. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is Avprofile;
|
|
62
|
+
/**
|
|
63
|
+
* enum: `block`, `permit`
|
|
64
|
+
*/
|
|
65
|
+
readonly fallbackAction: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* In KB
|
|
68
|
+
*/
|
|
69
|
+
readonly maxFilesize: pulumi.Output<number>;
|
|
70
|
+
readonly mimeWhitelists: pulumi.Output<string[] | undefined>;
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
readonly orgId: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* List of protocols to monitor. enum: `ftp`, `http`, `imap`, `pop3`, `smtp`
|
|
75
|
+
*/
|
|
76
|
+
readonly protocols: pulumi.Output<string[]>;
|
|
77
|
+
readonly urlWhitelists: pulumi.Output<string[] | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a Avprofile resource with the given unique name, arguments, and options.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resource.
|
|
82
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
83
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
84
|
+
*/
|
|
85
|
+
constructor(name: string, args: AvprofileArgs, opts?: pulumi.CustomResourceOptions);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Input properties used for looking up and filtering Avprofile resources.
|
|
89
|
+
*/
|
|
90
|
+
export interface AvprofileState {
|
|
91
|
+
/**
|
|
92
|
+
* enum: `block`, `permit`
|
|
93
|
+
*/
|
|
94
|
+
fallbackAction?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* In KB
|
|
97
|
+
*/
|
|
98
|
+
maxFilesize?: pulumi.Input<number>;
|
|
99
|
+
mimeWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
100
|
+
name?: pulumi.Input<string>;
|
|
101
|
+
orgId?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* List of protocols to monitor. enum: `ftp`, `http`, `imap`, `pop3`, `smtp`
|
|
104
|
+
*/
|
|
105
|
+
protocols?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
urlWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The set of arguments for constructing a Avprofile resource.
|
|
110
|
+
*/
|
|
111
|
+
export interface AvprofileArgs {
|
|
112
|
+
/**
|
|
113
|
+
* enum: `block`, `permit`
|
|
114
|
+
*/
|
|
115
|
+
fallbackAction?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* In KB
|
|
118
|
+
*/
|
|
119
|
+
maxFilesize?: pulumi.Input<number>;
|
|
120
|
+
mimeWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
121
|
+
name?: pulumi.Input<string>;
|
|
122
|
+
orgId: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* List of protocols to monitor. enum: `ftp`, `http`, `imap`, `pop3`, `smtp`
|
|
125
|
+
*/
|
|
126
|
+
protocols: pulumi.Input<pulumi.Input<string>[]>;
|
|
127
|
+
urlWhitelists?: pulumi.Input<pulumi.Input<string>[]>;
|
|
128
|
+
}
|
package/org/avprofile.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Avprofile = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource manages the Org Antivirus Profile.
|
|
10
|
+
*
|
|
11
|
+
* An Antivirus Profile is used to configure the Antivirus feature on SRX devices. It specifies which content the Antivirus should analyse and which content should be ignored.
|
|
12
|
+
*
|
|
13
|
+
* The Antivirus profiles can be used within the following resources:
|
|
14
|
+
* * `mist_org_servicepolicy.antivirus`
|
|
15
|
+
* * `mist_org_gatewaytemplate.service_policies.antivirus`
|
|
16
|
+
* * `mist_org_deviceprofile_gateway.service_policies.antivirus`
|
|
17
|
+
* * `mist_device_gateway.service_policies.antivirus`
|
|
18
|
+
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
24
|
+
*
|
|
25
|
+
* const avprofileOne = new junipermist.org.Avprofile("avprofile_one", {
|
|
26
|
+
* orgId: terraformTest.id,
|
|
27
|
+
* fallbackAction: "block",
|
|
28
|
+
* maxFilesize: 5000,
|
|
29
|
+
* mimeWhitelists: ["image/png"],
|
|
30
|
+
* name: "avprofile_one",
|
|
31
|
+
* protocols: [
|
|
32
|
+
* "ftp",
|
|
33
|
+
* "http",
|
|
34
|
+
* "imap",
|
|
35
|
+
* "pop3",
|
|
36
|
+
* "smtp",
|
|
37
|
+
* ],
|
|
38
|
+
* urlWhitelists: ["www.google.fr"],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* Using `pulumi import`, import `mist_org_avprofile` with:
|
|
45
|
+
*
|
|
46
|
+
* IDP Profile can be imported by specifying the org_id and the avprofile_id
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import junipermist:org/avprofile:Avprofile avprofile_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
class Avprofile extends pulumi.CustomResource {
|
|
53
|
+
/**
|
|
54
|
+
* Get an existing Avprofile resource's state with the given name, ID, and optional extra
|
|
55
|
+
* properties used to qualify the lookup.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resulting resource.
|
|
58
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
+
* @param state Any extra arguments used during the lookup.
|
|
60
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
+
*/
|
|
62
|
+
static get(name, id, state, opts) {
|
|
63
|
+
return new Avprofile(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of Avprofile. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj) {
|
|
70
|
+
if (obj === undefined || obj === null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
return obj['__pulumiType'] === Avprofile.__pulumiType;
|
|
74
|
+
}
|
|
75
|
+
constructor(name, argsOrState, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (opts.id) {
|
|
79
|
+
const state = argsOrState;
|
|
80
|
+
resourceInputs["fallbackAction"] = state ? state.fallbackAction : undefined;
|
|
81
|
+
resourceInputs["maxFilesize"] = state ? state.maxFilesize : undefined;
|
|
82
|
+
resourceInputs["mimeWhitelists"] = state ? state.mimeWhitelists : undefined;
|
|
83
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
84
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
85
|
+
resourceInputs["protocols"] = state ? state.protocols : undefined;
|
|
86
|
+
resourceInputs["urlWhitelists"] = state ? state.urlWhitelists : undefined;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
const args = argsOrState;
|
|
90
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'orgId'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.protocols === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'protocols'");
|
|
95
|
+
}
|
|
96
|
+
resourceInputs["fallbackAction"] = args ? args.fallbackAction : undefined;
|
|
97
|
+
resourceInputs["maxFilesize"] = args ? args.maxFilesize : undefined;
|
|
98
|
+
resourceInputs["mimeWhitelists"] = args ? args.mimeWhitelists : undefined;
|
|
99
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
100
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
101
|
+
resourceInputs["protocols"] = args ? args.protocols : undefined;
|
|
102
|
+
resourceInputs["urlWhitelists"] = args ? args.urlWhitelists : undefined;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(Avprofile.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.Avprofile = Avprofile;
|
|
109
|
+
/** @internal */
|
|
110
|
+
Avprofile.__pulumiType = 'junipermist:org/avprofile:Avprofile';
|
|
111
|
+
//# sourceMappingURL=avprofile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avprofile.js","sourceRoot":"","sources":["../../org/avprofile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,c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