@pulumi/juniper-mist 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/LICENSE +177 -0
  2. package/README.md +50 -0
  3. package/config/index.d.ts +1 -0
  4. package/config/index.js +21 -0
  5. package/config/index.js.map +1 -0
  6. package/config/vars.d.ts +27 -0
  7. package/config/vars.js +43 -0
  8. package/config/vars.js.map +1 -0
  9. package/device/ap.d.ts +381 -0
  10. package/device/ap.js +145 -0
  11. package/device/ap.js.map +1 -0
  12. package/device/base.d.ts +221 -0
  13. package/device/base.js +113 -0
  14. package/device/base.js.map +1 -0
  15. package/device/gateway.d.ts +432 -0
  16. package/device/gateway.js +163 -0
  17. package/device/gateway.js.map +1 -0
  18. package/device/gatewayCluster.d.ts +70 -0
  19. package/device/gatewayCluster.js +85 -0
  20. package/device/gatewayCluster.js.map +1 -0
  21. package/device/getApStats.d.ts +100 -0
  22. package/device/getApStats.js +53 -0
  23. package/device/getApStats.js.map +1 -0
  24. package/device/getGatewayStats.d.ts +100 -0
  25. package/device/getGatewayStats.js +53 -0
  26. package/device/getGatewayStats.js.map +1 -0
  27. package/device/getSwitchStats.d.ts +124 -0
  28. package/device/getSwitchStats.js +55 -0
  29. package/device/getSwitchStats.js.map +1 -0
  30. package/device/index.d.ts +24 -0
  31. package/device/index.js +51 -0
  32. package/device/index.js.map +1 -0
  33. package/device/switch.d.ts +518 -0
  34. package/device/switch.js +158 -0
  35. package/device/switch.js.map +1 -0
  36. package/getConstAppCategories.d.ts +38 -0
  37. package/getConstAppCategories.js +41 -0
  38. package/getConstAppCategories.js.map +1 -0
  39. package/getConstAppSubCategories.d.ts +38 -0
  40. package/getConstAppSubCategories.js +41 -0
  41. package/getConstAppSubCategories.js.map +1 -0
  42. package/getConstApplications.d.ts +38 -0
  43. package/getConstApplications.js +41 -0
  44. package/getConstApplications.js.map +1 -0
  45. package/getConstCountries.d.ts +38 -0
  46. package/getConstCountries.js +41 -0
  47. package/getConstCountries.js.map +1 -0
  48. package/getConstTrafficTypes.d.ts +38 -0
  49. package/getConstTrafficTypes.js +41 -0
  50. package/getConstTrafficTypes.js.map +1 -0
  51. package/getSites.d.ts +55 -0
  52. package/getSites.js +47 -0
  53. package/getSites.js.map +1 -0
  54. package/index.d.ts +27 -0
  55. package/index.js +48 -0
  56. package/index.js.map +1 -0
  57. package/org/base.d.ts +88 -0
  58. package/org/base.js +75 -0
  59. package/org/base.js.map +1 -0
  60. package/org/deviceprofileAp.d.ts +264 -0
  61. package/org/deviceprofileAp.js +112 -0
  62. package/org/deviceprofileAp.js.map +1 -0
  63. package/org/deviceprofileAssign.d.ts +64 -0
  64. package/org/deviceprofileAssign.js +81 -0
  65. package/org/deviceprofileAssign.js.map +1 -0
  66. package/org/deviceprofileGateway.d.ts +325 -0
  67. package/org/deviceprofileGateway.js +109 -0
  68. package/org/deviceprofileGateway.js.map +1 -0
  69. package/org/gatewaytemplate.d.ts +323 -0
  70. package/org/gatewaytemplate.js +105 -0
  71. package/org/gatewaytemplate.js.map +1 -0
  72. package/org/getDeviceprofilesAp.d.ts +55 -0
  73. package/org/getDeviceprofilesAp.js +47 -0
  74. package/org/getDeviceprofilesAp.js.map +1 -0
  75. package/org/getDeviceprofilesGateway.d.ts +55 -0
  76. package/org/getDeviceprofilesGateway.js +47 -0
  77. package/org/getDeviceprofilesGateway.js.map +1 -0
  78. package/org/getGatewaytemplates.d.ts +55 -0
  79. package/org/getGatewaytemplates.js +47 -0
  80. package/org/getGatewaytemplates.js.map +1 -0
  81. package/org/getIdpprofiles.d.ts +55 -0
  82. package/org/getIdpprofiles.js +47 -0
  83. package/org/getIdpprofiles.js.map +1 -0
  84. package/org/getInventory.d.ts +139 -0
  85. package/org/getInventory.js +54 -0
  86. package/org/getInventory.js.map +1 -0
  87. package/org/getNacrules.d.ts +55 -0
  88. package/org/getNacrules.js +47 -0
  89. package/org/getNacrules.js.map +1 -0
  90. package/org/getNactags.d.ts +55 -0
  91. package/org/getNactags.js +47 -0
  92. package/org/getNactags.js.map +1 -0
  93. package/org/getNetworks.d.ts +55 -0
  94. package/org/getNetworks.js +47 -0
  95. package/org/getNetworks.js.map +1 -0
  96. package/org/getNetworktemplates.d.ts +55 -0
  97. package/org/getNetworktemplates.js +47 -0
  98. package/org/getNetworktemplates.js.map +1 -0
  99. package/org/getRftemplates.d.ts +55 -0
  100. package/org/getRftemplates.js +47 -0
  101. package/org/getRftemplates.js.map +1 -0
  102. package/org/getServicepolicies.d.ts +55 -0
  103. package/org/getServicepolicies.js +47 -0
  104. package/org/getServicepolicies.js.map +1 -0
  105. package/org/getServices.d.ts +55 -0
  106. package/org/getServices.js +47 -0
  107. package/org/getServices.js.map +1 -0
  108. package/org/getSitegroups.d.ts +55 -0
  109. package/org/getSitegroups.js +47 -0
  110. package/org/getSitegroups.js.map +1 -0
  111. package/org/getVpns.d.ts +33 -0
  112. package/org/getVpns.js +25 -0
  113. package/org/getVpns.js.map +1 -0
  114. package/org/getWlantemplates.d.ts +55 -0
  115. package/org/getWlantemplates.js +47 -0
  116. package/org/getWlantemplates.js.map +1 -0
  117. package/org/getWxtags.d.ts +55 -0
  118. package/org/getWxtags.js +47 -0
  119. package/org/getWxtags.js.map +1 -0
  120. package/org/idpprofile.d.ts +62 -0
  121. package/org/idpprofile.js +64 -0
  122. package/org/idpprofile.js.map +1 -0
  123. package/org/index.d.ts +111 -0
  124. package/org/index.js +171 -0
  125. package/org/index.js.map +1 -0
  126. package/org/inventory.d.ts +47 -0
  127. package/org/inventory.js +57 -0
  128. package/org/inventory.js.map +1 -0
  129. package/org/nacrule.d.ts +101 -0
  130. package/org/nacrule.js +75 -0
  131. package/org/nacrule.js.map +1 -0
  132. package/org/nactag.d.ts +225 -0
  133. package/org/nactag.js +99 -0
  134. package/org/nactag.js.map +1 -0
  135. package/org/network.d.ts +154 -0
  136. package/org/network.js +98 -0
  137. package/org/network.js.map +1 -0
  138. package/org/networktemplate.d.ts +260 -0
  139. package/org/networktemplate.js +97 -0
  140. package/org/networktemplate.js.map +1 -0
  141. package/org/rftemplate.d.ts +167 -0
  142. package/org/rftemplate.js +79 -0
  143. package/org/rftemplate.js.map +1 -0
  144. package/org/service.d.ts +212 -0
  145. package/org/service.js +93 -0
  146. package/org/service.js.map +1 -0
  147. package/org/servicepolicy.d.ts +110 -0
  148. package/org/servicepolicy.js +73 -0
  149. package/org/servicepolicy.js.map +1 -0
  150. package/org/setting.d.ts +253 -0
  151. package/org/setting.js +125 -0
  152. package/org/setting.js.map +1 -0
  153. package/org/sitegroup.d.ts +57 -0
  154. package/org/sitegroup.js +69 -0
  155. package/org/sitegroup.js.map +1 -0
  156. package/org/vpn.d.ts +56 -0
  157. package/org/vpn.js +62 -0
  158. package/org/vpn.js.map +1 -0
  159. package/org/wlan.d.ts +1114 -0
  160. package/org/wlan.js +268 -0
  161. package/org/wlan.js.map +1 -0
  162. package/org/wlantemplate.d.ts +95 -0
  163. package/org/wlantemplate.js +65 -0
  164. package/org/wlantemplate.js.map +1 -0
  165. package/org/wxrule.d.ts +149 -0
  166. package/org/wxrule.js +102 -0
  167. package/org/wxrule.js.map +1 -0
  168. package/org/wxtag.d.ts +177 -0
  169. package/org/wxtag.js +90 -0
  170. package/org/wxtag.js.map +1 -0
  171. package/package.json +31 -0
  172. package/provider.d.ts +76 -0
  173. package/provider.js +52 -0
  174. package/provider.js.map +1 -0
  175. package/site/index.d.ts +15 -0
  176. package/site/index.js +42 -0
  177. package/site/index.js.map +1 -0
  178. package/site/networktemplate.d.ts +260 -0
  179. package/site/networktemplate.js +94 -0
  180. package/site/networktemplate.js.map +1 -0
  181. package/site/setting.d.ts +430 -0
  182. package/site/setting.js +135 -0
  183. package/site/setting.js.map +1 -0
  184. package/site/wlan.d.ts +1112 -0
  185. package/site/wlan.js +264 -0
  186. package/site/wlan.js.map +1 -0
  187. package/site/wxrule.d.ts +150 -0
  188. package/site/wxrule.js +100 -0
  189. package/site/wxrule.js.map +1 -0
  190. package/site/wxtag.d.ts +179 -0
  191. package/site/wxtag.js +92 -0
  192. package/site/wxtag.js.map +1 -0
  193. package/types/index.d.ts +3 -0
  194. package/types/index.js +11 -0
  195. package/types/index.js.map +1 -0
  196. package/types/input.d.ts +9877 -0
  197. package/types/input.js +5 -0
  198. package/types/input.js.map +1 -0
  199. package/types/output.d.ts +11698 -0
  200. package/types/output.js +5 -0
  201. package/types/output.js.map +1 -0
  202. package/utilities.d.ts +8 -0
  203. package/utilities.js +101 -0
  204. package/utilities.js.map +1 -0
@@ -0,0 +1,179 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * This resource manages the Site Wxlan tags (labels).A WxTag is a label or tag used in the mist system to classify and categorize applications, users, and resources for the purpose of creating policies and making network management decisions.They can be used * within the WxRules to create filtering rules, or assign specific VLAN * in the WLANs configuration to assign a WLAN to specific APs * to identify unknown application used by Wi-Fi clients
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as junipermist from "@pulumi/juniper-mist";
12
+ *
13
+ * const wtagOne = new junipermist.site.Wxtag("wtag_one", {
14
+ * siteId: terraformTest.id,
15
+ * name: "wtag_one",
16
+ * values: ["10.3.0.0/16"],
17
+ * op: "in",
18
+ * type: "match",
19
+ * match: "ip_range_subnet",
20
+ * });
21
+ * ```
22
+ */
23
+ export declare class Wxtag extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing Wxtag resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WxtagState, opts?: pulumi.CustomResourceOptions): Wxtag;
34
+ /**
35
+ * Returns true if the given object is an instance of Wxtag. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj: any): obj is Wxtag;
39
+ /**
40
+ * if `type`==`client`, Client MAC Address
41
+ */
42
+ readonly mac: pulumi.Output<string | undefined>;
43
+ /**
44
+ * required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
45
+ * `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
46
+ */
47
+ readonly match: pulumi.Output<string | undefined>;
48
+ /**
49
+ * The name
50
+ */
51
+ readonly name: pulumi.Output<string>;
52
+ /**
53
+ * required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
54
+ */
55
+ readonly op: pulumi.Output<string>;
56
+ readonly orgId: pulumi.Output<string>;
57
+ readonly siteId: pulumi.Output<string>;
58
+ /**
59
+ * if `type`==`spec`
60
+ */
61
+ readonly specs: pulumi.Output<outputs.site.WxtagSpec[] | undefined>;
62
+ /**
63
+ * enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
64
+ */
65
+ readonly type: pulumi.Output<string>;
66
+ /**
67
+ * required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
68
+ * `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
69
+ * `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
70
+ * `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
71
+ * Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
72
+ * other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
73
+ * ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
74
+ * Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
75
+ * `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
76
+ * of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
77
+ */
78
+ readonly values: pulumi.Output<string[] | undefined>;
79
+ readonly vlanId: pulumi.Output<string | undefined>;
80
+ /**
81
+ * Create a Wxtag resource with the given unique name, arguments, and options.
82
+ *
83
+ * @param name The _unique_ name of the resource.
84
+ * @param args The arguments to use to populate this resource's properties.
85
+ * @param opts A bag of options that control this resource's behavior.
86
+ */
87
+ constructor(name: string, args: WxtagArgs, opts?: pulumi.CustomResourceOptions);
88
+ }
89
+ /**
90
+ * Input properties used for looking up and filtering Wxtag resources.
91
+ */
92
+ export interface WxtagState {
93
+ /**
94
+ * if `type`==`client`, Client MAC Address
95
+ */
96
+ mac?: pulumi.Input<string>;
97
+ /**
98
+ * required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
99
+ * `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
100
+ */
101
+ match?: pulumi.Input<string>;
102
+ /**
103
+ * The name
104
+ */
105
+ name?: pulumi.Input<string>;
106
+ /**
107
+ * required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
108
+ */
109
+ op?: pulumi.Input<string>;
110
+ orgId?: pulumi.Input<string>;
111
+ siteId?: pulumi.Input<string>;
112
+ /**
113
+ * if `type`==`spec`
114
+ */
115
+ specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[]>;
116
+ /**
117
+ * enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
118
+ */
119
+ type?: pulumi.Input<string>;
120
+ /**
121
+ * required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
122
+ * `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
123
+ * `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
124
+ * `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
125
+ * Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
126
+ * other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
127
+ * ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
128
+ * Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
129
+ * `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
130
+ * of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
131
+ */
132
+ values?: pulumi.Input<pulumi.Input<string>[]>;
133
+ vlanId?: pulumi.Input<string>;
134
+ }
135
+ /**
136
+ * The set of arguments for constructing a Wxtag resource.
137
+ */
138
+ export interface WxtagArgs {
139
+ /**
140
+ * if `type`==`client`, Client MAC Address
141
+ */
142
+ mac?: pulumi.Input<string>;
143
+ /**
144
+ * required if `type`==`match`. enum: `apId`, `app`, `assetMac`, `clientMac`, `hostname`, `ipRangeSubnet`, `port`,
145
+ * `pskName`, `pskRole`, `radiusAttr`, `radiusClass`, `radiusGroup`, `radiusUsername`, `sdkclientUuid`, `wlanId`
146
+ */
147
+ match?: pulumi.Input<string>;
148
+ /**
149
+ * The name
150
+ */
151
+ name?: pulumi.Input<string>;
152
+ /**
153
+ * required if `type`==`match`, type of tag (inclusive/exclusive). enum: `in`, `notIn`
154
+ */
155
+ op?: pulumi.Input<string>;
156
+ siteId: pulumi.Input<string>;
157
+ /**
158
+ * if `type`==`spec`
159
+ */
160
+ specs?: pulumi.Input<pulumi.Input<inputs.site.WxtagSpec>[]>;
161
+ /**
162
+ * enum: `client`, `match`, `resource`, `spec`, `subnet`, `vlan`
163
+ */
164
+ type: pulumi.Input<string>;
165
+ /**
166
+ * required if `type`==`match` and * `match`==`apId`: list of AP IDs * `match`==`app`: list of Application Names *
167
+ * `match`==`assetMac`: list of Asset MAC Addresses * `match`==`clientMac`: list of Client MAC Addresses *
168
+ * `match`==`hostname`: list of Resources Hostnames * `match`==`ipRangeSubnet`: list of IP Addresses and/or CIDRs *
169
+ * `match`==`pskName`: list of PSK Names * `match`==`pskRole`: list of PSK Roles * `match`==`port`: list of Ports or Port
170
+ * Ranges * `match`==`radiusAttr`: list of RADIUS Attributes. The values are [ “6=1”, “26=10.2.3.4” ], this support
171
+ * other RADIUS attributes where we know the type * `match`==`radiusClass`: list of RADIUS Classes. This matches the
172
+ * ATTR-Class(25) * `match`==`radiusGroup`: list of RADIUS Groups. This is a smart tag that matches RADIUS-Filter-ID,
173
+ * Airespace-ACL-Name (VendorID=14179, VendorType=6) / Aruba-User-Role (VendorID=14823, VendorType=1) *
174
+ * `match`==`radiusUsername`: list of RADIUS Usernames. This matches the ATTR-User-Name(1) * `match`==`sdkclientUuid`: list
175
+ * of SDK UUIDs * `match`==`wlanId`: list of WLAN IDs **Notes**: Variables are not allowed
176
+ */
177
+ values?: pulumi.Input<pulumi.Input<string>[]>;
178
+ vlanId?: pulumi.Input<string>;
179
+ }
package/site/wxtag.js ADDED
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Wxtag = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * This resource manages the Site Wxlan tags (labels).A WxTag is a label or tag used in the mist system to classify and categorize applications, users, and resources for the purpose of creating policies and making network management decisions.They can be used * within the WxRules to create filtering rules, or assign specific VLAN * in the WLANs configuration to assign a WLAN to specific APs * to identify unknown application used by Wi-Fi clients
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as junipermist from "@pulumi/juniper-mist";
16
+ *
17
+ * const wtagOne = new junipermist.site.Wxtag("wtag_one", {
18
+ * siteId: terraformTest.id,
19
+ * name: "wtag_one",
20
+ * values: ["10.3.0.0/16"],
21
+ * op: "in",
22
+ * type: "match",
23
+ * match: "ip_range_subnet",
24
+ * });
25
+ * ```
26
+ */
27
+ class Wxtag extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing Wxtag resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name, id, state, opts) {
38
+ return new Wxtag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
39
+ }
40
+ /**
41
+ * Returns true if the given object is an instance of Wxtag. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj) {
45
+ if (obj === undefined || obj === null) {
46
+ return false;
47
+ }
48
+ return obj['__pulumiType'] === Wxtag.__pulumiType;
49
+ }
50
+ constructor(name, argsOrState, opts) {
51
+ let resourceInputs = {};
52
+ opts = opts || {};
53
+ if (opts.id) {
54
+ const state = argsOrState;
55
+ resourceInputs["mac"] = state ? state.mac : undefined;
56
+ resourceInputs["match"] = state ? state.match : undefined;
57
+ resourceInputs["name"] = state ? state.name : undefined;
58
+ resourceInputs["op"] = state ? state.op : undefined;
59
+ resourceInputs["orgId"] = state ? state.orgId : undefined;
60
+ resourceInputs["siteId"] = state ? state.siteId : undefined;
61
+ resourceInputs["specs"] = state ? state.specs : undefined;
62
+ resourceInputs["type"] = state ? state.type : undefined;
63
+ resourceInputs["values"] = state ? state.values : undefined;
64
+ resourceInputs["vlanId"] = state ? state.vlanId : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.siteId === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'siteId'");
70
+ }
71
+ if ((!args || args.type === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'type'");
73
+ }
74
+ resourceInputs["mac"] = args ? args.mac : undefined;
75
+ resourceInputs["match"] = args ? args.match : undefined;
76
+ resourceInputs["name"] = args ? args.name : undefined;
77
+ resourceInputs["op"] = args ? args.op : undefined;
78
+ resourceInputs["siteId"] = args ? args.siteId : undefined;
79
+ resourceInputs["specs"] = args ? args.specs : undefined;
80
+ resourceInputs["type"] = args ? args.type : undefined;
81
+ resourceInputs["values"] = args ? args.values : undefined;
82
+ resourceInputs["vlanId"] = args ? args.vlanId : undefined;
83
+ resourceInputs["orgId"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(Wxtag.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.Wxtag = Wxtag;
90
+ /** @internal */
91
+ Wxtag.__pulumiType = 'junipermist:site/wxtag:Wxtag';
92
+ //# sourceMappingURL=wxtag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wxtag.js","sourceRoot":"","sources":["../../site/wxtag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KA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AM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAlHL,sBAmHC;AArGG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import * as input from "./input";
2
+ import * as output from "./output";
3
+ export { input, output, };
package/types/index.js ADDED
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.output = exports.input = void 0;
6
+ // Export sub-modules:
7
+ const input = require("./input");
8
+ exports.input = input;
9
+ const output = require("./output");
10
+ exports.output = output;
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}