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.
- package/lib/client.d.ts +58 -1
- package/lib/client.js +402 -1
- package/lib/client.js.map +1 -1
- package/lib/model/create-nat-rule-details.d.ts +34 -0
- package/lib/model/create-nat-rule-details.js +74 -0
- package/lib/model/create-nat-rule-details.js.map +1 -0
- package/lib/model/create-nat-v4-rule-details.d.ts +33 -0
- package/lib/model/create-nat-v4-rule-details.js +62 -0
- package/lib/model/create-nat-v4-rule-details.js.map +1 -0
- package/lib/model/create-network-firewall-details.d.ts +2 -0
- package/lib/model/create-network-firewall-details.js +30 -2
- package/lib/model/create-network-firewall-details.js.map +1 -1
- package/lib/model/index.d.ts +28 -0
- package/lib/model/index.js +31 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/lifecycle-state.d.ts +0 -2
- package/lib/model/lifecycle-state.js +0 -2
- package/lib/model/lifecycle-state.js.map +1 -1
- package/lib/model/nat-configuration-request.d.ts +25 -0
- package/lib/model/nat-configuration-request.js +29 -0
- package/lib/model/nat-configuration-request.js.map +1 -0
- package/lib/model/nat-configuration-response.d.ts +29 -0
- package/lib/model/nat-configuration-response.js +29 -0
- package/lib/model/nat-configuration-response.js.map +1 -0
- package/lib/model/nat-rule-collection.d.ts +26 -0
- package/lib/model/nat-rule-collection.js +61 -0
- package/lib/model/nat-rule-collection.js.map +1 -0
- package/lib/model/nat-rule-match-criteria.d.ts +33 -0
- package/lib/model/nat-rule-match-criteria.js +29 -0
- package/lib/model/nat-rule-match-criteria.js.map +1 -0
- package/lib/model/nat-rule-summary.d.ts +40 -0
- package/lib/model/nat-rule-summary.js +68 -0
- package/lib/model/nat-rule-summary.js.map +1 -0
- package/lib/model/nat-rule.d.ts +41 -0
- package/lib/model/nat-rule.js +74 -0
- package/lib/model/nat-rule.js.map +1 -0
- package/lib/model/nat-type.d.ts +29 -0
- package/lib/model/nat-type.js +40 -0
- package/lib/model/nat-type.js.map +1 -0
- package/lib/model/nat-v4-action-type.d.ts +30 -0
- package/lib/model/nat-v4-action-type.js +41 -0
- package/lib/model/nat-v4-action-type.js.map +1 -0
- package/lib/model/nat-v4-nat-rule.d.ts +33 -0
- package/lib/model/nat-v4-nat-rule.js +58 -0
- package/lib/model/nat-v4-nat-rule.js.map +1 -0
- package/lib/model/nat-v4-nat-summary.d.ts +33 -0
- package/lib/model/nat-v4-nat-summary.js +60 -0
- package/lib/model/nat-v4-nat-summary.js.map +1 -0
- package/lib/model/network-firewall-summary.d.ts +1 -0
- package/lib/model/network-firewall-summary.js +30 -2
- package/lib/model/network-firewall-summary.js.map +1 -1
- package/lib/model/network-firewall.d.ts +1 -0
- package/lib/model/network-firewall.js +30 -2
- package/lib/model/network-firewall.js.map +1 -1
- package/lib/model/update-nat-rule-details.d.ts +30 -0
- package/lib/model/update-nat-rule-details.js +74 -0
- package/lib/model/update-nat-rule-details.js.map +1 -0
- package/lib/model/update-nat-v4-rule-details.d.ts +33 -0
- package/lib/model/update-nat-v4-rule-details.js +62 -0
- package/lib/model/update-nat-v4-rule-details.js.map +1 -0
- package/lib/model/update-network-firewall-details.d.ts +2 -0
- package/lib/model/update-network-firewall-details.js +30 -2
- package/lib/model/update-network-firewall-details.js.map +1 -1
- package/lib/request/bulk-upload-nat-rules-request.d.ts +50 -0
- package/lib/request/bulk-upload-nat-rules-request.js +15 -0
- package/lib/request/bulk-upload-nat-rules-request.js.map +1 -0
- package/lib/request/create-nat-rule-request.d.ts +40 -0
- package/lib/request/create-nat-rule-request.js +15 -0
- package/lib/request/create-nat-rule-request.js.map +1 -0
- package/lib/request/delete-nat-rule-request.d.ts +39 -0
- package/lib/request/delete-nat-rule-request.js +15 -0
- package/lib/request/delete-nat-rule-request.js.map +1 -0
- package/lib/request/get-nat-rule-request.d.ts +30 -0
- package/lib/request/get-nat-rule-request.js +15 -0
- package/lib/request/get-nat-rule-request.js.map +1 -0
- package/lib/request/index.d.ts +12 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-nat-rules-request.d.ts +58 -0
- package/lib/request/list-nat-rules-request.js +24 -0
- package/lib/request/list-nat-rules-request.js.map +1 -0
- package/lib/request/update-nat-rule-request.d.ts +44 -0
- package/lib/request/update-nat-rule-request.js +15 -0
- package/lib/request/update-nat-rule-request.js.map +1 -0
- package/lib/response/bulk-upload-nat-rules-response.d.ts +25 -0
- package/lib/response/bulk-upload-nat-rules-response.js +15 -0
- package/lib/response/bulk-upload-nat-rules-response.js.map +1 -0
- package/lib/response/create-nat-rule-response.d.ts +30 -0
- package/lib/response/create-nat-rule-response.js +15 -0
- package/lib/response/create-nat-rule-response.js.map +1 -0
- package/lib/response/delete-nat-rule-response.d.ts +20 -0
- package/lib/response/delete-nat-rule-response.js +15 -0
- package/lib/response/delete-nat-rule-response.js.map +1 -0
- package/lib/response/get-nat-rule-response.d.ts +30 -0
- package/lib/response/get-nat-rule-response.js +15 -0
- package/lib/response/get-nat-rule-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -0
- package/lib/response/list-nat-rules-response.d.ts +46 -0
- package/lib/response/list-nat-rules-response.js +15 -0
- package/lib/response/list-nat-rules-response.js.map +1 -0
- package/lib/response/update-nat-rule-response.d.ts +30 -0
- package/lib/response/update-nat-rule-response.js +15 -0
- package/lib/response/update-nat-rule-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,58 @@
|
|
|
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.NatV4NatRule = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var NatV4NatRule;
|
|
37
|
+
(function (NatV4NatRule) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.NatRule.getJsonObj(obj))), {
|
|
40
|
+
"condition": obj.condition
|
|
41
|
+
? model.NatRuleMatchCriteria.getJsonObj(obj.condition)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
NatV4NatRule.getJsonObj = getJsonObj;
|
|
47
|
+
NatV4NatRule.type = "NATV4";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.NatRule.getDeserializedJsonObj(obj))), {
|
|
50
|
+
"condition": obj.condition
|
|
51
|
+
? model.NatRuleMatchCriteria.getDeserializedJsonObj(obj.condition)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
NatV4NatRule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(NatV4NatRule = exports.NatV4NatRule || (exports.NatV4NatRule = {}));
|
|
58
|
+
//# sourceMappingURL=nat-v4-nat-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nat-v4-nat-rule.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-v4-nat-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,YAAY,CA0B5B;AA1BD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB,EAAE,eAAyB;QACrE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAkB,CAAC,GACzE;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBACtD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uBAAU,aAWzB,CAAA;IACY,iBAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CAAC,GAAiB,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC,GAAG,CAAkB,CAAC,GACrF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EA1BgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA0B5B"}
|
|
@@ -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
|
+
* Request for updating NATV4 type Nat Rule used in the firewall policy.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface NatV4NatSummary extends model.NatRuleSummary {
|
|
19
|
+
/**
|
|
20
|
+
* action:
|
|
21
|
+
* <p>
|
|
22
|
+
* DIPP_SRC_NAT - Dynamic-ip-port source NAT.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
"action": model.NatV4ActionType;
|
|
26
|
+
"condition": model.NatRuleMatchCriteria;
|
|
27
|
+
"type": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace NatV4NatSummary {
|
|
30
|
+
function getJsonObj(obj: NatV4NatSummary, isParentJsonObj?: boolean): object;
|
|
31
|
+
const type = "NATV4";
|
|
32
|
+
function getDeserializedJsonObj(obj: NatV4NatSummary, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.NatV4NatSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var NatV4NatSummary;
|
|
37
|
+
(function (NatV4NatSummary) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.NatRuleSummary.getJsonObj(obj))), {
|
|
40
|
+
"condition": obj.condition
|
|
41
|
+
? model.NatRuleMatchCriteria.getJsonObj(obj.condition)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
NatV4NatSummary.getJsonObj = getJsonObj;
|
|
47
|
+
NatV4NatSummary.type = "NATV4";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.NatRuleSummary.getDeserializedJsonObj(obj))), {
|
|
52
|
+
"condition": obj.condition
|
|
53
|
+
? model.NatRuleMatchCriteria.getDeserializedJsonObj(obj.condition)
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
NatV4NatSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
59
|
+
})(NatV4NatSummary = exports.NatV4NatSummary || (exports.NatV4NatSummary = {}));
|
|
60
|
+
//# sourceMappingURL=nat-v4-nat-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nat-v4-nat-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/nat-v4-nat-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,eAAe,CA4B/B;AA5BD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GACnF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBACtD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,0BAAU,aAWzB,CAAA;IACY,oBAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GACvE;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA5BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA4B/B"}
|
|
@@ -46,6 +46,7 @@ export interface NetworkFirewallSummary {
|
|
|
46
46
|
* IPv6 address for the Network Firewall.
|
|
47
47
|
*/
|
|
48
48
|
"ipv6Address"?: string;
|
|
49
|
+
"natConfiguration"?: model.NatConfigurationResponse;
|
|
49
50
|
/**
|
|
50
51
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
|
|
51
52
|
*/
|
|
@@ -11,17 +11,45 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
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
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.NetworkFirewallSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var NetworkFirewallSummary;
|
|
17
37
|
(function (NetworkFirewallSummary) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"natConfiguration": obj.natConfiguration
|
|
41
|
+
? model.NatConfigurationResponse.getJsonObj(obj.natConfiguration)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
20
44
|
return jsonObj;
|
|
21
45
|
}
|
|
22
46
|
NetworkFirewallSummary.getJsonObj = getJsonObj;
|
|
23
47
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"natConfiguration": obj.natConfiguration
|
|
50
|
+
? model.NatConfigurationResponse.getDeserializedJsonObj(obj.natConfiguration)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
25
53
|
return jsonObj;
|
|
26
54
|
}
|
|
27
55
|
NetworkFirewallSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-firewall-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"network-firewall-summary.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqFlC,IAAiB,sBAAsB,CAyBtC;AAzBD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,6CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAyBtC"}
|
|
@@ -51,6 +51,7 @@ export interface NetworkFirewall {
|
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
53
|
"availabilityDomain"?: string;
|
|
54
|
+
"natConfiguration"?: model.NatConfigurationResponse;
|
|
54
55
|
/**
|
|
55
56
|
* An array of network security groups [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
|
|
56
57
|
*/
|
|
@@ -11,17 +11,45 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
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
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.NetworkFirewall = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var NetworkFirewall;
|
|
17
37
|
(function (NetworkFirewall) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"natConfiguration": obj.natConfiguration
|
|
41
|
+
? model.NatConfigurationResponse.getJsonObj(obj.natConfiguration)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
20
44
|
return jsonObj;
|
|
21
45
|
}
|
|
22
46
|
NetworkFirewall.getJsonObj = getJsonObj;
|
|
23
47
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"natConfiguration": obj.natConfiguration
|
|
50
|
+
? model.NatConfigurationResponse.getDeserializedJsonObj(obj.natConfiguration)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
25
53
|
return jsonObj;
|
|
26
54
|
}
|
|
27
55
|
NetworkFirewall.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-firewall.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"network-firewall.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/network-firewall.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0FlC,IAAiB,eAAe,CAyB/B;AAzBD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,0BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sCAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAyB/B"}
|
|
@@ -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
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Request for updating NAT Rule used in the firewall policy.
|
|
16
|
+
* A Nat Rule is used to define to which traffic NAT should be applied by the firewall, and how it should do so.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateNatRuleDetails {
|
|
20
|
+
/**
|
|
21
|
+
* Description of a NAT rule. This field can be used to add additional info.
|
|
22
|
+
*/
|
|
23
|
+
"description"?: string;
|
|
24
|
+
"position"?: model.RulePosition;
|
|
25
|
+
"type": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UpdateNatRuleDetails {
|
|
28
|
+
function getJsonObj(obj: UpdateNatRuleDetails): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: UpdateNatRuleDetails): object;
|
|
30
|
+
}
|
|
@@ -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.UpdateNatRuleDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var UpdateNatRuleDetails;
|
|
38
|
+
(function (UpdateNatRuleDetails) {
|
|
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.UpdateNatV4RuleDetails.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
|
+
UpdateNatRuleDetails.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.UpdateNatV4RuleDetails.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
|
+
UpdateNatRuleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(UpdateNatRuleDetails = exports.UpdateNatRuleDetails || (exports.UpdateNatRuleDetails = {}));
|
|
74
|
+
//# sourceMappingURL=update-nat-rule-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-nat-rule-details.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/update-nat-rule-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiBtC,IAAiB,oBAAoB,CA6CpC;AA7CD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,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,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,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;IApBe,+BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,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,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,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,2CAAsB,yBAsBrC,CAAA;AACH,CAAC,EA7CgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA6CpC"}
|
|
@@ -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
|
+
* Request for updating NATV4 type Nat Rule used in the firewall policy.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateNatV4RuleDetails extends model.UpdateNatRuleDetails {
|
|
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 UpdateNatV4RuleDetails {
|
|
30
|
+
function getJsonObj(obj: UpdateNatV4RuleDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
const type = "NATV4";
|
|
32
|
+
function getDeserializedJsonObj(obj: UpdateNatV4RuleDetails, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.UpdateNatV4RuleDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateNatV4RuleDetails;
|
|
37
|
+
(function (UpdateNatV4RuleDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.UpdateNatRuleDetails.getJsonObj(obj))), {
|
|
42
|
+
"condition": obj.condition
|
|
43
|
+
? model.NatRuleMatchCriteria.getJsonObj(obj.condition)
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
UpdateNatV4RuleDetails.getJsonObj = getJsonObj;
|
|
49
|
+
UpdateNatV4RuleDetails.type = "NATV4";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.UpdateNatRuleDetails.getDeserializedJsonObj(obj))), {
|
|
54
|
+
"condition": obj.condition
|
|
55
|
+
? model.NatRuleMatchCriteria.getDeserializedJsonObj(obj.condition)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
UpdateNatV4RuleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(UpdateNatV4RuleDetails = exports.UpdateNatV4RuleDetails || (exports.UpdateNatV4RuleDetails = {}));
|
|
62
|
+
//# sourceMappingURL=update-nat-v4-rule-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-nat-v4-rule-details.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/update-nat-v4-rule-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,sBAAsB,CAiCtC;AAjCD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B,EAAE,eAAyB;QAC/E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAA4B,CAAC,GACxE;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBACtD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACY,2BAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CACpC,GAA2B,EAC3B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAA4B,CAAC,GACpF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,6CAAsB,yBAgBrC,CAAA;AACH,CAAC,EAjCgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAiCtC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
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
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* The information to be updated.
|
|
15
16
|
*/
|
|
@@ -26,6 +27,7 @@ export interface UpdateNetworkFirewallDetails {
|
|
|
26
27
|
* An array of network security groups [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
|
|
27
28
|
*/
|
|
28
29
|
"networkSecurityGroupIds"?: Array<string>;
|
|
30
|
+
"natConfiguration"?: model.NatConfigurationRequest;
|
|
29
31
|
/**
|
|
30
32
|
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
31
33
|
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
@@ -11,17 +11,45 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
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
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.UpdateNetworkFirewallDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var UpdateNetworkFirewallDetails;
|
|
17
37
|
(function (UpdateNetworkFirewallDetails) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"natConfiguration": obj.natConfiguration
|
|
41
|
+
? model.NatConfigurationRequest.getJsonObj(obj.natConfiguration)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
20
44
|
return jsonObj;
|
|
21
45
|
}
|
|
22
46
|
UpdateNetworkFirewallDetails.getJsonObj = getJsonObj;
|
|
23
47
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"natConfiguration": obj.natConfiguration
|
|
50
|
+
? model.NatConfigurationRequest.getDeserializedJsonObj(obj.natConfiguration)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
25
53
|
return jsonObj;
|
|
26
54
|
}
|
|
27
55
|
UpdateNetworkFirewallDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-network-firewall-details.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/update-network-firewall-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"update-network-firewall-details.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/update-network-firewall-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoClC,IAAiB,4BAA4B,CAyB5C;AAzBD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAChE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBAC5E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyB5C"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
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
|
+
/// <reference types="node" />
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
import stream = require("stream");
|
|
16
|
+
/**
|
|
17
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/networkfirewall/BulkUploadNatRules.ts.html |here} to see how to use BulkUploadNatRulesRequest.
|
|
18
|
+
*/
|
|
19
|
+
export interface BulkUploadNatRulesRequest extends common.BaseRequest {
|
|
20
|
+
/**
|
|
21
|
+
* Unique Network Firewall Policy identifier
|
|
22
|
+
*/
|
|
23
|
+
"networkFirewallPolicyId": string;
|
|
24
|
+
/**
|
|
25
|
+
* Request Details to create the NAT Rule for the Network Firewall Policy Resource.
|
|
26
|
+
*/
|
|
27
|
+
"bulkUploadNatRulesDetails": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string;
|
|
28
|
+
/**
|
|
29
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
30
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
31
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
32
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
33
|
+
* might be rejected.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"opcRetryToken"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The client request ID for tracing.
|
|
39
|
+
*/
|
|
40
|
+
"opcRequestId"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
43
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
44
|
+
* etag from a previous GET or POST response for that resource.
|
|
45
|
+
* The resource will be updated or deleted only if the etag you
|
|
46
|
+
* provide matches the resource's current etag value.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
"ifMatch"?: string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
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
|
+
//# sourceMappingURL=bulk-upload-nat-rules-request.js.map
|