@pulumiverse/unifi 0.3.0-alpha.1780644697 → 0.3.0
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/account.d.ts +31 -17
- package/account.d.ts.map +1 -0
- package/account.js +33 -7
- package/account.js.map +1 -1
- package/ap/getGroup.d.ts +71 -0
- package/ap/getGroup.d.ts.map +1 -0
- package/ap/getGroup.js +73 -0
- package/ap/getGroup.js.map +1 -0
- package/ap/group.d.ts +106 -0
- package/ap/group.d.ts.map +1 -0
- package/ap/group.js +112 -0
- package/ap/group.js.map +1 -0
- package/ap/index.d.ts +7 -0
- package/ap/index.d.ts.map +1 -0
- package/ap/index.js +48 -0
- package/ap/index.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.d.ts.map +1 -0
- package/config/vars.d.ts +5 -0
- package/config/vars.d.ts.map +1 -0
- package/config/vars.js +31 -2
- package/config/vars.js.map +1 -1
- package/device.d.ts +87 -14
- package/device.d.ts.map +1 -0
- package/device.js +49 -5
- package/device.js.map +1 -1
- package/dns/getRecord.d.ts +4 -3
- package/dns/getRecord.d.ts.map +1 -0
- package/dns/getRecord.js +25 -2
- package/dns/getRecord.js.map +1 -1
- package/dns/getRecords.d.ts +2 -1
- package/dns/getRecords.d.ts.map +1 -0
- package/dns/getRecords.js +25 -2
- package/dns/getRecords.js.map +1 -1
- package/dns/index.d.ts +1 -0
- package/dns/index.d.ts.map +1 -0
- package/dns/index.js +25 -2
- package/dns/index.js.map +1 -1
- package/dns/record.d.ts +17 -16
- package/dns/record.d.ts.map +1 -0
- package/dns/record.js +27 -4
- package/dns/record.js.map +1 -1
- package/dynamicDNS.d.ts +13 -12
- package/dynamicDNS.d.ts.map +1 -0
- package/dynamicDNS.js +27 -4
- package/dynamicDNS.js.map +1 -1
- package/firewall/getZone.d.ts +48 -1
- package/firewall/getZone.d.ts.map +1 -0
- package/firewall/getZone.js +71 -2
- package/firewall/getZone.js.map +1 -1
- package/firewall/group.d.ts +7 -6
- package/firewall/group.d.ts.map +1 -0
- package/firewall/group.js +27 -4
- package/firewall/group.js.map +1 -1
- package/firewall/index.d.ts +4 -0
- package/firewall/index.d.ts.map +1 -0
- package/firewall/index.js +31 -3
- package/firewall/index.js.map +1 -1
- package/firewall/rule.d.ts +58 -55
- package/firewall/rule.d.ts.map +1 -0
- package/firewall/rule.js +29 -4
- package/firewall/rule.js.map +1 -1
- package/firewall/zone.d.ts +10 -7
- package/firewall/zone.d.ts.map +1 -0
- package/firewall/zone.js +30 -5
- package/firewall/zone.js.map +1 -1
- package/firewall/zonePolicy.d.ts +36 -37
- package/firewall/zonePolicy.d.ts.map +1 -0
- package/firewall/zonePolicy.js +31 -6
- package/firewall/zonePolicy.js.map +1 -1
- package/firewall/zonePolicyOrder.d.ts +170 -0
- package/firewall/zonePolicyOrder.d.ts.map +1 -0
- package/firewall/zonePolicyOrder.js +159 -0
- package/firewall/zonePolicyOrder.js.map +1 -0
- package/getAccount.d.ts +7 -2
- package/getAccount.d.ts.map +1 -0
- package/getAccount.js +25 -2
- package/getAccount.js.map +1 -1
- package/getApGroup.d.ts +13 -10
- package/getApGroup.d.ts.map +1 -0
- package/getApGroup.js +33 -6
- package/getApGroup.js.map +1 -1
- package/getNetwork.d.ts +21 -4
- package/getNetwork.d.ts.map +1 -0
- package/getNetwork.js +25 -2
- package/getNetwork.js.map +1 -1
- package/getRadiusProfile.d.ts +3 -2
- package/getRadiusProfile.d.ts.map +1 -0
- package/getRadiusProfile.js +25 -2
- package/getRadiusProfile.js.map +1 -1
- package/iam/getGroup.d.ts +3 -2
- package/iam/getGroup.d.ts.map +1 -0
- package/iam/getGroup.js +25 -2
- package/iam/getGroup.js.map +1 -1
- package/iam/getUser.d.ts +2 -1
- package/iam/getUser.d.ts.map +1 -0
- package/iam/getUser.js +25 -2
- package/iam/getUser.js.map +1 -1
- package/iam/group.d.ts +11 -8
- package/iam/group.d.ts.map +1 -0
- package/iam/group.js +29 -4
- package/iam/group.js.map +1 -1
- package/iam/index.d.ts +1 -0
- package/iam/index.d.ts.map +1 -0
- package/iam/index.js +25 -2
- package/iam/index.js.map +1 -1
- package/iam/user.d.ts +26 -25
- package/iam/user.d.ts.map +1 -0
- package/iam/user.js +27 -4
- package/iam/user.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -0
- package/index.js +24 -10
- package/index.js.map +1 -1
- package/network.d.ts +486 -123
- package/network.d.ts.map +1 -0
- package/network.js +97 -4
- package/network.js.map +1 -1
- package/package.json +3 -3
- package/port/alFile.d.ts +10 -9
- package/port/alFile.d.ts.map +1 -0
- package/port/alFile.js +27 -4
- package/port/alFile.js.map +1 -1
- package/port/forward.d.ts +21 -20
- package/port/forward.d.ts.map +1 -0
- package/port/forward.js +27 -4
- package/port/forward.js.map +1 -1
- package/port/getProfile.d.ts +3 -2
- package/port/getProfile.d.ts.map +1 -0
- package/port/getProfile.js +25 -2
- package/port/getProfile.js.map +1 -1
- package/port/index.d.ts +1 -0
- package/port/index.d.ts.map +1 -0
- package/port/index.js +25 -2
- package/port/index.js.map +1 -1
- package/port/profile.d.ts +79 -72
- package/port/profile.d.ts.map +1 -0
- package/port/profile.js +27 -4
- package/port/profile.js.map +1 -1
- package/provider.d.ts +11 -6
- package/provider.d.ts.map +1 -0
- package/provider.js +28 -4
- package/provider.js.map +1 -1
- package/radiusProfile.d.ts +23 -22
- package/radiusProfile.d.ts.map +1 -0
- package/radiusProfile.js +27 -4
- package/radiusProfile.js.map +1 -1
- package/setting/autoSpeedtest.d.ts +6 -5
- package/setting/autoSpeedtest.d.ts.map +1 -0
- package/setting/autoSpeedtest.js +27 -4
- package/setting/autoSpeedtest.js.map +1 -1
- package/setting/connectivity.d.ts +73 -0
- package/setting/connectivity.d.ts.map +1 -0
- package/setting/connectivity.js +89 -0
- package/setting/connectivity.js.map +1 -0
- package/setting/country.d.ts +5 -4
- package/setting/country.d.ts.map +1 -0
- package/setting/country.js +27 -4
- package/setting/country.js.map +1 -1
- package/setting/dpi.d.ts +5 -4
- package/setting/dpi.d.ts.map +1 -0
- package/setting/dpi.js +27 -4
- package/setting/dpi.js.map +1 -1
- package/setting/etherLighting.d.ts +78 -0
- package/setting/etherLighting.d.ts.map +1 -0
- package/setting/etherLighting.js +79 -0
- package/setting/etherLighting.js.map +1 -0
- package/setting/globalSwitch.d.ts +131 -0
- package/setting/globalSwitch.d.ts.map +1 -0
- package/setting/globalSwitch.js +122 -0
- package/setting/globalSwitch.js.map +1 -0
- package/setting/guestAccess.d.ts +73 -72
- package/setting/guestAccess.d.ts.map +1 -0
- package/setting/guestAccess.js +27 -4
- package/setting/guestAccess.js.map +1 -1
- package/setting/index.d.ts +10 -0
- package/setting/index.d.ts.map +1 -0
- package/setting/index.js +41 -3
- package/setting/index.js.map +1 -1
- package/setting/ips.d.ts +23 -22
- package/setting/ips.d.ts.map +1 -0
- package/setting/ips.js +27 -4
- package/setting/ips.js.map +1 -1
- package/setting/lcdMonitor.d.ts +12 -11
- package/setting/lcdMonitor.d.ts.map +1 -0
- package/setting/lcdMonitor.js +27 -4
- package/setting/lcdMonitor.js.map +1 -1
- package/setting/locale.d.ts +4 -3
- package/setting/locale.d.ts.map +1 -0
- package/setting/locale.js +27 -4
- package/setting/locale.js.map +1 -1
- package/setting/magicSiteToSiteVpn.d.ts +4 -3
- package/setting/magicSiteToSiteVpn.d.ts.map +1 -0
- package/setting/magicSiteToSiteVpn.js +27 -4
- package/setting/magicSiteToSiteVpn.js.map +1 -1
- package/setting/mgmt.d.ts +37 -36
- package/setting/mgmt.d.ts.map +1 -0
- package/setting/mgmt.js +27 -4
- package/setting/mgmt.js.map +1 -1
- package/setting/networkOptimization.d.ts +4 -3
- package/setting/networkOptimization.d.ts.map +1 -0
- package/setting/networkOptimization.js +27 -4
- package/setting/networkOptimization.js.map +1 -1
- package/setting/ntp.d.ts +13 -12
- package/setting/ntp.d.ts.map +1 -0
- package/setting/ntp.js +27 -4
- package/setting/ntp.js.map +1 -1
- package/setting/radius.d.ts +17 -16
- package/setting/radius.d.ts.map +1 -0
- package/setting/radius.js +27 -4
- package/setting/radius.js.map +1 -1
- package/setting/rsyslogd.d.ts +24 -23
- package/setting/rsyslogd.d.ts.map +1 -0
- package/setting/rsyslogd.js +27 -4
- package/setting/rsyslogd.js.map +1 -1
- package/setting/sslInspection.d.ts +4 -3
- package/setting/sslInspection.d.ts.map +1 -0
- package/setting/sslInspection.js +27 -4
- package/setting/sslInspection.js.map +1 -1
- package/setting/teleport.d.ts +6 -5
- package/setting/teleport.d.ts.map +1 -0
- package/setting/teleport.js +27 -4
- package/setting/teleport.js.map +1 -1
- package/setting/usg.d.ts +75 -74
- package/setting/usg.d.ts.map +1 -0
- package/setting/usg.js +27 -4
- package/setting/usg.js.map +1 -1
- package/setting/usw.d.ts +4 -3
- package/setting/usw.d.ts.map +1 -0
- package/setting/usw.js +27 -4
- package/setting/usw.js.map +1 -1
- package/site.d.ts +5 -2
- package/site.d.ts.map +1 -0
- package/site.js +29 -4
- package/site.js.map +1 -1
- package/staticRoute.d.ts +12 -11
- package/staticRoute.d.ts.map +1 -0
- package/staticRoute.js +27 -4
- package/staticRoute.js.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +25 -2
- package/types/index.js.map +1 -1
- package/types/input.d.ts +240 -111
- package/types/input.d.ts.map +1 -0
- package/types/output.d.ts +129 -0
- package/types/output.d.ts.map +1 -0
- package/utilities.d.ts +1 -0
- package/utilities.d.ts.map +1 -0
- package/utilities.js +24 -1
- package/utilities.js.map +1 -1
- package/wlan.d.ts +81 -60
- package/wlan.d.ts.map +1 -0
- package/wlan.js +32 -5
- package/wlan.js.map +1 -1
package/firewall/index.d.ts
CHANGED
|
@@ -13,3 +13,7 @@ export declare const Zone: typeof import("./zone").Zone;
|
|
|
13
13
|
export { ZonePolicyArgs, ZonePolicyState } from "./zonePolicy";
|
|
14
14
|
export type ZonePolicy = import("./zonePolicy").ZonePolicy;
|
|
15
15
|
export declare const ZonePolicy: typeof import("./zonePolicy").ZonePolicy;
|
|
16
|
+
export { ZonePolicyOrderArgs, ZonePolicyOrderState } from "./zonePolicyOrder";
|
|
17
|
+
export type ZonePolicyOrder = import("./zonePolicyOrder").ZonePolicyOrder;
|
|
18
|
+
export declare const ZonePolicyOrder: typeof import("./zonePolicyOrder").ZonePolicyOrder;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../firewall/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1E,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AACvE,eAAO,MAAM,aAAa,EAAE,cAAc,WAAW,EAAE,aAA2B,CAAC;AAGnF,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAChD,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,EAAE,KAAK,CAAC;AAC5C,eAAO,MAAM,KAAK,EAAE,cAAc,SAAS,EAAE,KAAmB,CAAC;AAGjE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7C,MAAM,MAAM,IAAI,GAAG,OAAO,QAAQ,EAAE,IAAI,CAAC;AACzC,eAAO,MAAM,IAAI,EAAE,cAAc,QAAQ,EAAE,IAAkB,CAAC;AAG9D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,OAAO,mBAAmB,EAAE,eAAe,CAAC;AAC1E,eAAO,MAAM,eAAe,EAAE,cAAc,mBAAmB,EAAE,eAA6B,CAAC"}
|
package/firewall/index.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ZonePolicy = exports.Zone = exports.Rule = exports.Group = exports.getZoneOutput = exports.getZone = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
28
|
+
exports.ZonePolicyOrder = exports.ZonePolicy = exports.Zone = exports.Rule = exports.Group = exports.getZoneOutput = exports.getZone = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
exports.getZone = null;
|
|
9
32
|
exports.getZoneOutput = null;
|
|
10
33
|
utilities.lazyLoad(exports, ["getZone", "getZoneOutput"], () => require("./getZone"));
|
|
@@ -16,6 +39,8 @@ exports.Zone = null;
|
|
|
16
39
|
utilities.lazyLoad(exports, ["Zone"], () => require("./zone"));
|
|
17
40
|
exports.ZonePolicy = null;
|
|
18
41
|
utilities.lazyLoad(exports, ["ZonePolicy"], () => require("./zonePolicy"));
|
|
42
|
+
exports.ZonePolicyOrder = null;
|
|
43
|
+
utilities.lazyLoad(exports, ["ZonePolicyOrder"], () => require("./zonePolicyOrder"));
|
|
19
44
|
const _module = {
|
|
20
45
|
version: utilities.getVersion(),
|
|
21
46
|
construct: (name, type, urn) => {
|
|
@@ -28,6 +53,8 @@ const _module = {
|
|
|
28
53
|
return new exports.Zone(name, undefined, { urn });
|
|
29
54
|
case "unifi:firewall/zonePolicy:ZonePolicy":
|
|
30
55
|
return new exports.ZonePolicy(name, undefined, { urn });
|
|
56
|
+
case "unifi:firewall/zonePolicyOrder:ZonePolicyOrder":
|
|
57
|
+
return new exports.ZonePolicyOrder(name, undefined, { urn });
|
|
31
58
|
default:
|
|
32
59
|
throw new Error(`unknown resource type ${type}`);
|
|
33
60
|
}
|
|
@@ -37,4 +64,5 @@ pulumi.runtime.registerResourceModule("unifi", "firewall/group", _module);
|
|
|
37
64
|
pulumi.runtime.registerResourceModule("unifi", "firewall/rule", _module);
|
|
38
65
|
pulumi.runtime.registerResourceModule("unifi", "firewall/zone", _module);
|
|
39
66
|
pulumi.runtime.registerResourceModule("unifi", "firewall/zonePolicy", _module);
|
|
67
|
+
pulumi.runtime.registerResourceModule("unifi", "firewall/zonePolicyOrder", _module);
|
|
40
68
|
//# sourceMappingURL=index.js.map
|
package/firewall/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../firewall/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../firewall/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAI7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxE,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAIlD,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAIlD,QAAA,U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CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
package/firewall/rule.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
+
* The `pulumi import` command can be used, for example:
|
|
30
|
+
*
|
|
29
31
|
* import using the ID from the controller API/UI
|
|
30
32
|
*
|
|
31
33
|
* ```sh
|
|
@@ -244,40 +246,40 @@ export interface RuleState {
|
|
|
244
246
|
* * `drop` - Silently block the traffic
|
|
245
247
|
* * `reject` - Block the traffic and send an ICMP rejection message
|
|
246
248
|
*/
|
|
247
|
-
action?: pulumi.Input<string>;
|
|
249
|
+
action?: pulumi.Input<string | undefined>;
|
|
248
250
|
/**
|
|
249
251
|
* The destination IPv4 address or network in CIDR notation (e.g., '192.168.1.10' or '192.168.0.0/24'). The format must match dstNetworkType - use a single IP for ADDRv4 or CIDR for NETv4.
|
|
250
252
|
*/
|
|
251
|
-
dstAddress?: pulumi.Input<string>;
|
|
253
|
+
dstAddress?: pulumi.Input<string | undefined>;
|
|
252
254
|
/**
|
|
253
255
|
* The destination IPv6 address or network in CIDR notation (e.g., '2001:db8::1' or '2001:db8::/64'). Used for IPv6 firewall rules.
|
|
254
256
|
*/
|
|
255
|
-
dstAddressIpv6?: pulumi.Input<string>;
|
|
257
|
+
dstAddressIpv6?: pulumi.Input<string | undefined>;
|
|
256
258
|
/**
|
|
257
259
|
* A list of firewall group IDs to use as destinations. Groups can contain IP addresses, networks, or port numbers. This allows you to create reusable sets of addresses/ports and reference them in multiple rules.
|
|
258
260
|
*/
|
|
259
|
-
dstFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
261
|
+
dstFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
260
262
|
/**
|
|
261
263
|
* The ID of the destination network this rule applies to. This can be found in the URL when viewing the network in the UniFi controller.
|
|
262
264
|
*/
|
|
263
|
-
dstNetworkId?: pulumi.Input<string>;
|
|
265
|
+
dstNetworkId?: pulumi.Input<string | undefined>;
|
|
264
266
|
/**
|
|
265
267
|
* The type of destination network address. Valid values are:
|
|
266
268
|
* * `ADDRv4` - Single IPv4 address
|
|
267
269
|
* * `NETv4` - IPv4 network in CIDR notation
|
|
268
270
|
*/
|
|
269
|
-
dstNetworkType?: pulumi.Input<string>;
|
|
271
|
+
dstNetworkType?: pulumi.Input<string | undefined>;
|
|
270
272
|
/**
|
|
271
273
|
* The destination port(s) for this rule. Can be:
|
|
272
274
|
* * A single port number (e.g., '80')
|
|
273
275
|
* * A port range (e.g., '8000:8080')
|
|
274
276
|
* * A list of ports/ranges separated by commas
|
|
275
277
|
*/
|
|
276
|
-
dstPort?: pulumi.Input<string>;
|
|
278
|
+
dstPort?: pulumi.Input<string | undefined>;
|
|
277
279
|
/**
|
|
278
280
|
* Whether this firewall rule is active (true) or disabled (false). Defaults to true.
|
|
279
281
|
*/
|
|
280
|
-
enabled?: pulumi.Input<boolean>;
|
|
282
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
281
283
|
/**
|
|
282
284
|
* The ICMP type name when protocol is set to 'icmp'. Common values include:
|
|
283
285
|
* * `echo-request` - ICMP ping requests
|
|
@@ -285,7 +287,7 @@ export interface RuleState {
|
|
|
285
287
|
* * `destination-unreachable` - Host/network unreachable messages
|
|
286
288
|
* * `time-exceeded` - TTL exceeded messages (traceroute)
|
|
287
289
|
*/
|
|
288
|
-
icmpTypename?: pulumi.Input<string>;
|
|
290
|
+
icmpTypename?: pulumi.Input<string | undefined>;
|
|
289
291
|
/**
|
|
290
292
|
* The ICMPv6 type name when protocolV6 is set to 'ipv6-icmp'. Common values (not all are listed) include:
|
|
291
293
|
* * `echo-request` - IPv6 ping requests
|
|
@@ -295,19 +297,19 @@ export interface RuleState {
|
|
|
295
297
|
* * `destination-unreachable` - Host/network unreachable messages
|
|
296
298
|
* * `packet-too-big` - Path MTU discovery messages
|
|
297
299
|
*/
|
|
298
|
-
icmpV6Typename?: pulumi.Input<string>;
|
|
300
|
+
icmpV6Typename?: pulumi.Input<string | undefined>;
|
|
299
301
|
/**
|
|
300
302
|
* Specify whether the rule matches on IPsec packets. Can be one of `match-ipsec` or `match-none`.
|
|
301
303
|
*/
|
|
302
|
-
ipSec?: pulumi.Input<string>;
|
|
304
|
+
ipSec?: pulumi.Input<string | undefined>;
|
|
303
305
|
/**
|
|
304
306
|
* Enable logging for the firewall rule.
|
|
305
307
|
*/
|
|
306
|
-
logging?: pulumi.Input<boolean>;
|
|
308
|
+
logging?: pulumi.Input<boolean | undefined>;
|
|
307
309
|
/**
|
|
308
310
|
* A friendly name for the firewall rule. This helps identify the rule's purpose in the UniFi controller UI.
|
|
309
311
|
*/
|
|
310
|
-
name?: pulumi.Input<string>;
|
|
312
|
+
name?: pulumi.Input<string | undefined>;
|
|
311
313
|
/**
|
|
312
314
|
* The IPv4 protocol this rule applies to. Common values (not all are listed) include:
|
|
313
315
|
* * `all` - Match all protocols
|
|
@@ -322,7 +324,7 @@ export interface RuleState {
|
|
|
322
324
|
* * Use 'udp' for VoIP or gaming traffic
|
|
323
325
|
* * Use 'all' for general network access rules
|
|
324
326
|
*/
|
|
325
|
-
protocol?: pulumi.Input<string>;
|
|
327
|
+
protocol?: pulumi.Input<string | undefined>;
|
|
326
328
|
/**
|
|
327
329
|
* The IPv6 protocol this rule applies to. Similar to 'protocol' but for IPv6 traffic. Common values (not all are listed) include:
|
|
328
330
|
* * `all` - Match all protocols
|
|
@@ -331,13 +333,13 @@ export interface RuleState {
|
|
|
331
333
|
* * `tcpUdp` - Both TCP and UDP traffic
|
|
332
334
|
* * `ipv6-icmp` - ICMPv6 traffic
|
|
333
335
|
*/
|
|
334
|
-
protocolV6?: pulumi.Input<string>;
|
|
336
|
+
protocolV6?: pulumi.Input<string | undefined>;
|
|
335
337
|
/**
|
|
336
338
|
* The processing order for this rule. Lower numbers are processed first. Custom rules should use:
|
|
337
339
|
* * 2000-2999 for rules processed before auto-generated rules
|
|
338
340
|
* * 4000-4999 for rules processed after auto-generated rules
|
|
339
341
|
*/
|
|
340
|
-
ruleIndex?: pulumi.Input<number>;
|
|
342
|
+
ruleIndex?: pulumi.Input<number | undefined>;
|
|
341
343
|
/**
|
|
342
344
|
* Defines which traffic flow this rule applies to. The format is [NETWORK]_[DIRECTION], where:
|
|
343
345
|
* * NETWORK can be: WAN, LAN, GUEST (or their IPv6 variants WANv6, LANv6, GUESTv6)
|
|
@@ -348,19 +350,19 @@ export interface RuleState {
|
|
|
348
350
|
*
|
|
349
351
|
* Examples: WAN_IN (incoming WAN traffic), LAN_OUT (outgoing LAN traffic), GUEST_LOCAL (traffic to Controller from guest network)
|
|
350
352
|
*/
|
|
351
|
-
ruleset?: pulumi.Input<string>;
|
|
353
|
+
ruleset?: pulumi.Input<string | undefined>;
|
|
352
354
|
/**
|
|
353
355
|
* The name of the UniFi site where the firewall rule should be created. If not specified, the default site will be used.
|
|
354
356
|
*/
|
|
355
|
-
site?: pulumi.Input<string>;
|
|
357
|
+
site?: pulumi.Input<string | undefined>;
|
|
356
358
|
/**
|
|
357
359
|
* The source IPv4 address for the firewall rule.
|
|
358
360
|
*/
|
|
359
|
-
srcAddress?: pulumi.Input<string>;
|
|
361
|
+
srcAddress?: pulumi.Input<string | undefined>;
|
|
360
362
|
/**
|
|
361
363
|
* The source IPv6 address or network in CIDR notation (e.g., '2001:db8::1' or '2001:db8::/64'). Used for IPv6 firewall rules.
|
|
362
364
|
*/
|
|
363
|
-
srcAddressIpv6?: pulumi.Input<string>;
|
|
365
|
+
srcAddressIpv6?: pulumi.Input<string | undefined>;
|
|
364
366
|
/**
|
|
365
367
|
* A list of firewall group IDs to use as sources. Groups can contain:
|
|
366
368
|
* * IP Address Groups - For matching specific IP addresses
|
|
@@ -372,28 +374,28 @@ export interface RuleState {
|
|
|
372
374
|
* * Group of IoT device networks for isolation
|
|
373
375
|
* * Group of common service ports for allowing specific applications
|
|
374
376
|
*/
|
|
375
|
-
srcFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
377
|
+
srcFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
376
378
|
/**
|
|
377
379
|
* The source MAC address this rule applies to. Use this to create rules that match specific devices regardless of their IP address. Format: 'XX:XX:XX:XX:XX:XX'. MAC addresses are case-insensitive.
|
|
378
380
|
*/
|
|
379
|
-
srcMac?: pulumi.Input<string>;
|
|
381
|
+
srcMac?: pulumi.Input<string | undefined>;
|
|
380
382
|
/**
|
|
381
383
|
* The ID of the source network this rule applies to. This can be found in the URL when viewing the network in the UniFi controller, or by using the network's name in the form `[site]/[networkName]`.
|
|
382
384
|
*/
|
|
383
|
-
srcNetworkId?: pulumi.Input<string>;
|
|
385
|
+
srcNetworkId?: pulumi.Input<string | undefined>;
|
|
384
386
|
/**
|
|
385
387
|
* The type of source network address. Valid values are:
|
|
386
388
|
* * `ADDRv4` - Single IPv4 address
|
|
387
389
|
* * `NETv4` - IPv4 network in CIDR notation
|
|
388
390
|
*/
|
|
389
|
-
srcNetworkType?: pulumi.Input<string>;
|
|
391
|
+
srcNetworkType?: pulumi.Input<string | undefined>;
|
|
390
392
|
/**
|
|
391
393
|
* The source port(s) for this rule. Can be:
|
|
392
394
|
* * A single port number (e.g., '80')
|
|
393
395
|
* * A port range (e.g., '8000:8080')
|
|
394
396
|
* * A list of ports/ranges separated by commas
|
|
395
397
|
*/
|
|
396
|
-
srcPort?: pulumi.Input<string>;
|
|
398
|
+
srcPort?: pulumi.Input<string | undefined>;
|
|
397
399
|
/**
|
|
398
400
|
* Match established connections. When enabled:
|
|
399
401
|
* * Rule only applies to packets that are part of an existing connection
|
|
@@ -402,19 +404,19 @@ export interface RuleState {
|
|
|
402
404
|
*
|
|
403
405
|
* Example: Allow established connections from WAN while blocking new incoming connections
|
|
404
406
|
*/
|
|
405
|
-
stateEstablished?: pulumi.Input<boolean>;
|
|
407
|
+
stateEstablished?: pulumi.Input<boolean | undefined>;
|
|
406
408
|
/**
|
|
407
409
|
* Match where the state is invalid.
|
|
408
410
|
*/
|
|
409
|
-
stateInvalid?: pulumi.Input<boolean>;
|
|
411
|
+
stateInvalid?: pulumi.Input<boolean | undefined>;
|
|
410
412
|
/**
|
|
411
413
|
* Match where the state is new.
|
|
412
414
|
*/
|
|
413
|
-
stateNew?: pulumi.Input<boolean>;
|
|
415
|
+
stateNew?: pulumi.Input<boolean | undefined>;
|
|
414
416
|
/**
|
|
415
417
|
* Match where the state is related.
|
|
416
418
|
*/
|
|
417
|
-
stateRelated?: pulumi.Input<boolean>;
|
|
419
|
+
stateRelated?: pulumi.Input<boolean | undefined>;
|
|
418
420
|
}
|
|
419
421
|
/**
|
|
420
422
|
* The set of arguments for constructing a Rule resource.
|
|
@@ -430,36 +432,36 @@ export interface RuleArgs {
|
|
|
430
432
|
/**
|
|
431
433
|
* The destination IPv4 address or network in CIDR notation (e.g., '192.168.1.10' or '192.168.0.0/24'). The format must match dstNetworkType - use a single IP for ADDRv4 or CIDR for NETv4.
|
|
432
434
|
*/
|
|
433
|
-
dstAddress?: pulumi.Input<string>;
|
|
435
|
+
dstAddress?: pulumi.Input<string | undefined>;
|
|
434
436
|
/**
|
|
435
437
|
* The destination IPv6 address or network in CIDR notation (e.g., '2001:db8::1' or '2001:db8::/64'). Used for IPv6 firewall rules.
|
|
436
438
|
*/
|
|
437
|
-
dstAddressIpv6?: pulumi.Input<string>;
|
|
439
|
+
dstAddressIpv6?: pulumi.Input<string | undefined>;
|
|
438
440
|
/**
|
|
439
441
|
* A list of firewall group IDs to use as destinations. Groups can contain IP addresses, networks, or port numbers. This allows you to create reusable sets of addresses/ports and reference them in multiple rules.
|
|
440
442
|
*/
|
|
441
|
-
dstFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
443
|
+
dstFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
442
444
|
/**
|
|
443
445
|
* The ID of the destination network this rule applies to. This can be found in the URL when viewing the network in the UniFi controller.
|
|
444
446
|
*/
|
|
445
|
-
dstNetworkId?: pulumi.Input<string>;
|
|
447
|
+
dstNetworkId?: pulumi.Input<string | undefined>;
|
|
446
448
|
/**
|
|
447
449
|
* The type of destination network address. Valid values are:
|
|
448
450
|
* * `ADDRv4` - Single IPv4 address
|
|
449
451
|
* * `NETv4` - IPv4 network in CIDR notation
|
|
450
452
|
*/
|
|
451
|
-
dstNetworkType?: pulumi.Input<string>;
|
|
453
|
+
dstNetworkType?: pulumi.Input<string | undefined>;
|
|
452
454
|
/**
|
|
453
455
|
* The destination port(s) for this rule. Can be:
|
|
454
456
|
* * A single port number (e.g., '80')
|
|
455
457
|
* * A port range (e.g., '8000:8080')
|
|
456
458
|
* * A list of ports/ranges separated by commas
|
|
457
459
|
*/
|
|
458
|
-
dstPort?: pulumi.Input<string>;
|
|
460
|
+
dstPort?: pulumi.Input<string | undefined>;
|
|
459
461
|
/**
|
|
460
462
|
* Whether this firewall rule is active (true) or disabled (false). Defaults to true.
|
|
461
463
|
*/
|
|
462
|
-
enabled?: pulumi.Input<boolean>;
|
|
464
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
463
465
|
/**
|
|
464
466
|
* The ICMP type name when protocol is set to 'icmp'. Common values include:
|
|
465
467
|
* * `echo-request` - ICMP ping requests
|
|
@@ -467,7 +469,7 @@ export interface RuleArgs {
|
|
|
467
469
|
* * `destination-unreachable` - Host/network unreachable messages
|
|
468
470
|
* * `time-exceeded` - TTL exceeded messages (traceroute)
|
|
469
471
|
*/
|
|
470
|
-
icmpTypename?: pulumi.Input<string>;
|
|
472
|
+
icmpTypename?: pulumi.Input<string | undefined>;
|
|
471
473
|
/**
|
|
472
474
|
* The ICMPv6 type name when protocolV6 is set to 'ipv6-icmp'. Common values (not all are listed) include:
|
|
473
475
|
* * `echo-request` - IPv6 ping requests
|
|
@@ -477,19 +479,19 @@ export interface RuleArgs {
|
|
|
477
479
|
* * `destination-unreachable` - Host/network unreachable messages
|
|
478
480
|
* * `packet-too-big` - Path MTU discovery messages
|
|
479
481
|
*/
|
|
480
|
-
icmpV6Typename?: pulumi.Input<string>;
|
|
482
|
+
icmpV6Typename?: pulumi.Input<string | undefined>;
|
|
481
483
|
/**
|
|
482
484
|
* Specify whether the rule matches on IPsec packets. Can be one of `match-ipsec` or `match-none`.
|
|
483
485
|
*/
|
|
484
|
-
ipSec?: pulumi.Input<string>;
|
|
486
|
+
ipSec?: pulumi.Input<string | undefined>;
|
|
485
487
|
/**
|
|
486
488
|
* Enable logging for the firewall rule.
|
|
487
489
|
*/
|
|
488
|
-
logging?: pulumi.Input<boolean>;
|
|
490
|
+
logging?: pulumi.Input<boolean | undefined>;
|
|
489
491
|
/**
|
|
490
492
|
* A friendly name for the firewall rule. This helps identify the rule's purpose in the UniFi controller UI.
|
|
491
493
|
*/
|
|
492
|
-
name?: pulumi.Input<string>;
|
|
494
|
+
name?: pulumi.Input<string | undefined>;
|
|
493
495
|
/**
|
|
494
496
|
* The IPv4 protocol this rule applies to. Common values (not all are listed) include:
|
|
495
497
|
* * `all` - Match all protocols
|
|
@@ -504,7 +506,7 @@ export interface RuleArgs {
|
|
|
504
506
|
* * Use 'udp' for VoIP or gaming traffic
|
|
505
507
|
* * Use 'all' for general network access rules
|
|
506
508
|
*/
|
|
507
|
-
protocol?: pulumi.Input<string>;
|
|
509
|
+
protocol?: pulumi.Input<string | undefined>;
|
|
508
510
|
/**
|
|
509
511
|
* The IPv6 protocol this rule applies to. Similar to 'protocol' but for IPv6 traffic. Common values (not all are listed) include:
|
|
510
512
|
* * `all` - Match all protocols
|
|
@@ -513,7 +515,7 @@ export interface RuleArgs {
|
|
|
513
515
|
* * `tcpUdp` - Both TCP and UDP traffic
|
|
514
516
|
* * `ipv6-icmp` - ICMPv6 traffic
|
|
515
517
|
*/
|
|
516
|
-
protocolV6?: pulumi.Input<string>;
|
|
518
|
+
protocolV6?: pulumi.Input<string | undefined>;
|
|
517
519
|
/**
|
|
518
520
|
* The processing order for this rule. Lower numbers are processed first. Custom rules should use:
|
|
519
521
|
* * 2000-2999 for rules processed before auto-generated rules
|
|
@@ -534,15 +536,15 @@ export interface RuleArgs {
|
|
|
534
536
|
/**
|
|
535
537
|
* The name of the UniFi site where the firewall rule should be created. If not specified, the default site will be used.
|
|
536
538
|
*/
|
|
537
|
-
site?: pulumi.Input<string>;
|
|
539
|
+
site?: pulumi.Input<string | undefined>;
|
|
538
540
|
/**
|
|
539
541
|
* The source IPv4 address for the firewall rule.
|
|
540
542
|
*/
|
|
541
|
-
srcAddress?: pulumi.Input<string>;
|
|
543
|
+
srcAddress?: pulumi.Input<string | undefined>;
|
|
542
544
|
/**
|
|
543
545
|
* The source IPv6 address or network in CIDR notation (e.g., '2001:db8::1' or '2001:db8::/64'). Used for IPv6 firewall rules.
|
|
544
546
|
*/
|
|
545
|
-
srcAddressIpv6?: pulumi.Input<string>;
|
|
547
|
+
srcAddressIpv6?: pulumi.Input<string | undefined>;
|
|
546
548
|
/**
|
|
547
549
|
* A list of firewall group IDs to use as sources. Groups can contain:
|
|
548
550
|
* * IP Address Groups - For matching specific IP addresses
|
|
@@ -554,28 +556,28 @@ export interface RuleArgs {
|
|
|
554
556
|
* * Group of IoT device networks for isolation
|
|
555
557
|
* * Group of common service ports for allowing specific applications
|
|
556
558
|
*/
|
|
557
|
-
srcFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
559
|
+
srcFirewallGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
558
560
|
/**
|
|
559
561
|
* The source MAC address this rule applies to. Use this to create rules that match specific devices regardless of their IP address. Format: 'XX:XX:XX:XX:XX:XX'. MAC addresses are case-insensitive.
|
|
560
562
|
*/
|
|
561
|
-
srcMac?: pulumi.Input<string>;
|
|
563
|
+
srcMac?: pulumi.Input<string | undefined>;
|
|
562
564
|
/**
|
|
563
565
|
* The ID of the source network this rule applies to. This can be found in the URL when viewing the network in the UniFi controller, or by using the network's name in the form `[site]/[networkName]`.
|
|
564
566
|
*/
|
|
565
|
-
srcNetworkId?: pulumi.Input<string>;
|
|
567
|
+
srcNetworkId?: pulumi.Input<string | undefined>;
|
|
566
568
|
/**
|
|
567
569
|
* The type of source network address. Valid values are:
|
|
568
570
|
* * `ADDRv4` - Single IPv4 address
|
|
569
571
|
* * `NETv4` - IPv4 network in CIDR notation
|
|
570
572
|
*/
|
|
571
|
-
srcNetworkType?: pulumi.Input<string>;
|
|
573
|
+
srcNetworkType?: pulumi.Input<string | undefined>;
|
|
572
574
|
/**
|
|
573
575
|
* The source port(s) for this rule. Can be:
|
|
574
576
|
* * A single port number (e.g., '80')
|
|
575
577
|
* * A port range (e.g., '8000:8080')
|
|
576
578
|
* * A list of ports/ranges separated by commas
|
|
577
579
|
*/
|
|
578
|
-
srcPort?: pulumi.Input<string>;
|
|
580
|
+
srcPort?: pulumi.Input<string | undefined>;
|
|
579
581
|
/**
|
|
580
582
|
* Match established connections. When enabled:
|
|
581
583
|
* * Rule only applies to packets that are part of an existing connection
|
|
@@ -584,17 +586,18 @@ export interface RuleArgs {
|
|
|
584
586
|
*
|
|
585
587
|
* Example: Allow established connections from WAN while blocking new incoming connections
|
|
586
588
|
*/
|
|
587
|
-
stateEstablished?: pulumi.Input<boolean>;
|
|
589
|
+
stateEstablished?: pulumi.Input<boolean | undefined>;
|
|
588
590
|
/**
|
|
589
591
|
* Match where the state is invalid.
|
|
590
592
|
*/
|
|
591
|
-
stateInvalid?: pulumi.Input<boolean>;
|
|
593
|
+
stateInvalid?: pulumi.Input<boolean | undefined>;
|
|
592
594
|
/**
|
|
593
595
|
* Match where the state is new.
|
|
594
596
|
*/
|
|
595
|
-
stateNew?: pulumi.Input<boolean>;
|
|
597
|
+
stateNew?: pulumi.Input<boolean | undefined>;
|
|
596
598
|
/**
|
|
597
599
|
* Match where the state is related.
|
|
598
600
|
*/
|
|
599
|
-
stateRelated?: pulumi.Input<boolean>;
|
|
601
|
+
stateRelated?: pulumi.Input<boolean | undefined>;
|
|
600
602
|
}
|
|
603
|
+
//# sourceMappingURL=rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../firewall/rule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,IAAI;IAO1H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,IAAI;IAO/C;;;;;OAKG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IACjF;;OAEG;IACH,SAAwB,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AAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACpD"}
|
package/firewall/rule.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.Rule = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
8
31
|
/**
|
|
9
32
|
* The `unifi.firewall.Rule` resource manages firewall rules.
|
|
10
33
|
*
|
|
@@ -32,6 +55,8 @@ const utilities = require("../utilities");
|
|
|
32
55
|
*
|
|
33
56
|
* ## Import
|
|
34
57
|
*
|
|
58
|
+
* The `pulumi import` command can be used, for example:
|
|
59
|
+
*
|
|
35
60
|
* import using the ID from the controller API/UI
|
|
36
61
|
*
|
|
37
62
|
* ```sh
|
|
@@ -51,6 +76,8 @@ class Rule extends pulumi.CustomResource {
|
|
|
51
76
|
static get(name, id, state, opts) {
|
|
52
77
|
return new Rule(name, state, { ...opts, id: id });
|
|
53
78
|
}
|
|
79
|
+
/** @internal */
|
|
80
|
+
static __pulumiType = 'unifi:firewall/rule:Rule';
|
|
54
81
|
/**
|
|
55
82
|
* Returns true if the given object is an instance of Rule. This is designed to work even
|
|
56
83
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -142,6 +169,4 @@ class Rule extends pulumi.CustomResource {
|
|
|
142
169
|
}
|
|
143
170
|
}
|
|
144
171
|
exports.Rule = Rule;
|
|
145
|
-
/** @internal */
|
|
146
|
-
Rule.__pulumiType = 'unifi:firewall/rule:Rule';
|
|
147
172
|
//# sourceMappingURL=rule.js.map
|
package/firewall/rule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../firewall/rule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"rule.js","sourceRoot":"","sources":["../../firewall/rule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0BAA0B,CAAC;IAEjE;;;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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA4LD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cA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AE,cAAc,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAnSL,oBAoSC"}
|
package/firewall/zone.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* Firewall zones allow you to group networks together for firewall rule application. This resource allows you to create, update, and delete firewall zones.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* > This is experimental feature, that requires UniFi OS 9.0.0 or later and Zone Based Firewall feature enabled. Check [official documentation](https://help.ui.com/hc/en-us/articles/28223082254743-Migrating-to-Zone-Based-Firewalls-in-UniFi) how to migate to Zone-Based firewalls.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
@@ -26,6 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
*
|
|
27
27
|
* ## Import
|
|
28
28
|
*
|
|
29
|
+
* The `pulumi import` command can be used, for example:
|
|
30
|
+
*
|
|
29
31
|
* import from provider configured site
|
|
30
32
|
*
|
|
31
33
|
* ```sh
|
|
@@ -82,15 +84,15 @@ export interface ZoneState {
|
|
|
82
84
|
/**
|
|
83
85
|
* The name of the firewall zone.
|
|
84
86
|
*/
|
|
85
|
-
name?: pulumi.Input<string>;
|
|
87
|
+
name?: pulumi.Input<string | undefined>;
|
|
86
88
|
/**
|
|
87
89
|
* List of network IDs to include in this firewall zone.
|
|
88
90
|
*/
|
|
89
|
-
networks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
91
|
+
networks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
90
92
|
/**
|
|
91
93
|
* The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
|
|
92
94
|
*/
|
|
93
|
-
site?: pulumi.Input<string>;
|
|
95
|
+
site?: pulumi.Input<string | undefined>;
|
|
94
96
|
}
|
|
95
97
|
/**
|
|
96
98
|
* The set of arguments for constructing a Zone resource.
|
|
@@ -99,13 +101,14 @@ export interface ZoneArgs {
|
|
|
99
101
|
/**
|
|
100
102
|
* The name of the firewall zone.
|
|
101
103
|
*/
|
|
102
|
-
name?: pulumi.Input<string>;
|
|
104
|
+
name?: pulumi.Input<string | undefined>;
|
|
103
105
|
/**
|
|
104
106
|
* List of network IDs to include in this firewall zone.
|
|
105
107
|
*/
|
|
106
|
-
networks?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
|
+
networks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
107
109
|
/**
|
|
108
110
|
* The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
|
|
109
111
|
*/
|
|
110
|
-
site?: pulumi.Input<string>;
|
|
112
|
+
site?: pulumi.Input<string | undefined>;
|
|
111
113
|
}
|
|
114
|
+
//# sourceMappingURL=zone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zone.d.ts","sourceRoot":"","sources":["../../firewall/zone.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,qBAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;W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