oci-networkfirewall 2.32.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.
Files changed (251) hide show
  1. package/LICENSE.txt +89 -0
  2. package/NOTICE.txt +1 -0
  3. package/README.md +22 -0
  4. package/THIRD_PARTY_LICENSES.txt +576 -0
  5. package/index.d.ts +22 -0
  6. package/index.js +45 -0
  7. package/index.js.map +1 -0
  8. package/lib/client.d.ts +232 -0
  9. package/lib/client.js +1302 -0
  10. package/lib/client.js.map +1 -0
  11. package/lib/model/action-type.d.ts +32 -0
  12. package/lib/model/action-type.js +43 -0
  13. package/lib/model/action-type.js.map +1 -0
  14. package/lib/model/application.d.ts +24 -0
  15. package/lib/model/application.js +77 -0
  16. package/lib/model/application.js.map +1 -0
  17. package/lib/model/change-network-firewall-compartment-details.d.ts +27 -0
  18. package/lib/model/change-network-firewall-compartment-details.js +29 -0
  19. package/lib/model/change-network-firewall-compartment-details.js.map +1 -0
  20. package/lib/model/change-network-firewall-policy-compartment-details.d.ts +27 -0
  21. package/lib/model/change-network-firewall-policy-compartment-details.js +29 -0
  22. package/lib/model/change-network-firewall-policy-compartment-details.js.map +1 -0
  23. package/lib/model/create-network-firewall-details.d.ts +74 -0
  24. package/lib/model/create-network-firewall-details.js +29 -0
  25. package/lib/model/create-network-firewall-details.js.map +1 -0
  26. package/lib/model/create-network-firewall-policy-details.d.ts +105 -0
  27. package/lib/model/create-network-firewall-policy-details.js +84 -0
  28. package/lib/model/create-network-firewall-policy-details.js.map +1 -0
  29. package/lib/model/decryption-profile.d.ts +22 -0
  30. package/lib/model/decryption-profile.js +69 -0
  31. package/lib/model/decryption-profile.js.map +1 -0
  32. package/lib/model/decryption-rule-match-criteria.d.ts +29 -0
  33. package/lib/model/decryption-rule-match-criteria.js +29 -0
  34. package/lib/model/decryption-rule-match-criteria.js.map +1 -0
  35. package/lib/model/decryption-rule.d.ts +54 -0
  36. package/lib/model/decryption-rule.js +67 -0
  37. package/lib/model/decryption-rule.js.map +1 -0
  38. package/lib/model/icmp-application.d.ts +32 -0
  39. package/lib/model/icmp-application.js +52 -0
  40. package/lib/model/icmp-application.js.map +1 -0
  41. package/lib/model/icmp6-application.d.ts +32 -0
  42. package/lib/model/icmp6-application.js +52 -0
  43. package/lib/model/icmp6-application.js.map +1 -0
  44. package/lib/model/index.d.ts +96 -0
  45. package/lib/model/index.js +119 -0
  46. package/lib/model/index.js.map +1 -0
  47. package/lib/model/lifecycle-state.d.ts +32 -0
  48. package/lib/model/lifecycle-state.js +43 -0
  49. package/lib/model/lifecycle-state.js.map +1 -0
  50. package/lib/model/mapped-secret.d.ts +39 -0
  51. package/lib/model/mapped-secret.js +75 -0
  52. package/lib/model/mapped-secret.js.map +1 -0
  53. package/lib/model/network-firewall-collection.d.ts +26 -0
  54. package/lib/model/network-firewall-collection.js +61 -0
  55. package/lib/model/network-firewall-collection.js.map +1 -0
  56. package/lib/model/network-firewall-policy-summary-collection.d.ts +26 -0
  57. package/lib/model/network-firewall-policy-summary-collection.js +61 -0
  58. package/lib/model/network-firewall-policy-summary-collection.js.map +1 -0
  59. package/lib/model/network-firewall-policy-summary.d.ts +82 -0
  60. package/lib/model/network-firewall-policy-summary.js +29 -0
  61. package/lib/model/network-firewall-policy-summary.js.map +1 -0
  62. package/lib/model/network-firewall-policy.d.ts +144 -0
  63. package/lib/model/network-firewall-policy.js +84 -0
  64. package/lib/model/network-firewall-policy.js.map +1 -0
  65. package/lib/model/network-firewall-summary.d.ts +105 -0
  66. package/lib/model/network-firewall-summary.js +29 -0
  67. package/lib/model/network-firewall-summary.js.map +1 -0
  68. package/lib/model/network-firewall.d.ts +109 -0
  69. package/lib/model/network-firewall.js +29 -0
  70. package/lib/model/network-firewall.js.map +1 -0
  71. package/lib/model/operation-status.d.ts +33 -0
  72. package/lib/model/operation-status.js +44 -0
  73. package/lib/model/operation-status.js.map +1 -0
  74. package/lib/model/operation-type.d.ts +34 -0
  75. package/lib/model/operation-type.js +45 -0
  76. package/lib/model/operation-type.js.map +1 -0
  77. package/lib/model/security-rule-match-criteria.d.ts +39 -0
  78. package/lib/model/security-rule-match-criteria.js +29 -0
  79. package/lib/model/security-rule-match-criteria.js.map +1 -0
  80. package/lib/model/security-rule.d.ts +68 -0
  81. package/lib/model/security-rule.js +79 -0
  82. package/lib/model/security-rule.js.map +1 -0
  83. package/lib/model/simple-url-pattern.d.ts +64 -0
  84. package/lib/model/simple-url-pattern.js +52 -0
  85. package/lib/model/simple-url-pattern.js.map +1 -0
  86. package/lib/model/sort-order.d.ts +23 -0
  87. package/lib/model/sort-order.js +34 -0
  88. package/lib/model/sort-order.js.map +1 -0
  89. package/lib/model/ssl-forward-proxy-profile.d.ts +62 -0
  90. package/lib/model/ssl-forward-proxy-profile.js +54 -0
  91. package/lib/model/ssl-forward-proxy-profile.js.map +1 -0
  92. package/lib/model/ssl-inbound-inspection-profile.d.ts +36 -0
  93. package/lib/model/ssl-inbound-inspection-profile.js +54 -0
  94. package/lib/model/ssl-inbound-inspection-profile.js.map +1 -0
  95. package/lib/model/tcp-application.d.ts +32 -0
  96. package/lib/model/tcp-application.js +52 -0
  97. package/lib/model/tcp-application.js.map +1 -0
  98. package/lib/model/udp-application.d.ts +32 -0
  99. package/lib/model/udp-application.js +52 -0
  100. package/lib/model/udp-application.js.map +1 -0
  101. package/lib/model/update-network-firewall-details.d.ts +51 -0
  102. package/lib/model/update-network-firewall-details.js +29 -0
  103. package/lib/model/update-network-firewall-details.js.map +1 -0
  104. package/lib/model/update-network-firewall-policy-details.d.ts +101 -0
  105. package/lib/model/update-network-firewall-policy-details.js +84 -0
  106. package/lib/model/update-network-firewall-policy-details.js.map +1 -0
  107. package/lib/model/url-pattern.d.ts +23 -0
  108. package/lib/model/url-pattern.js +65 -0
  109. package/lib/model/url-pattern.js.map +1 -0
  110. package/lib/model/vault-mapped-secret.d.ts +32 -0
  111. package/lib/model/vault-mapped-secret.js +52 -0
  112. package/lib/model/vault-mapped-secret.js.map +1 -0
  113. package/lib/model/work-request-error-collection.d.ts +26 -0
  114. package/lib/model/work-request-error-collection.js +61 -0
  115. package/lib/model/work-request-error-collection.js.map +1 -0
  116. package/lib/model/work-request-error.d.ts +35 -0
  117. package/lib/model/work-request-error.js +29 -0
  118. package/lib/model/work-request-error.js.map +1 -0
  119. package/lib/model/work-request-log-entry-collection.d.ts +26 -0
  120. package/lib/model/work-request-log-entry-collection.js +61 -0
  121. package/lib/model/work-request-log-entry-collection.js.map +1 -0
  122. package/lib/model/work-request-log-entry.d.ts +29 -0
  123. package/lib/model/work-request-log-entry.js +29 -0
  124. package/lib/model/work-request-log-entry.js.map +1 -0
  125. package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
  126. package/lib/model/work-request-resource-metadata-key.js +38 -0
  127. package/lib/model/work-request-resource-metadata-key.js.map +1 -0
  128. package/lib/model/work-request-resource.d.ts +48 -0
  129. package/lib/model/work-request-resource.js +29 -0
  130. package/lib/model/work-request-resource.js.map +1 -0
  131. package/lib/model/work-request-summary-collection.d.ts +26 -0
  132. package/lib/model/work-request-summary-collection.js +61 -0
  133. package/lib/model/work-request-summary-collection.js.map +1 -0
  134. package/lib/model/work-request-summary.d.ts +67 -0
  135. package/lib/model/work-request-summary.js +61 -0
  136. package/lib/model/work-request-summary.js.map +1 -0
  137. package/lib/model/work-request.d.ts +67 -0
  138. package/lib/model/work-request.js +61 -0
  139. package/lib/model/work-request.js.map +1 -0
  140. package/lib/networkfirewall-waiter.d.ts +44 -0
  141. package/lib/networkfirewall-waiter.js +88 -0
  142. package/lib/networkfirewall-waiter.js.map +1 -0
  143. package/lib/request/cancel-work-request-request.d.ts +35 -0
  144. package/lib/request/cancel-work-request-request.js +15 -0
  145. package/lib/request/cancel-work-request-request.js.map +1 -0
  146. package/lib/request/change-network-firewall-compartment-request.d.ts +40 -0
  147. package/lib/request/change-network-firewall-compartment-request.js +15 -0
  148. package/lib/request/change-network-firewall-compartment-request.js.map +1 -0
  149. package/lib/request/change-network-firewall-policy-compartment-request.d.ts +49 -0
  150. package/lib/request/change-network-firewall-policy-compartment-request.js +15 -0
  151. package/lib/request/change-network-firewall-policy-compartment-request.js.map +1 -0
  152. package/lib/request/create-network-firewall-policy-request.d.ts +36 -0
  153. package/lib/request/create-network-firewall-policy-request.js +15 -0
  154. package/lib/request/create-network-firewall-policy-request.js.map +1 -0
  155. package/lib/request/create-network-firewall-request.d.ts +36 -0
  156. package/lib/request/create-network-firewall-request.js +15 -0
  157. package/lib/request/create-network-firewall-request.js.map +1 -0
  158. package/lib/request/delete-network-firewall-policy-request.d.ts +35 -0
  159. package/lib/request/delete-network-firewall-policy-request.js +15 -0
  160. package/lib/request/delete-network-firewall-policy-request.js.map +1 -0
  161. package/lib/request/delete-network-firewall-request.d.ts +35 -0
  162. package/lib/request/delete-network-firewall-request.js +15 -0
  163. package/lib/request/delete-network-firewall-request.js.map +1 -0
  164. package/lib/request/get-network-firewall-policy-request.d.ts +26 -0
  165. package/lib/request/get-network-firewall-policy-request.js +15 -0
  166. package/lib/request/get-network-firewall-policy-request.js.map +1 -0
  167. package/lib/request/get-network-firewall-request.d.ts +26 -0
  168. package/lib/request/get-network-firewall-request.js +15 -0
  169. package/lib/request/get-network-firewall-request.js.map +1 -0
  170. package/lib/request/get-work-request-request.d.ts +26 -0
  171. package/lib/request/get-work-request-request.js +15 -0
  172. package/lib/request/get-work-request-request.js.map +1 -0
  173. package/lib/request/index.d.ts +46 -0
  174. package/lib/request/index.js +45 -0
  175. package/lib/request/index.js.map +1 -0
  176. package/lib/request/list-network-firewall-policies-request.d.ts +62 -0
  177. package/lib/request/list-network-firewall-policies-request.js +24 -0
  178. package/lib/request/list-network-firewall-policies-request.js.map +1 -0
  179. package/lib/request/list-network-firewalls-request.d.ts +73 -0
  180. package/lib/request/list-network-firewalls-request.js +24 -0
  181. package/lib/request/list-network-firewalls-request.js.map +1 -0
  182. package/lib/request/list-work-request-errors-request.d.ts +49 -0
  183. package/lib/request/list-work-request-errors-request.js +23 -0
  184. package/lib/request/list-work-request-errors-request.js.map +1 -0
  185. package/lib/request/list-work-request-logs-request.d.ts +49 -0
  186. package/lib/request/list-work-request-logs-request.js +23 -0
  187. package/lib/request/list-work-request-logs-request.js.map +1 -0
  188. package/lib/request/list-work-requests-request.d.ts +61 -0
  189. package/lib/request/list-work-requests-request.js +23 -0
  190. package/lib/request/list-work-requests-request.js.map +1 -0
  191. package/lib/request/update-network-firewall-policy-request.d.ts +40 -0
  192. package/lib/request/update-network-firewall-policy-request.js +15 -0
  193. package/lib/request/update-network-firewall-policy-request.js.map +1 -0
  194. package/lib/request/update-network-firewall-request.d.ts +40 -0
  195. package/lib/request/update-network-firewall-request.js +15 -0
  196. package/lib/request/update-network-firewall-request.js.map +1 -0
  197. package/lib/response/cancel-work-request-response.d.ts +20 -0
  198. package/lib/response/cancel-work-request-response.js +15 -0
  199. package/lib/response/cancel-work-request-response.js.map +1 -0
  200. package/lib/response/change-network-firewall-compartment-response.d.ts +25 -0
  201. package/lib/response/change-network-firewall-compartment-response.js +15 -0
  202. package/lib/response/change-network-firewall-compartment-response.js.map +1 -0
  203. package/lib/response/change-network-firewall-policy-compartment-response.d.ts +20 -0
  204. package/lib/response/change-network-firewall-policy-compartment-response.js +15 -0
  205. package/lib/response/change-network-firewall-policy-compartment-response.js.map +1 -0
  206. package/lib/response/create-network-firewall-policy-response.d.ts +35 -0
  207. package/lib/response/create-network-firewall-policy-response.js +15 -0
  208. package/lib/response/create-network-firewall-policy-response.js.map +1 -0
  209. package/lib/response/create-network-firewall-response.d.ts +35 -0
  210. package/lib/response/create-network-firewall-response.js +15 -0
  211. package/lib/response/create-network-firewall-response.js.map +1 -0
  212. package/lib/response/delete-network-firewall-policy-response.d.ts +25 -0
  213. package/lib/response/delete-network-firewall-policy-response.js +15 -0
  214. package/lib/response/delete-network-firewall-policy-response.js.map +1 -0
  215. package/lib/response/delete-network-firewall-response.d.ts +25 -0
  216. package/lib/response/delete-network-firewall-response.js +15 -0
  217. package/lib/response/delete-network-firewall-response.js.map +1 -0
  218. package/lib/response/get-network-firewall-policy-response.d.ts +30 -0
  219. package/lib/response/get-network-firewall-policy-response.js +15 -0
  220. package/lib/response/get-network-firewall-policy-response.js.map +1 -0
  221. package/lib/response/get-network-firewall-response.d.ts +30 -0
  222. package/lib/response/get-network-firewall-response.js +15 -0
  223. package/lib/response/get-network-firewall-response.js.map +1 -0
  224. package/lib/response/get-work-request-response.d.ts +34 -0
  225. package/lib/response/get-work-request-response.js +15 -0
  226. package/lib/response/get-work-request-response.js.map +1 -0
  227. package/lib/response/index.d.ts +46 -0
  228. package/lib/response/index.js +15 -0
  229. package/lib/response/index.js.map +1 -0
  230. package/lib/response/list-network-firewall-policies-response.d.ts +50 -0
  231. package/lib/response/list-network-firewall-policies-response.js +15 -0
  232. package/lib/response/list-network-firewall-policies-response.js.map +1 -0
  233. package/lib/response/list-network-firewalls-response.d.ts +50 -0
  234. package/lib/response/list-network-firewalls-response.js +15 -0
  235. package/lib/response/list-network-firewalls-response.js.map +1 -0
  236. package/lib/response/list-work-request-errors-response.d.ts +39 -0
  237. package/lib/response/list-work-request-errors-response.js +15 -0
  238. package/lib/response/list-work-request-errors-response.js.map +1 -0
  239. package/lib/response/list-work-request-logs-response.d.ts +39 -0
  240. package/lib/response/list-work-request-logs-response.js +15 -0
  241. package/lib/response/list-work-request-logs-response.js.map +1 -0
  242. package/lib/response/list-work-requests-response.d.ts +39 -0
  243. package/lib/response/list-work-requests-response.js +15 -0
  244. package/lib/response/list-work-requests-response.js.map +1 -0
  245. package/lib/response/update-network-firewall-policy-response.d.ts +25 -0
  246. package/lib/response/update-network-firewall-policy-response.js +15 -0
  247. package/lib/response/update-network-firewall-policy-response.js.map +1 -0
  248. package/lib/response/update-network-firewall-response.d.ts +25 -0
  249. package/lib/response/update-network-firewall-response.js +15 -0
  250. package/lib/response/update-network-firewall-response.js.map +1 -0
  251. package/package.json +29 -0
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.CreateNetworkFirewallPolicyDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ const common = require("oci-common");
37
+ var CreateNetworkFirewallPolicyDetails;
38
+ (function (CreateNetworkFirewallPolicyDetails) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "mappedSecrets": obj.mappedSecrets
42
+ ? common.mapContainer(obj.mappedSecrets, model.MappedSecret.getJsonObj)
43
+ : undefined,
44
+ "securityRules": obj.securityRules
45
+ ? obj.securityRules.map(item => {
46
+ return model.SecurityRule.getJsonObj(item);
47
+ })
48
+ : undefined,
49
+ "decryptionRules": obj.decryptionRules
50
+ ? obj.decryptionRules.map(item => {
51
+ return model.DecryptionRule.getJsonObj(item);
52
+ })
53
+ : undefined,
54
+ "decryptionProfiles": obj.decryptionProfiles
55
+ ? common.mapContainer(obj.decryptionProfiles, model.DecryptionProfile.getJsonObj)
56
+ : undefined
57
+ });
58
+ return jsonObj;
59
+ }
60
+ CreateNetworkFirewallPolicyDetails.getJsonObj = getJsonObj;
61
+ function getDeserializedJsonObj(obj) {
62
+ const jsonObj = Object.assign(Object.assign({}, obj), {
63
+ "mappedSecrets": obj.mappedSecrets
64
+ ? common.mapContainer(obj.mappedSecrets, model.MappedSecret.getDeserializedJsonObj)
65
+ : undefined,
66
+ "securityRules": obj.securityRules
67
+ ? obj.securityRules.map(item => {
68
+ return model.SecurityRule.getDeserializedJsonObj(item);
69
+ })
70
+ : undefined,
71
+ "decryptionRules": obj.decryptionRules
72
+ ? obj.decryptionRules.map(item => {
73
+ return model.DecryptionRule.getDeserializedJsonObj(item);
74
+ })
75
+ : undefined,
76
+ "decryptionProfiles": obj.decryptionProfiles
77
+ ? common.mapContainer(obj.decryptionProfiles, model.DecryptionProfile.getDeserializedJsonObj)
78
+ : undefined
79
+ });
80
+ return jsonObj;
81
+ }
82
+ CreateNetworkFirewallPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
83
+ })(CreateNetworkFirewallPolicyDetails = exports.CreateNetworkFirewallPolicyDetails || (exports.CreateNetworkFirewallPolicyDetails = {}));
84
+ //# sourceMappingURL=create-network-firewall-policy-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-network-firewall-policy-details.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/create-network-firewall-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA2EtC,IAAiB,kCAAkC,CAwDlD;AAxDD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CAAC,GAAuC;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC;gBACvE,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC7C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,6CAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuC;QAC5E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC;gBACnF,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC3B,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,MAAM,CAAC,YAAY,CACjB,GAAG,CAAC,kBAAkB,EACtB,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAC/C;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,yDAAsB,yBA4BrC,CAAA;AACH,CAAC,EAxDgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAwDlD"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Network Firewall API
3
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
4
+ * OpenAPI spec version: 20211001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Decryption Profile used on the firewall policy rules.
15
+ */
16
+ export interface DecryptionProfile {
17
+ "type": string;
18
+ }
19
+ export declare namespace DecryptionProfile {
20
+ function getJsonObj(obj: DecryptionProfile): object;
21
+ function getDeserializedJsonObj(obj: DecryptionProfile): object;
22
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.DecryptionProfile = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var DecryptionProfile;
37
+ (function (DecryptionProfile) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
40
+ if (obj && "type" in obj && obj.type) {
41
+ switch (obj.type) {
42
+ case "SSL_INBOUND_INSPECTION":
43
+ return model.SslInboundInspectionProfile.getJsonObj(jsonObj, true);
44
+ case "SSL_FORWARD_PROXY":
45
+ return model.SslForwardProxyProfile.getJsonObj(jsonObj, true);
46
+ default:
47
+ throw Error("Unknown value for: " + obj.type);
48
+ }
49
+ }
50
+ return jsonObj;
51
+ }
52
+ DecryptionProfile.getJsonObj = getJsonObj;
53
+ function getDeserializedJsonObj(obj) {
54
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
55
+ if (obj && "type" in obj && obj.type) {
56
+ switch (obj.type) {
57
+ case "SSL_INBOUND_INSPECTION":
58
+ return model.SslInboundInspectionProfile.getDeserializedJsonObj(jsonObj, true);
59
+ case "SSL_FORWARD_PROXY":
60
+ return model.SslForwardProxyProfile.getDeserializedJsonObj(jsonObj, true);
61
+ default:
62
+ throw Error("Unknown value for: " + obj.type);
63
+ }
64
+ }
65
+ return jsonObj;
66
+ }
67
+ DecryptionProfile.getDeserializedJsonObj = getDeserializedJsonObj;
68
+ })(DecryptionProfile = exports.DecryptionProfile || (exports.DecryptionProfile = {}));
69
+ //# sourceMappingURL=decryption-profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decryption-profile.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/decryption-profile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,iBAAiB,CA2CjC;AA3CD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,wBAAwB;oBAC3B,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,4BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,wBAAwB;oBAC3B,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,mBAAmB;oBACtB,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ;oBACE,MAAM,KAAK,CAAC,qBAAqB,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;aACjD;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA2CjC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Network Firewall API
3
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
4
+ * OpenAPI spec version: 20211001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ /**
14
+ * Match criteria used in Decryption Rule used on the firewall policy rules.
15
+ */
16
+ export interface DecryptionRuleMatchCriteria {
17
+ /**
18
+ * An array of IP address list names to be evaluated against the traffic source address.
19
+ */
20
+ "sources"?: Array<string>;
21
+ /**
22
+ * An array of IP address list names to be evaluated against the traffic destination address.
23
+ */
24
+ "destinations"?: Array<string>;
25
+ }
26
+ export declare namespace DecryptionRuleMatchCriteria {
27
+ function getJsonObj(obj: DecryptionRuleMatchCriteria): object;
28
+ function getDeserializedJsonObj(obj: DecryptionRuleMatchCriteria): object;
29
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.DecryptionRuleMatchCriteria = void 0;
16
+ var DecryptionRuleMatchCriteria;
17
+ (function (DecryptionRuleMatchCriteria) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ DecryptionRuleMatchCriteria.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ DecryptionRuleMatchCriteria.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(DecryptionRuleMatchCriteria = exports.DecryptionRuleMatchCriteria || (exports.DecryptionRuleMatchCriteria = {}));
29
+ //# sourceMappingURL=decryption-rule-match-criteria.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decryption-rule-match-criteria.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/decryption-rule-match-criteria.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Network Firewall API
3
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
4
+ * OpenAPI spec version: 20211001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * Decryption Rule used in the firewall policy rules.
16
+ * A Decryption Rule is used to define which traffic should be decrypted by the firewall, and how it should do so.
17
+ *
18
+ */
19
+ export interface DecryptionRule {
20
+ /**
21
+ * Name for the decryption rule, must be unique within the policy.
22
+ */
23
+ "name": string;
24
+ "condition": model.DecryptionRuleMatchCriteria;
25
+ /**
26
+ * Action:
27
+ * <p>
28
+ * NO_DECRYPT - Matching traffic is not decrypted.
29
+ * * DECRYPT - Matching traffic is decrypted with the specified `secret` according to the specified `decryptionProfile`.
30
+ *
31
+ */
32
+ "action": DecryptionRule.Action;
33
+ /**
34
+ * The name of the decryption profile to use.
35
+ */
36
+ "decryptionProfile"?: string;
37
+ /**
38
+ * The name of a mapped secret. Its `type` must match that of the specified decryption profile.
39
+ */
40
+ "secret"?: string;
41
+ }
42
+ export declare namespace DecryptionRule {
43
+ enum Action {
44
+ NoDecrypt = "NO_DECRYPT",
45
+ Decrypt = "DECRYPT",
46
+ /**
47
+ * This value is used if a service returns a value for this enum that is not recognized by this
48
+ * version of the SDK.
49
+ */
50
+ UnknownValue = "UNKNOWN_VALUE"
51
+ }
52
+ function getJsonObj(obj: DecryptionRule): object;
53
+ function getDeserializedJsonObj(obj: DecryptionRule): object;
54
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.DecryptionRule = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var DecryptionRule;
37
+ (function (DecryptionRule) {
38
+ let Action;
39
+ (function (Action) {
40
+ Action["NoDecrypt"] = "NO_DECRYPT";
41
+ Action["Decrypt"] = "DECRYPT";
42
+ /**
43
+ * This value is used if a service returns a value for this enum that is not recognized by this
44
+ * version of the SDK.
45
+ */
46
+ Action["UnknownValue"] = "UNKNOWN_VALUE";
47
+ })(Action = DecryptionRule.Action || (DecryptionRule.Action = {}));
48
+ function getJsonObj(obj) {
49
+ const jsonObj = Object.assign(Object.assign({}, obj), {
50
+ "condition": obj.condition
51
+ ? model.DecryptionRuleMatchCriteria.getJsonObj(obj.condition)
52
+ : undefined
53
+ });
54
+ return jsonObj;
55
+ }
56
+ DecryptionRule.getJsonObj = getJsonObj;
57
+ function getDeserializedJsonObj(obj) {
58
+ const jsonObj = Object.assign(Object.assign({}, obj), {
59
+ "condition": obj.condition
60
+ ? model.DecryptionRuleMatchCriteria.getDeserializedJsonObj(obj.condition)
61
+ : undefined
62
+ });
63
+ return jsonObj;
64
+ }
65
+ DecryptionRule.getDeserializedJsonObj = getDeserializedJsonObj;
66
+ })(DecryptionRule = exports.DecryptionRule || (exports.DecryptionRule = {}));
67
+ //# sourceMappingURL=decryption-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decryption-rule.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/decryption-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC7B,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,kCAAwB,CAAA;QACxB,6BAAmB,CAAA;QACnB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EARW,MAAM,GAAN,qBAAM,KAAN,qBAAM,QAQjB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAsB,yBAWrC,CAAA;AACH,CAAC,EAnCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmC9B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Network Firewall API
3
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
4
+ * OpenAPI spec version: 20211001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * ICMP Application used on the firewall policy rules.
16
+ */
17
+ export interface IcmpApplication extends model.Application {
18
+ /**
19
+ * The value of the ICMP message Type field as defined by [RFC 792](https://www.rfc-editor.org/rfc/rfc792.html). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
20
+ */
21
+ "icmpType": number;
22
+ /**
23
+ * The value of the ICMP message Code (subtype) field as defined by [RFC 792](https://www.rfc-editor.org/rfc/rfc792.html). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "icmpCode"?: number;
26
+ "type": string;
27
+ }
28
+ export declare namespace IcmpApplication {
29
+ function getJsonObj(obj: IcmpApplication, isParentJsonObj?: boolean): object;
30
+ const type = "ICMP";
31
+ function getDeserializedJsonObj(obj: IcmpApplication, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.IcmpApplication = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var IcmpApplication;
37
+ (function (IcmpApplication) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Application.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ IcmpApplication.getJsonObj = getJsonObj;
43
+ IcmpApplication.type = "ICMP";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.Application.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ IcmpApplication.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(IcmpApplication = exports.IcmpApplication || (exports.IcmpApplication = {}));
52
+ //# sourceMappingURL=icmp-application.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icmp-application.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/icmp-application.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,eAAe,CAoB/B;AApBD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,0BAAU,aAOzB,CAAA;IACY,oBAAI,GAAG,MAAM,CAAC;IAC3B,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoB/B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Network Firewall API
3
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
4
+ * OpenAPI spec version: 20211001
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ /**
15
+ * ICMP6 Application used on the firewall policy rules.
16
+ */
17
+ export interface Icmp6Application extends model.Application {
18
+ /**
19
+ * The value of the ICMP6 message Type field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
20
+ */
21
+ "icmpType": number;
22
+ /**
23
+ * The value of the ICMP6 message Code (subtype) field as defined by [RFC 4443](https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
24
+ */
25
+ "icmpCode"?: number;
26
+ "type": string;
27
+ }
28
+ export declare namespace Icmp6Application {
29
+ function getJsonObj(obj: Icmp6Application, isParentJsonObj?: boolean): object;
30
+ const type = "ICMP6";
31
+ function getDeserializedJsonObj(obj: Icmp6Application, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /**
3
+ * Network Firewall API
4
+ * Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
5
+ * OpenAPI spec version: 20211001
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.Icmp6Application = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var Icmp6Application;
37
+ (function (Icmp6Application) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Application.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ Icmp6Application.getJsonObj = getJsonObj;
43
+ Icmp6Application.type = "ICMP6";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.Application.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ Icmp6Application.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(Icmp6Application = exports.Icmp6Application || (exports.Icmp6Application = {}));
52
+ //# sourceMappingURL=icmp6-application.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icmp6-application.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/icmp6-application.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,gBAAgB,CAoBhC;AApBD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB,EAAE,eAAyB;QACzE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,CAAsB,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,2BAAU,aAOzB,CAAA;IACY,qBAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CAAC,GAAqB,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,GAAG,CAAsB,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAoBhC"}