oci-networkfirewall 2.109.1 → 2.110.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 (104) hide show
  1. package/lib/client.d.ts +58 -1
  2. package/lib/client.js +402 -1
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/create-nat-rule-details.d.ts +34 -0
  5. package/lib/model/create-nat-rule-details.js +74 -0
  6. package/lib/model/create-nat-rule-details.js.map +1 -0
  7. package/lib/model/create-nat-v4-rule-details.d.ts +33 -0
  8. package/lib/model/create-nat-v4-rule-details.js +62 -0
  9. package/lib/model/create-nat-v4-rule-details.js.map +1 -0
  10. package/lib/model/create-network-firewall-details.d.ts +2 -0
  11. package/lib/model/create-network-firewall-details.js +30 -2
  12. package/lib/model/create-network-firewall-details.js.map +1 -1
  13. package/lib/model/index.d.ts +28 -0
  14. package/lib/model/index.js +31 -3
  15. package/lib/model/index.js.map +1 -1
  16. package/lib/model/lifecycle-state.d.ts +0 -2
  17. package/lib/model/lifecycle-state.js +0 -2
  18. package/lib/model/lifecycle-state.js.map +1 -1
  19. package/lib/model/nat-configuration-request.d.ts +25 -0
  20. package/lib/model/nat-configuration-request.js +29 -0
  21. package/lib/model/nat-configuration-request.js.map +1 -0
  22. package/lib/model/nat-configuration-response.d.ts +29 -0
  23. package/lib/model/nat-configuration-response.js +29 -0
  24. package/lib/model/nat-configuration-response.js.map +1 -0
  25. package/lib/model/nat-rule-collection.d.ts +26 -0
  26. package/lib/model/nat-rule-collection.js +61 -0
  27. package/lib/model/nat-rule-collection.js.map +1 -0
  28. package/lib/model/nat-rule-match-criteria.d.ts +33 -0
  29. package/lib/model/nat-rule-match-criteria.js +29 -0
  30. package/lib/model/nat-rule-match-criteria.js.map +1 -0
  31. package/lib/model/nat-rule-summary.d.ts +40 -0
  32. package/lib/model/nat-rule-summary.js +68 -0
  33. package/lib/model/nat-rule-summary.js.map +1 -0
  34. package/lib/model/nat-rule.d.ts +41 -0
  35. package/lib/model/nat-rule.js +74 -0
  36. package/lib/model/nat-rule.js.map +1 -0
  37. package/lib/model/nat-type.d.ts +29 -0
  38. package/lib/model/nat-type.js +40 -0
  39. package/lib/model/nat-type.js.map +1 -0
  40. package/lib/model/nat-v4-action-type.d.ts +30 -0
  41. package/lib/model/nat-v4-action-type.js +41 -0
  42. package/lib/model/nat-v4-action-type.js.map +1 -0
  43. package/lib/model/nat-v4-nat-rule.d.ts +33 -0
  44. package/lib/model/nat-v4-nat-rule.js +58 -0
  45. package/lib/model/nat-v4-nat-rule.js.map +1 -0
  46. package/lib/model/nat-v4-nat-summary.d.ts +33 -0
  47. package/lib/model/nat-v4-nat-summary.js +60 -0
  48. package/lib/model/nat-v4-nat-summary.js.map +1 -0
  49. package/lib/model/network-firewall-summary.d.ts +1 -0
  50. package/lib/model/network-firewall-summary.js +30 -2
  51. package/lib/model/network-firewall-summary.js.map +1 -1
  52. package/lib/model/network-firewall.d.ts +1 -0
  53. package/lib/model/network-firewall.js +30 -2
  54. package/lib/model/network-firewall.js.map +1 -1
  55. package/lib/model/update-nat-rule-details.d.ts +30 -0
  56. package/lib/model/update-nat-rule-details.js +74 -0
  57. package/lib/model/update-nat-rule-details.js.map +1 -0
  58. package/lib/model/update-nat-v4-rule-details.d.ts +33 -0
  59. package/lib/model/update-nat-v4-rule-details.js +62 -0
  60. package/lib/model/update-nat-v4-rule-details.js.map +1 -0
  61. package/lib/model/update-network-firewall-details.d.ts +2 -0
  62. package/lib/model/update-network-firewall-details.js +30 -2
  63. package/lib/model/update-network-firewall-details.js.map +1 -1
  64. package/lib/request/bulk-upload-nat-rules-request.d.ts +50 -0
  65. package/lib/request/bulk-upload-nat-rules-request.js +15 -0
  66. package/lib/request/bulk-upload-nat-rules-request.js.map +1 -0
  67. package/lib/request/create-nat-rule-request.d.ts +40 -0
  68. package/lib/request/create-nat-rule-request.js +15 -0
  69. package/lib/request/create-nat-rule-request.js.map +1 -0
  70. package/lib/request/delete-nat-rule-request.d.ts +39 -0
  71. package/lib/request/delete-nat-rule-request.js +15 -0
  72. package/lib/request/delete-nat-rule-request.js.map +1 -0
  73. package/lib/request/get-nat-rule-request.d.ts +30 -0
  74. package/lib/request/get-nat-rule-request.js +15 -0
  75. package/lib/request/get-nat-rule-request.js.map +1 -0
  76. package/lib/request/index.d.ts +12 -0
  77. package/lib/request/index.js +3 -1
  78. package/lib/request/index.js.map +1 -1
  79. package/lib/request/list-nat-rules-request.d.ts +58 -0
  80. package/lib/request/list-nat-rules-request.js +24 -0
  81. package/lib/request/list-nat-rules-request.js.map +1 -0
  82. package/lib/request/update-nat-rule-request.d.ts +44 -0
  83. package/lib/request/update-nat-rule-request.js +15 -0
  84. package/lib/request/update-nat-rule-request.js.map +1 -0
  85. package/lib/response/bulk-upload-nat-rules-response.d.ts +25 -0
  86. package/lib/response/bulk-upload-nat-rules-response.js +15 -0
  87. package/lib/response/bulk-upload-nat-rules-response.js.map +1 -0
  88. package/lib/response/create-nat-rule-response.d.ts +30 -0
  89. package/lib/response/create-nat-rule-response.js +15 -0
  90. package/lib/response/create-nat-rule-response.js.map +1 -0
  91. package/lib/response/delete-nat-rule-response.d.ts +20 -0
  92. package/lib/response/delete-nat-rule-response.js +15 -0
  93. package/lib/response/delete-nat-rule-response.js.map +1 -0
  94. package/lib/response/get-nat-rule-response.d.ts +30 -0
  95. package/lib/response/get-nat-rule-response.js +15 -0
  96. package/lib/response/get-nat-rule-response.js.map +1 -0
  97. package/lib/response/index.d.ts +12 -0
  98. package/lib/response/list-nat-rules-response.d.ts +46 -0
  99. package/lib/response/list-nat-rules-response.js +15 -0
  100. package/lib/response/list-nat-rules-response.js.map +1 -0
  101. package/lib/response/update-nat-rule-response.d.ts +30 -0
  102. package/lib/response/update-nat-rule-response.js +15 -0
  103. package/lib/response/update-nat-rule-response.js.map +1 -0
  104. package/package.json +3 -3
@@ -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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatConfigurationResponse = void 0;
16
+ var NatConfigurationResponse;
17
+ (function (NatConfigurationResponse) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ NatConfigurationResponse.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ NatConfigurationResponse.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(NatConfigurationResponse = exports.NatConfigurationResponse || (exports.NatConfigurationResponse = {}));
29
+ //# sourceMappingURL=nat-configuration-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-configuration-response.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-configuration-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAWxC"}
@@ -0,0 +1,26 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * Collection of Nat Rule Summaries in the network firewall policy
16
+ */
17
+ export interface NatRuleCollection {
18
+ /**
19
+ * Collection of Nat Rule Summaries.
20
+ */
21
+ "items": Array<model.NatRuleSummary>;
22
+ }
23
+ export declare namespace NatRuleCollection {
24
+ function getJsonObj(obj: NatRuleCollection): object;
25
+ function getDeserializedJsonObj(obj: NatRuleCollection): object;
26
+ }
@@ -0,0 +1,61 @@
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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatRuleCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var NatRuleCollection;
37
+ (function (NatRuleCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.NatRuleSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ NatRuleCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.NatRuleSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ NatRuleCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(NatRuleCollection = exports.NatRuleCollection || (exports.NatRuleCollection = {}));
61
+ //# sourceMappingURL=nat-rule-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-rule-collection.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-rule-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,iBAAiB,CA6BjC;AA7BD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC/C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6BjC"}
@@ -0,0 +1,33 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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 NAT Rule used on the firewall policy.
15
+ */
16
+ export interface NatRuleMatchCriteria {
17
+ /**
18
+ * An array of IP address list names to be evaluated against the traffic source address.
19
+ */
20
+ "sourceAddress"?: Array<string>;
21
+ /**
22
+ * An array of IP address list names to be evaluated against the traffic destination address.
23
+ */
24
+ "destinationAddress"?: Array<string>;
25
+ /**
26
+ * A Service name to be evaluated against the traffic protocol and protocol-specific parameters.
27
+ */
28
+ "service"?: string;
29
+ }
30
+ export declare namespace NatRuleMatchCriteria {
31
+ function getJsonObj(obj: NatRuleMatchCriteria): object;
32
+ function getDeserializedJsonObj(obj: NatRuleMatchCriteria): object;
33
+ }
@@ -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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatRuleMatchCriteria = void 0;
16
+ var NatRuleMatchCriteria;
17
+ (function (NatRuleMatchCriteria) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ NatRuleMatchCriteria.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ NatRuleMatchCriteria.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(NatRuleMatchCriteria = exports.NatRuleMatchCriteria || (exports.NatRuleMatchCriteria = {}));
29
+ //# sourceMappingURL=nat-rule-match-criteria.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-rule-match-criteria.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-rule-match-criteria.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuBH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
@@ -0,0 +1,40 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * Summary of NAT Rules used in the firewall policy.
15
+ * A Nat Rule is used to define which traffic NAT should be applied by the firewall, and how it should do so.
16
+ *
17
+ */
18
+ export interface NatRuleSummary {
19
+ /**
20
+ * Name for the nat rule, must be unique within the policy.
21
+ */
22
+ "name": string;
23
+ /**
24
+ * Description of a NAT rule. This field can be used to add additional info.
25
+ */
26
+ "description"?: string;
27
+ /**
28
+ * The priority order in which this rule should be evaluated. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
29
+ */
30
+ "priorityOrder": number;
31
+ /**
32
+ * OCID of the Network Firewall Policy this application belongs to.
33
+ */
34
+ "parentResourceId": string;
35
+ "type": string;
36
+ }
37
+ export declare namespace NatRuleSummary {
38
+ function getJsonObj(obj: NatRuleSummary): object;
39
+ function getDeserializedJsonObj(obj: NatRuleSummary): object;
40
+ }
@@ -0,0 +1,68 @@
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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatRuleSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ const common = require("oci-common");
37
+ var NatRuleSummary;
38
+ (function (NatRuleSummary) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
41
+ if (obj && "type" in obj && obj.type) {
42
+ switch (obj.type) {
43
+ case "NATV4":
44
+ return model.NatV4NatSummary.getJsonObj(jsonObj, true);
45
+ default:
46
+ if (common.LOG.logger)
47
+ common.LOG.logger.info(`Unknown value for: ${obj.type}`);
48
+ }
49
+ }
50
+ return jsonObj;
51
+ }
52
+ NatRuleSummary.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 "NATV4":
58
+ return model.NatV4NatSummary.getDeserializedJsonObj(jsonObj, true);
59
+ default:
60
+ if (common.LOG.logger)
61
+ common.LOG.logger.info(`Unknown value for: ${obj.type}`);
62
+ }
63
+ }
64
+ return jsonObj;
65
+ }
66
+ NatRuleSummary.getDeserializedJsonObj = getDeserializedJsonObj;
67
+ })(NatRuleSummary = exports.NatRuleSummary || (exports.NatRuleSummary = {}));
68
+ //# sourceMappingURL=nat-rule-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-rule-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-rule-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA4BtC,IAAiB,cAAc,CA8B9B;AA9BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,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,OAAO;oBACV,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAiC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,yBAAU,aAYzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,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,OAAO;oBACV,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CACjB,OAAQ,EACxC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAsB,yBAerC,CAAA;AACH,CAAC,EA9BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA8B9B"}
@@ -0,0 +1,41 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * A Nat Rule is used to define to which traffic NAT should be applied by the firewall.
16
+ *
17
+ */
18
+ export interface NatRule {
19
+ /**
20
+ * Name for the NAT rule, must be unique within the policy.
21
+ */
22
+ "name": string;
23
+ /**
24
+ * Description of a NAT rule. This field can be used to add additional info.
25
+ */
26
+ "description"?: string;
27
+ /**
28
+ * The priority order in which this rule should be evaluated Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
29
+ */
30
+ "priorityOrder"?: number;
31
+ "position"?: model.RulePosition;
32
+ /**
33
+ * OCID of the Network Firewall Policy this decryption profile belongs to.
34
+ */
35
+ "parentResourceId": string;
36
+ "type": string;
37
+ }
38
+ export declare namespace NatRule {
39
+ function getJsonObj(obj: NatRule): object;
40
+ function getDeserializedJsonObj(obj: NatRule): object;
41
+ }
@@ -0,0 +1,74 @@
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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatRule = void 0;
35
+ const model = __importStar(require("../model"));
36
+ const common = require("oci-common");
37
+ var NatRule;
38
+ (function (NatRule) {
39
+ function getJsonObj(obj) {
40
+ const jsonObj = Object.assign(Object.assign({}, obj), {
41
+ "position": obj.position ? model.RulePosition.getJsonObj(obj.position) : undefined
42
+ });
43
+ if (obj && "type" in obj && obj.type) {
44
+ switch (obj.type) {
45
+ case "NATV4":
46
+ return model.NatV4NatRule.getJsonObj(jsonObj, true);
47
+ default:
48
+ if (common.LOG.logger)
49
+ common.LOG.logger.info(`Unknown value for: ${obj.type}`);
50
+ }
51
+ }
52
+ return jsonObj;
53
+ }
54
+ NatRule.getJsonObj = getJsonObj;
55
+ function getDeserializedJsonObj(obj) {
56
+ const jsonObj = Object.assign(Object.assign({}, obj), {
57
+ "position": obj.position
58
+ ? model.RulePosition.getDeserializedJsonObj(obj.position)
59
+ : undefined
60
+ });
61
+ if (obj && "type" in obj && obj.type) {
62
+ switch (obj.type) {
63
+ case "NATV4":
64
+ return model.NatV4NatRule.getDeserializedJsonObj(jsonObj, true);
65
+ default:
66
+ if (common.LOG.logger)
67
+ common.LOG.logger.info(`Unknown value for: ${obj.type}`);
68
+ }
69
+ }
70
+ return jsonObj;
71
+ }
72
+ NatRule.getDeserializedJsonObj = getDeserializedJsonObj;
73
+ })(NatRule = exports.NatRule || (exports.NatRule = {}));
74
+ //# sourceMappingURL=nat-rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-rule.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA4BtC,IAAiB,OAAO,CA0CvB;AA1CD,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,GAAY;QACrC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAA8B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,kBAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACjB,OAAQ,EACrC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,8BAAsB,yBAsBrC,CAAA;AACH,CAAC,EA1CgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA0CvB"}
@@ -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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * Action:
15
+ * * NATV4 - IPv4 type NAT.
16
+ *
17
+ **/
18
+ export declare enum NatType {
19
+ Natv4 = "NATV4",
20
+ /**
21
+ * This value is used if a service returns a value for this enum that is not recognized by this
22
+ * version of the SDK.
23
+ */
24
+ UnknownValue = "UNKNOWN_VALUE"
25
+ }
26
+ export declare namespace NatType {
27
+ function getJsonObj(obj: NatType): NatType;
28
+ function getDeserializedJsonObj(obj: NatType): NatType;
29
+ }
@@ -0,0 +1,40 @@
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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatType = void 0;
16
+ /**
17
+ * Action:
18
+ * * NATV4 - IPv4 type NAT.
19
+ *
20
+ **/
21
+ var NatType;
22
+ (function (NatType) {
23
+ NatType["Natv4"] = "NATV4";
24
+ /**
25
+ * This value is used if a service returns a value for this enum that is not recognized by this
26
+ * version of the SDK.
27
+ */
28
+ NatType["UnknownValue"] = "UNKNOWN_VALUE";
29
+ })(NatType = exports.NatType || (exports.NatType = {}));
30
+ (function (NatType) {
31
+ function getJsonObj(obj) {
32
+ return obj;
33
+ }
34
+ NatType.getJsonObj = getJsonObj;
35
+ function getDeserializedJsonObj(obj) {
36
+ return obj;
37
+ }
38
+ NatType.getDeserializedJsonObj = getDeserializedJsonObj;
39
+ })(NatType = exports.NatType || (exports.NatType = {}));
40
+ //# sourceMappingURL=nat-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-type.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;;IAII;AACJ,IAAY,OAQX;AARD,WAAY,OAAO;IACjB,0BAAe,CAAA;IAEf;;;OAGG;IACH,yCAA8B,CAAA;AAChC,CAAC,EARW,OAAO,GAAP,eAAO,KAAP,eAAO,QAQlB;AAED,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,GAAY;QACrC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,kBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAY;QACjD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,8BAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAOvB"}
@@ -0,0 +1,30 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * Types of NAT action support for NATv4 type NAT.
15
+ * <p>
16
+ * DIPP_SRC_NAT - Dynamic-ip-port source NAT.
17
+ *
18
+ **/
19
+ export declare enum NatV4ActionType {
20
+ DippSrcNat = "DIPP_SRC_NAT",
21
+ /**
22
+ * This value is used if a service returns a value for this enum that is not recognized by this
23
+ * version of the SDK.
24
+ */
25
+ UnknownValue = "UNKNOWN_VALUE"
26
+ }
27
+ export declare namespace NatV4ActionType {
28
+ function getJsonObj(obj: NatV4ActionType): NatV4ActionType;
29
+ function getDeserializedJsonObj(obj: NatV4ActionType): NatV4ActionType;
30
+ }
@@ -0,0 +1,41 @@
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: 20230501
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2025, 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.NatV4ActionType = void 0;
16
+ /**
17
+ * Types of NAT action support for NATv4 type NAT.
18
+ * <p>
19
+ * DIPP_SRC_NAT - Dynamic-ip-port source NAT.
20
+ *
21
+ **/
22
+ var NatV4ActionType;
23
+ (function (NatV4ActionType) {
24
+ NatV4ActionType["DippSrcNat"] = "DIPP_SRC_NAT";
25
+ /**
26
+ * This value is used if a service returns a value for this enum that is not recognized by this
27
+ * version of the SDK.
28
+ */
29
+ NatV4ActionType["UnknownValue"] = "UNKNOWN_VALUE";
30
+ })(NatV4ActionType = exports.NatV4ActionType || (exports.NatV4ActionType = {}));
31
+ (function (NatV4ActionType) {
32
+ function getJsonObj(obj) {
33
+ return obj;
34
+ }
35
+ NatV4ActionType.getJsonObj = getJsonObj;
36
+ function getDeserializedJsonObj(obj) {
37
+ return obj;
38
+ }
39
+ NatV4ActionType.getDeserializedJsonObj = getDeserializedJsonObj;
40
+ })(NatV4ActionType = exports.NatV4ActionType || (exports.NatV4ActionType = {}));
41
+ //# sourceMappingURL=nat-v4-action-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nat-v4-action-type.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-v4-action-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;;;IAKI;AACJ,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAE3B;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EARW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAQ1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
@@ -0,0 +1,33 @@
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: 20230501
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2025, 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
+ * A Nat Rule is used to define to which traffic NAT should be applied by the firewall.
16
+ *
17
+ */
18
+ export interface NatV4NatRule extends model.NatRule {
19
+ "condition": model.NatRuleMatchCriteria;
20
+ /**
21
+ * action:
22
+ * <p>
23
+ * DIPP_SRC_NAT - Dynamic-ip-port source NAT.
24
+ *
25
+ */
26
+ "action": model.NatV4ActionType;
27
+ "type": string;
28
+ }
29
+ export declare namespace NatV4NatRule {
30
+ function getJsonObj(obj: NatV4NatRule, isParentJsonObj?: boolean): object;
31
+ const type = "NATV4";
32
+ function getDeserializedJsonObj(obj: NatV4NatRule, isParentJsonObj?: boolean): object;
33
+ }