@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/ap/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
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
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Group = exports.getGroupOutput = exports.getGroup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.getGroup = null;
|
|
32
|
+
exports.getGroupOutput = null;
|
|
33
|
+
utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
|
|
34
|
+
exports.Group = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
|
36
|
+
const _module = {
|
|
37
|
+
version: utilities.getVersion(),
|
|
38
|
+
construct: (name, type, urn) => {
|
|
39
|
+
switch (type) {
|
|
40
|
+
case "unifi:ap/group:Group":
|
|
41
|
+
return new exports.Group(name, undefined, { urn });
|
|
42
|
+
default:
|
|
43
|
+
throw new Error(`unknown resource type ${type}`);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
pulumi.runtime.registerResourceModule("unifi", "ap/group", _module);
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
package/ap/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ap/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI3E,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;AAGjE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sBAAsB;gBACvB,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA"}
|
package/config/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export declare const apiKey: string | undefined;
|
|
|
10
10
|
* URL of the controller API. Can be specified with the `UNIFI_API` environment variable. You should **NOT** supply the path (`/api`), the SDK will discover the appropriate paths. This is to support UDM Pro style API paths as well as more standard controller paths.
|
|
11
11
|
*/
|
|
12
12
|
export declare const apiUrl: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Maximum number of additional attempts the provider makes when the controller returns a transient response (network/connection errors, HTTP 5xx or 429 status codes, or an HTML body instead of JSON, which can happen under parallel load). Only idempotent requests (`GET`, `HEAD`, `PUT`, `DELETE`, `OPTIONS`) are retried. Defaults to `0`, which disables retries and preserves the default behavior. Can be specified with the `UNIFI_MAX_RETRIES` environment variable.
|
|
15
|
+
*/
|
|
16
|
+
export declare const httpMaxRetries: number | undefined;
|
|
13
17
|
/**
|
|
14
18
|
* Password for the user accessing the API. Can be specified with the `UNIFI_PASSWORD` environment variable.
|
|
15
19
|
*/
|
|
@@ -22,3 +26,4 @@ export declare const site: string | undefined;
|
|
|
22
26
|
* Local user name for the Unifi controller API. Can be specified with the `UNIFI_USERNAME` environment variable.
|
|
23
27
|
*/
|
|
24
28
|
export declare const username: string | undefined;
|
|
29
|
+
//# sourceMappingURL=vars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,aAAa,EAAE,OAAO,GAAG,SAAS,CAAC;AAQxD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;AAQxD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;AAQ9C;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC"}
|
package/config/vars.js
CHANGED
|
@@ -1,9 +1,32 @@
|
|
|
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
|
-
const pulumi = require("@pulumi/pulumi");
|
|
6
|
-
const utilities = require("../utilities");
|
|
28
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
29
|
+
const utilities = __importStar(require("../utilities"));
|
|
7
30
|
const __config = new pulumi.Config("unifi");
|
|
8
31
|
Object.defineProperty(exports, "allowInsecure", {
|
|
9
32
|
get() {
|
|
@@ -23,6 +46,12 @@ Object.defineProperty(exports, "apiUrl", {
|
|
|
23
46
|
},
|
|
24
47
|
enumerable: true,
|
|
25
48
|
});
|
|
49
|
+
Object.defineProperty(exports, "httpMaxRetries", {
|
|
50
|
+
get() {
|
|
51
|
+
return __config.getObject("httpMaxRetries");
|
|
52
|
+
},
|
|
53
|
+
enumerable: true,
|
|
54
|
+
});
|
|
26
55
|
Object.defineProperty(exports, "password", {
|
|
27
56
|
get() {
|
|
28
57
|
return __config.get("password") ?? utilities.getEnv("UNIFI_PASSWORD");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAM5C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,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AAQ,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,SAAS,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;IAC1E,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/device.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as outputs from "./types/output";
|
|
|
21
21
|
* name: "poe",
|
|
22
22
|
* forward: "customize",
|
|
23
23
|
* nativeNetworkconfId: nativeNetworkId,
|
|
24
|
-
*
|
|
24
|
+
* excludedNetworkIds: [someVlanNetworkId],
|
|
25
25
|
* poeMode: "auto",
|
|
26
26
|
* });
|
|
27
27
|
* const us24Poe = new unifi.Device("us_24_poe", {
|
|
@@ -39,6 +39,21 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
* portProfileId: disabled.then(disabled => disabled.id),
|
|
40
40
|
* },
|
|
41
41
|
* {
|
|
42
|
+
* number: 3,
|
|
43
|
+
* name: "access vlan",
|
|
44
|
+
* forward: "customize",
|
|
45
|
+
* nativeNetworkconfId: nativeNetworkId,
|
|
46
|
+
* settingPreference: "manual",
|
|
47
|
+
* },
|
|
48
|
+
* {
|
|
49
|
+
* number: 4,
|
|
50
|
+
* name: "trunk except guest",
|
|
51
|
+
* forward: "customize",
|
|
52
|
+
* taggedVlanMgmt: "custom",
|
|
53
|
+
* excludedNetworkIds: [someVlanNetworkId],
|
|
54
|
+
* settingPreference: "manual",
|
|
55
|
+
* },
|
|
56
|
+
* {
|
|
42
57
|
* number: 11,
|
|
43
58
|
* opMode: "aggregate",
|
|
44
59
|
* aggregateNumPorts: 2,
|
|
@@ -75,6 +90,10 @@ export declare class Device extends pulumi.CustomResource {
|
|
|
75
90
|
* Whether the device is administratively disabled. When true, the device will not forward traffic or provide services.
|
|
76
91
|
*/
|
|
77
92
|
readonly disabled: pulumi.Output<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* Etherlighting configuration for switches with per-port LEDs (e.g. USW Pro Max). `mode = "network"` colors each port's LED by the VLAN/network it serves (per-network colors come from the site-level Etherlighting palette); `mode = "speed"` colors by link speed. Only the fields you set are written — unset fields keep their controller-side values (read-modify-write overlay). Devices without Etherlighting hardware ignore this object.
|
|
95
|
+
*/
|
|
96
|
+
readonly etherLighting: pulumi.Output<outputs.DeviceEtherLighting | undefined>;
|
|
78
97
|
/**
|
|
79
98
|
* Whether to forget (un-adopt) the device when this resource is destroyed. When true:
|
|
80
99
|
* * The device will be removed from the controller
|
|
@@ -99,6 +118,7 @@ export declare class Device extends pulumi.CustomResource {
|
|
|
99
118
|
* A list of port-specific configuration overrides for UniFi switches. This allows you to customize individual port settings such as:
|
|
100
119
|
* * Port names and labels for easy identification
|
|
101
120
|
* * Port profiles for VLAN and security settings
|
|
121
|
+
* * Per-port native (untagged) and tagged VLAN behavior, inline, without authoring a `unifi.port.Profile`
|
|
102
122
|
* * Operating modes for special functions
|
|
103
123
|
*
|
|
104
124
|
* Common use cases include:
|
|
@@ -106,12 +126,26 @@ export declare class Device extends pulumi.CustomResource {
|
|
|
106
126
|
* * Configuring PoE settings for powered devices
|
|
107
127
|
* * Creating mirrored ports for network monitoring
|
|
108
128
|
* * Setting up link aggregation between switches or servers
|
|
129
|
+
*
|
|
130
|
+
* **Warning:** the controller stores port overrides as a single array on the device and the provider replaces the entire array on every apply. Any port whose override is set outside Terraform (e.g. via the UniFi UI or another tool) and is NOT declared here will have its override reset to the controller default on the next apply. Declare every port you want overridden.
|
|
131
|
+
*
|
|
132
|
+
* **Tagged-VLAN model:** there is no positive "allowed VLANs" list. With `forward = "customize"`, tagged traffic is *all* networks **minus** the ones listed in `excludedNetworkIds`, so an empty `excludedNetworkIds` means "trunk everything", not "trunk nothing".
|
|
109
133
|
*/
|
|
110
134
|
readonly portOverrides: pulumi.Output<outputs.DevicePortOverride[] | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Per-band radio configuration for access points. Each block configures ONE band (`ng` = 2.4GHz, `na` = 5GHz, `6e` = 6GHz). Only the bands you declare are managed — undeclared bands are left untouched (the provider read-modify-writes the device's full radio table to preserve them, so declaring just one band will not wipe the others). Common uses: disable a band (`txPowerMode = "disabled"`), pin a channel/width, or set a minimum-RSSI client kick. Applies to access points; has no effect on switches.
|
|
137
|
+
*
|
|
138
|
+
* Note: like other device fields, only non-zero values are written, so a field cannot be set back to its zero value through Terraform — manage by overriding with explicit non-zero values.
|
|
139
|
+
*/
|
|
140
|
+
readonly radios: pulumi.Output<outputs.DeviceRadio[] | undefined>;
|
|
111
141
|
/**
|
|
112
142
|
* The name of the UniFi site where the device is located. If not specified, the default site will be used.
|
|
113
143
|
*/
|
|
114
144
|
readonly site: pulumi.Output<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Whether per-port VLAN configuration is enabled on the device. Required for `portOverride` blocks with VLAN-tagging profiles (e.g. an IoT-VLAN `portProfileId`) to actually take effect on access points that expose passthrough Ethernet ports (UAP-UHDIW and similar in-wall units). Switches honor port profile VLAN bindings unconditionally; APs ignore them unless this flag is true. Note: the underlying field uses `omitempty` so setting this to `false` has no effect — once enabled on a device, it can only be disabled via the UI.
|
|
147
|
+
*/
|
|
148
|
+
readonly switchVlanEnabled: pulumi.Output<boolean>;
|
|
115
149
|
/**
|
|
116
150
|
* Create a Device resource with the given unique name, arguments, and options.
|
|
117
151
|
*
|
|
@@ -132,11 +166,15 @@ export interface DeviceState {
|
|
|
132
166
|
* * Device must be accessible on the network
|
|
133
167
|
* Set to false if you want to manage adoption manually.
|
|
134
168
|
*/
|
|
135
|
-
allowAdoption?: pulumi.Input<boolean>;
|
|
169
|
+
allowAdoption?: pulumi.Input<boolean | undefined>;
|
|
136
170
|
/**
|
|
137
171
|
* Whether the device is administratively disabled. When true, the device will not forward traffic or provide services.
|
|
138
172
|
*/
|
|
139
|
-
disabled?: pulumi.Input<boolean>;
|
|
173
|
+
disabled?: pulumi.Input<boolean | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Etherlighting configuration for switches with per-port LEDs (e.g. USW Pro Max). `mode = "network"` colors each port's LED by the VLAN/network it serves (per-network colors come from the site-level Etherlighting palette); `mode = "speed"` colors by link speed. Only the fields you set are written — unset fields keep their controller-side values (read-modify-write overlay). Devices without Etherlighting hardware ignore this object.
|
|
176
|
+
*/
|
|
177
|
+
etherLighting?: pulumi.Input<inputs.DeviceEtherLighting | undefined>;
|
|
140
178
|
/**
|
|
141
179
|
* Whether to forget (un-adopt) the device when this resource is destroyed. When true:
|
|
142
180
|
* * The device will be removed from the controller
|
|
@@ -144,11 +182,11 @@ export interface DeviceState {
|
|
|
144
182
|
* * Device configuration will be reset
|
|
145
183
|
* Set to false to keep the device adopted when removing from Terraform management.
|
|
146
184
|
*/
|
|
147
|
-
forgetOnDestroy?: pulumi.Input<boolean>;
|
|
185
|
+
forgetOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
148
186
|
/**
|
|
149
187
|
* The MAC address of the device in standard format (e.g., 'aa:bb:cc:dd:ee:ff'). This is used to identify and manage specific devices that have already been adopted by the controller.
|
|
150
188
|
*/
|
|
151
|
-
mac?: pulumi.Input<string>;
|
|
189
|
+
mac?: pulumi.Input<string | undefined>;
|
|
152
190
|
/**
|
|
153
191
|
* A friendly name for the device that will be displayed in the UniFi controller UI. Examples:
|
|
154
192
|
* * 'Office-AP-1' for an access point
|
|
@@ -156,11 +194,12 @@ export interface DeviceState {
|
|
|
156
194
|
* * 'Main-Gateway' for a gateway
|
|
157
195
|
* Choose descriptive names that indicate location and purpose.
|
|
158
196
|
*/
|
|
159
|
-
name?: pulumi.Input<string>;
|
|
197
|
+
name?: pulumi.Input<string | undefined>;
|
|
160
198
|
/**
|
|
161
199
|
* A list of port-specific configuration overrides for UniFi switches. This allows you to customize individual port settings such as:
|
|
162
200
|
* * Port names and labels for easy identification
|
|
163
201
|
* * Port profiles for VLAN and security settings
|
|
202
|
+
* * Per-port native (untagged) and tagged VLAN behavior, inline, without authoring a `unifi.port.Profile`
|
|
164
203
|
* * Operating modes for special functions
|
|
165
204
|
*
|
|
166
205
|
* Common use cases include:
|
|
@@ -168,12 +207,26 @@ export interface DeviceState {
|
|
|
168
207
|
* * Configuring PoE settings for powered devices
|
|
169
208
|
* * Creating mirrored ports for network monitoring
|
|
170
209
|
* * Setting up link aggregation between switches or servers
|
|
210
|
+
*
|
|
211
|
+
* **Warning:** the controller stores port overrides as a single array on the device and the provider replaces the entire array on every apply. Any port whose override is set outside Terraform (e.g. via the UniFi UI or another tool) and is NOT declared here will have its override reset to the controller default on the next apply. Declare every port you want overridden.
|
|
212
|
+
*
|
|
213
|
+
* **Tagged-VLAN model:** there is no positive "allowed VLANs" list. With `forward = "customize"`, tagged traffic is *all* networks **minus** the ones listed in `excludedNetworkIds`, so an empty `excludedNetworkIds` means "trunk everything", not "trunk nothing".
|
|
214
|
+
*/
|
|
215
|
+
portOverrides?: pulumi.Input<pulumi.Input<inputs.DevicePortOverride>[] | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* Per-band radio configuration for access points. Each block configures ONE band (`ng` = 2.4GHz, `na` = 5GHz, `6e` = 6GHz). Only the bands you declare are managed — undeclared bands are left untouched (the provider read-modify-writes the device's full radio table to preserve them, so declaring just one band will not wipe the others). Common uses: disable a band (`txPowerMode = "disabled"`), pin a channel/width, or set a minimum-RSSI client kick. Applies to access points; has no effect on switches.
|
|
218
|
+
*
|
|
219
|
+
* Note: like other device fields, only non-zero values are written, so a field cannot be set back to its zero value through Terraform — manage by overriding with explicit non-zero values.
|
|
171
220
|
*/
|
|
172
|
-
|
|
221
|
+
radios?: pulumi.Input<pulumi.Input<inputs.DeviceRadio>[] | undefined>;
|
|
173
222
|
/**
|
|
174
223
|
* The name of the UniFi site where the device is located. If not specified, the default site will be used.
|
|
175
224
|
*/
|
|
176
|
-
site?: pulumi.Input<string>;
|
|
225
|
+
site?: pulumi.Input<string | undefined>;
|
|
226
|
+
/**
|
|
227
|
+
* Whether per-port VLAN configuration is enabled on the device. Required for `portOverride` blocks with VLAN-tagging profiles (e.g. an IoT-VLAN `portProfileId`) to actually take effect on access points that expose passthrough Ethernet ports (UAP-UHDIW and similar in-wall units). Switches honor port profile VLAN bindings unconditionally; APs ignore them unless this flag is true. Note: the underlying field uses `omitempty` so setting this to `false` has no effect — once enabled on a device, it can only be disabled via the UI.
|
|
228
|
+
*/
|
|
229
|
+
switchVlanEnabled?: pulumi.Input<boolean | undefined>;
|
|
177
230
|
}
|
|
178
231
|
/**
|
|
179
232
|
* The set of arguments for constructing a Device resource.
|
|
@@ -186,7 +239,11 @@ export interface DeviceArgs {
|
|
|
186
239
|
* * Device must be accessible on the network
|
|
187
240
|
* Set to false if you want to manage adoption manually.
|
|
188
241
|
*/
|
|
189
|
-
allowAdoption?: pulumi.Input<boolean>;
|
|
242
|
+
allowAdoption?: pulumi.Input<boolean | undefined>;
|
|
243
|
+
/**
|
|
244
|
+
* Etherlighting configuration for switches with per-port LEDs (e.g. USW Pro Max). `mode = "network"` colors each port's LED by the VLAN/network it serves (per-network colors come from the site-level Etherlighting palette); `mode = "speed"` colors by link speed. Only the fields you set are written — unset fields keep their controller-side values (read-modify-write overlay). Devices without Etherlighting hardware ignore this object.
|
|
245
|
+
*/
|
|
246
|
+
etherLighting?: pulumi.Input<inputs.DeviceEtherLighting | undefined>;
|
|
190
247
|
/**
|
|
191
248
|
* Whether to forget (un-adopt) the device when this resource is destroyed. When true:
|
|
192
249
|
* * The device will be removed from the controller
|
|
@@ -194,11 +251,11 @@ export interface DeviceArgs {
|
|
|
194
251
|
* * Device configuration will be reset
|
|
195
252
|
* Set to false to keep the device adopted when removing from Terraform management.
|
|
196
253
|
*/
|
|
197
|
-
forgetOnDestroy?: pulumi.Input<boolean>;
|
|
254
|
+
forgetOnDestroy?: pulumi.Input<boolean | undefined>;
|
|
198
255
|
/**
|
|
199
256
|
* The MAC address of the device in standard format (e.g., 'aa:bb:cc:dd:ee:ff'). This is used to identify and manage specific devices that have already been adopted by the controller.
|
|
200
257
|
*/
|
|
201
|
-
mac?: pulumi.Input<string>;
|
|
258
|
+
mac?: pulumi.Input<string | undefined>;
|
|
202
259
|
/**
|
|
203
260
|
* A friendly name for the device that will be displayed in the UniFi controller UI. Examples:
|
|
204
261
|
* * 'Office-AP-1' for an access point
|
|
@@ -206,11 +263,12 @@ export interface DeviceArgs {
|
|
|
206
263
|
* * 'Main-Gateway' for a gateway
|
|
207
264
|
* Choose descriptive names that indicate location and purpose.
|
|
208
265
|
*/
|
|
209
|
-
name?: pulumi.Input<string>;
|
|
266
|
+
name?: pulumi.Input<string | undefined>;
|
|
210
267
|
/**
|
|
211
268
|
* A list of port-specific configuration overrides for UniFi switches. This allows you to customize individual port settings such as:
|
|
212
269
|
* * Port names and labels for easy identification
|
|
213
270
|
* * Port profiles for VLAN and security settings
|
|
271
|
+
* * Per-port native (untagged) and tagged VLAN behavior, inline, without authoring a `unifi.port.Profile`
|
|
214
272
|
* * Operating modes for special functions
|
|
215
273
|
*
|
|
216
274
|
* Common use cases include:
|
|
@@ -218,10 +276,25 @@ export interface DeviceArgs {
|
|
|
218
276
|
* * Configuring PoE settings for powered devices
|
|
219
277
|
* * Creating mirrored ports for network monitoring
|
|
220
278
|
* * Setting up link aggregation between switches or servers
|
|
279
|
+
*
|
|
280
|
+
* **Warning:** the controller stores port overrides as a single array on the device and the provider replaces the entire array on every apply. Any port whose override is set outside Terraform (e.g. via the UniFi UI or another tool) and is NOT declared here will have its override reset to the controller default on the next apply. Declare every port you want overridden.
|
|
281
|
+
*
|
|
282
|
+
* **Tagged-VLAN model:** there is no positive "allowed VLANs" list. With `forward = "customize"`, tagged traffic is *all* networks **minus** the ones listed in `excludedNetworkIds`, so an empty `excludedNetworkIds` means "trunk everything", not "trunk nothing".
|
|
221
283
|
*/
|
|
222
|
-
portOverrides?: pulumi.Input<pulumi.Input<inputs.DevicePortOverride>[]>;
|
|
284
|
+
portOverrides?: pulumi.Input<pulumi.Input<inputs.DevicePortOverride>[] | undefined>;
|
|
285
|
+
/**
|
|
286
|
+
* Per-band radio configuration for access points. Each block configures ONE band (`ng` = 2.4GHz, `na` = 5GHz, `6e` = 6GHz). Only the bands you declare are managed — undeclared bands are left untouched (the provider read-modify-writes the device's full radio table to preserve them, so declaring just one band will not wipe the others). Common uses: disable a band (`txPowerMode = "disabled"`), pin a channel/width, or set a minimum-RSSI client kick. Applies to access points; has no effect on switches.
|
|
287
|
+
*
|
|
288
|
+
* Note: like other device fields, only non-zero values are written, so a field cannot be set back to its zero value through Terraform — manage by overriding with explicit non-zero values.
|
|
289
|
+
*/
|
|
290
|
+
radios?: pulumi.Input<pulumi.Input<inputs.DeviceRadio>[] | undefined>;
|
|
223
291
|
/**
|
|
224
292
|
* The name of the UniFi site where the device is located. If not specified, the default site will be used.
|
|
225
293
|
*/
|
|
226
|
-
site?: pulumi.Input<string>;
|
|
294
|
+
site?: pulumi.Input<string | undefined>;
|
|
295
|
+
/**
|
|
296
|
+
* Whether per-port VLAN configuration is enabled on the device. Required for `portOverride` blocks with VLAN-tagging profiles (e.g. an IoT-VLAN `portProfileId`) to actually take effect on access points that expose passthrough Ethernet ports (UAP-UHDIW and similar in-wall units). Switches honor port profile VLAN bindings unconditionally; APs ignore them unless this flag is true. Note: the underlying field uses `omitempty` so setting this to `false` has no effect — once enabled on a device, it can only be disabled via the UI.
|
|
297
|
+
*/
|
|
298
|
+
switchVlanEnabled?: pulumi.Input<boolean | undefined>;
|
|
227
299
|
}
|
|
300
|
+
//# sourceMappingURL=device.d.ts.map
|
package/device.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../device.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cA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;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACrE;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;;;;;;;;;;;;;;OAgBG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACpF;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACzD"}
|
package/device.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.Device = 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.Device` resource manages UniFi network devices such as access points, switches, gateways, etc.
|
|
10
33
|
*
|
|
@@ -25,7 +48,7 @@ const utilities = require("./utilities");
|
|
|
25
48
|
* name: "poe",
|
|
26
49
|
* forward: "customize",
|
|
27
50
|
* nativeNetworkconfId: nativeNetworkId,
|
|
28
|
-
*
|
|
51
|
+
* excludedNetworkIds: [someVlanNetworkId],
|
|
29
52
|
* poeMode: "auto",
|
|
30
53
|
* });
|
|
31
54
|
* const us24Poe = new unifi.Device("us_24_poe", {
|
|
@@ -43,6 +66,21 @@ const utilities = require("./utilities");
|
|
|
43
66
|
* portProfileId: disabled.then(disabled => disabled.id),
|
|
44
67
|
* },
|
|
45
68
|
* {
|
|
69
|
+
* number: 3,
|
|
70
|
+
* name: "access vlan",
|
|
71
|
+
* forward: "customize",
|
|
72
|
+
* nativeNetworkconfId: nativeNetworkId,
|
|
73
|
+
* settingPreference: "manual",
|
|
74
|
+
* },
|
|
75
|
+
* {
|
|
76
|
+
* number: 4,
|
|
77
|
+
* name: "trunk except guest",
|
|
78
|
+
* forward: "customize",
|
|
79
|
+
* taggedVlanMgmt: "custom",
|
|
80
|
+
* excludedNetworkIds: [someVlanNetworkId],
|
|
81
|
+
* settingPreference: "manual",
|
|
82
|
+
* },
|
|
83
|
+
* {
|
|
46
84
|
* number: 11,
|
|
47
85
|
* opMode: "aggregate",
|
|
48
86
|
* aggregateNumPorts: 2,
|
|
@@ -64,6 +102,8 @@ class Device extends pulumi.CustomResource {
|
|
|
64
102
|
static get(name, id, state, opts) {
|
|
65
103
|
return new Device(name, state, { ...opts, id: id });
|
|
66
104
|
}
|
|
105
|
+
/** @internal */
|
|
106
|
+
static __pulumiType = 'unifi:index/device:Device';
|
|
67
107
|
/**
|
|
68
108
|
* Returns true if the given object is an instance of Device. This is designed to work even
|
|
69
109
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -81,20 +121,26 @@ class Device extends pulumi.CustomResource {
|
|
|
81
121
|
const state = argsOrState;
|
|
82
122
|
resourceInputs["allowAdoption"] = state?.allowAdoption;
|
|
83
123
|
resourceInputs["disabled"] = state?.disabled;
|
|
124
|
+
resourceInputs["etherLighting"] = state?.etherLighting;
|
|
84
125
|
resourceInputs["forgetOnDestroy"] = state?.forgetOnDestroy;
|
|
85
126
|
resourceInputs["mac"] = state?.mac;
|
|
86
127
|
resourceInputs["name"] = state?.name;
|
|
87
128
|
resourceInputs["portOverrides"] = state?.portOverrides;
|
|
129
|
+
resourceInputs["radios"] = state?.radios;
|
|
88
130
|
resourceInputs["site"] = state?.site;
|
|
131
|
+
resourceInputs["switchVlanEnabled"] = state?.switchVlanEnabled;
|
|
89
132
|
}
|
|
90
133
|
else {
|
|
91
134
|
const args = argsOrState;
|
|
92
135
|
resourceInputs["allowAdoption"] = args?.allowAdoption;
|
|
136
|
+
resourceInputs["etherLighting"] = args?.etherLighting;
|
|
93
137
|
resourceInputs["forgetOnDestroy"] = args?.forgetOnDestroy;
|
|
94
138
|
resourceInputs["mac"] = args?.mac;
|
|
95
139
|
resourceInputs["name"] = args?.name;
|
|
96
140
|
resourceInputs["portOverrides"] = args?.portOverrides;
|
|
141
|
+
resourceInputs["radios"] = args?.radios;
|
|
97
142
|
resourceInputs["site"] = args?.site;
|
|
143
|
+
resourceInputs["switchVlanEnabled"] = args?.switchVlanEnabled;
|
|
98
144
|
resourceInputs["disabled"] = undefined /*out*/;
|
|
99
145
|
}
|
|
100
146
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -102,6 +148,4 @@ class Device extends pulumi.CustomResource {
|
|
|
102
148
|
}
|
|
103
149
|
}
|
|
104
150
|
exports.Device = Device;
|
|
105
|
-
/** @internal */
|
|
106
|
-
Device.__pulumiType = 'unifi:index/device:Device';
|
|
107
151
|
//# sourceMappingURL=device.js.map
|
package/device.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sourceRoot":"","sources":["../device.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../device.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4D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zC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,iBAAiB,CAAC;SAClE;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAvIL,wBAwIC"}
|
package/dns/getRecord.d.ts
CHANGED
|
@@ -104,13 +104,14 @@ export interface GetRecordOutputArgs {
|
|
|
104
104
|
/**
|
|
105
105
|
* DNS record name.
|
|
106
106
|
*/
|
|
107
|
-
name?: pulumi.Input<string>;
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
108
|
/**
|
|
109
109
|
* The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
|
|
110
110
|
*/
|
|
111
|
-
site?: pulumi.Input<string>;
|
|
111
|
+
site?: pulumi.Input<string | undefined>;
|
|
112
112
|
/**
|
|
113
113
|
* DNS record content.
|
|
114
114
|
*/
|
|
115
|
-
value?: pulumi.Input<string>;
|
|
115
|
+
value?: pulumi.Input<string | undefined>;
|
|
116
116
|
}
|
|
117
|
+
//# sourceMappingURL=getRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRecord.d.ts","sourceRoot":"","sources":["../../dns/getRecord.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,CAQrG;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAQ7H;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
package/dns/getRecord.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.getRecordOutput = exports.getRecord = 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
|
* Retrieves information about a specific DNS record configured in your UniFi network. This data source allows you to look up DNS records by either their name or record content. It's particularly useful for validating existing DNS configurations or referencing DNS records in other resources.
|
|
10
33
|
*
|
package/dns/getRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../dns/getRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRecord.js","sourceRoot":"","sources":["../../dns/getRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAiED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAAiC;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+BAA+B,EAAE;QAChE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC"}
|
package/dns/getRecords.d.ts
CHANGED
|
@@ -59,5 +59,6 @@ export interface GetRecordsOutputArgs {
|
|
|
59
59
|
/**
|
|
60
60
|
* The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.
|
|
61
61
|
*/
|
|
62
|
-
site?: pulumi.Input<string>;
|
|
62
|
+
site?: pulumi.Input<string | undefined>;
|
|
63
63
|
}
|
|
64
|
+
//# sourceMappingURL=getRecords.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRecords.d.ts","sourceRoot":"","sources":["../../dns/getRecords.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAMxG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IACjD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAMhI;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/dns/getRecords.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.getRecordsOutput = exports.getRecords = 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
|
* Retrieves information about a all DNS records.
|
|
10
33
|
*
|
package/dns/getRecords.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecords.js","sourceRoot":"","sources":["../../dns/getRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRecords.js","sourceRoot":"","sources":["../../dns/getRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/dns/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export declare const getRecordsOutput: typeof import("./getRecords").getRecordsO
|
|
|
7
7
|
export { RecordArgs, RecordState } from "./record";
|
|
8
8
|
export type Record = import("./record").Record;
|
|
9
9
|
export declare const Record: typeof import("./record").Record;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../dns/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClF,eAAO,MAAM,SAAS,EAAE,cAAc,aAAa,EAAE,SAAuB,CAAC;AAC7E,eAAO,MAAM,eAAe,EAAE,cAAc,aAAa,EAAE,eAA6B,CAAC;AAGzF,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACtF,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAChF,eAAO,MAAM,gBAAgB,EAAE,cAAc,cAAc,EAAE,gBAA8B,CAAC;AAG5F,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACnD,MAAM,MAAM,MAAM,GAAG,OAAO,UAAU,EAAE,MAAM,CAAC;AAC/C,eAAO,MAAM,MAAM,EAAE,cAAc,UAAU,EAAE,MAAoB,CAAC"}
|