oci-core 2.141.0 → 2.142.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +175 -0
- package/lib/client.js +858 -30
- package/lib/client.js.map +1 -1
- package/lib/model/add-drg-nat-rule-details.d.ts +69 -0
- package/lib/model/add-drg-nat-rule-details.js +36 -0
- package/lib/model/add-drg-nat-rule-details.js.map +1 -0
- package/lib/model/add-drg-nat-rules-details.d.ts +35 -0
- package/lib/model/add-drg-nat-rules-details.js +68 -0
- package/lib/model/add-drg-nat-rules-details.js.map +1 -0
- package/lib/model/change-drg-nat-policy-compartment-details.d.ts +33 -0
- package/lib/model/change-drg-nat-policy-compartment-details.js +36 -0
- package/lib/model/change-drg-nat-policy-compartment-details.js.map +1 -0
- package/lib/model/create-drg-attachment-details.d.ts +12 -0
- package/lib/model/create-drg-attachment-details.js.map +1 -1
- package/lib/model/create-drg-nat-policy-details.d.ts +62 -0
- package/lib/model/create-drg-nat-policy-details.js +36 -0
- package/lib/model/create-drg-nat-policy-details.js.map +1 -0
- package/lib/model/drg-attachment.d.ts +12 -0
- package/lib/model/drg-attachment.js.map +1 -1
- package/lib/model/drg-nat-policy.d.ts +100 -0
- package/lib/model/drg-nat-policy.js +50 -0
- package/lib/model/drg-nat-policy.js.map +1 -0
- package/lib/model/drg-nat-rule.d.ts +78 -0
- package/lib/model/drg-nat-rule.js +36 -0
- package/lib/model/drg-nat-rule.js.map +1 -0
- package/lib/model/index.d.ts +20 -0
- package/lib/model/index.js +35 -15
- package/lib/model/index.js.map +1 -1
- package/lib/model/remove-drg-nat-rules-details.d.ts +34 -0
- package/lib/model/remove-drg-nat-rules-details.js +36 -0
- package/lib/model/remove-drg-nat-rules-details.js.map +1 -0
- package/lib/model/update-drg-attachment-details.d.ts +12 -0
- package/lib/model/update-drg-attachment-details.js.map +1 -1
- package/lib/model/update-drg-nat-policy-details.d.ts +57 -0
- package/lib/model/update-drg-nat-policy-details.js +36 -0
- package/lib/model/update-drg-nat-policy-details.js.map +1 -0
- package/lib/model/update-drg-nat-rule-details.d.ts +74 -0
- package/lib/model/update-drg-nat-rule-details.js +36 -0
- package/lib/model/update-drg-nat-rule-details.js.map +1 -0
- package/lib/model/update-drg-nat-rules-details.d.ts +35 -0
- package/lib/model/update-drg-nat-rules-details.js +68 -0
- package/lib/model/update-drg-nat-rules-details.js.map +1 -0
- package/lib/request/add-drg-nat-rules-request.d.ts +49 -0
- package/lib/request/add-drg-nat-rules-request.js +15 -0
- package/lib/request/add-drg-nat-rules-request.js.map +1 -0
- package/lib/request/change-drg-nat-policy-compartment-request.d.ts +49 -0
- package/lib/request/change-drg-nat-policy-compartment-request.js +15 -0
- package/lib/request/change-drg-nat-policy-compartment-request.js.map +1 -0
- package/lib/request/create-drg-nat-policy-request.d.ts +38 -0
- package/lib/request/create-drg-nat-policy-request.js +15 -0
- package/lib/request/create-drg-nat-policy-request.js.map +1 -0
- package/lib/request/delete-drg-nat-policy-request.d.ts +35 -0
- package/lib/request/delete-drg-nat-policy-request.js +15 -0
- package/lib/request/delete-drg-nat-policy-request.js.map +1 -0
- package/lib/request/get-drg-nat-policy-request.d.ts +28 -0
- package/lib/request/get-drg-nat-policy-request.js +15 -0
- package/lib/request/get-drg-nat-policy-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-drg-attachments-request.d.ts +4 -0
- package/lib/request/list-drg-attachments-request.js.map +1 -1
- package/lib/request/list-drg-nat-policies-request.d.ts +77 -0
- package/lib/request/list-drg-nat-policies-request.js +29 -0
- package/lib/request/list-drg-nat-policies-request.js.map +1 -0
- package/lib/request/list-drg-nat-rules-request.d.ts +53 -0
- package/lib/request/list-drg-nat-rules-request.js +23 -0
- package/lib/request/list-drg-nat-rules-request.js.map +1 -0
- package/lib/request/remove-drg-nat-policy-request.d.ts +29 -0
- package/lib/request/remove-drg-nat-policy-request.js +15 -0
- package/lib/request/remove-drg-nat-policy-request.js.map +1 -0
- package/lib/request/remove-drg-nat-rules-request.d.ts +50 -0
- package/lib/request/remove-drg-nat-rules-request.js +15 -0
- package/lib/request/remove-drg-nat-rules-request.js.map +1 -0
- package/lib/request/update-drg-nat-policy-request.d.ts +40 -0
- package/lib/request/update-drg-nat-policy-request.js +15 -0
- package/lib/request/update-drg-nat-policy-request.js.map +1 -0
- package/lib/request/update-drg-nat-rules-request.d.ts +50 -0
- package/lib/request/update-drg-nat-rules-request.js +15 -0
- package/lib/request/update-drg-nat-rules-request.js.map +1 -0
- package/lib/response/add-drg-nat-rules-response.d.ts +27 -0
- package/lib/response/add-drg-nat-rules-response.js +15 -0
- package/lib/response/add-drg-nat-rules-response.js.map +1 -0
- package/lib/response/change-drg-nat-policy-compartment-response.d.ts +20 -0
- package/lib/response/change-drg-nat-policy-compartment-response.js +15 -0
- package/lib/response/change-drg-nat-policy-compartment-response.js.map +1 -0
- package/lib/response/create-drg-nat-policy-response.d.ts +40 -0
- package/lib/response/create-drg-nat-policy-response.js +15 -0
- package/lib/response/create-drg-nat-policy-response.js.map +1 -0
- package/lib/response/delete-drg-nat-policy-response.d.ts +27 -0
- package/lib/response/delete-drg-nat-policy-response.js +15 -0
- package/lib/response/delete-drg-nat-policy-response.js.map +1 -0
- package/lib/response/get-drg-nat-policy-response.d.ts +30 -0
- package/lib/response/get-drg-nat-policy-response.js +15 -0
- package/lib/response/get-drg-nat-policy-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/list-drg-nat-policies-response.d.ts +32 -0
- package/lib/response/list-drg-nat-policies-response.js +15 -0
- package/lib/response/list-drg-nat-policies-response.js.map +1 -0
- package/lib/response/list-drg-nat-rules-response.d.ts +32 -0
- package/lib/response/list-drg-nat-rules-response.js +15 -0
- package/lib/response/list-drg-nat-rules-response.js.map +1 -0
- package/lib/response/remove-drg-nat-policy-response.d.ts +30 -0
- package/lib/response/remove-drg-nat-policy-response.js +15 -0
- package/lib/response/remove-drg-nat-policy-response.js.map +1 -0
- package/lib/response/remove-drg-nat-rules-response.d.ts +27 -0
- package/lib/response/remove-drg-nat-rules-response.js +15 -0
- package/lib/response/remove-drg-nat-rules-response.js.map +1 -0
- package/lib/response/update-drg-nat-policy-response.d.ts +30 -0
- package/lib/response/update-drg-nat-policy-response.js +15 -0
- package/lib/response/update-drg-nat-policy-response.js.map +1 -0
- package/lib/response/update-drg-nat-rules-response.d.ts +27 -0
- package/lib/response/update-drg-nat-rules-response.js +15 -0
- package/lib/response/update-drg-nat-rules-response.js.map +1 -0
- package/lib/virtualnetwork-waiter.d.ts +48 -0
- package/lib/virtualnetwork-waiter.js +72 -0
- package/lib/virtualnetwork-waiter.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Details used to add a DRG NAT rule.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface AddDrgNatRuleDetails {
|
|
25
|
+
/**
|
|
26
|
+
* The priority associated with each DRG NAT rule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
27
|
+
*/
|
|
28
|
+
"drgNatRulePriority": number;
|
|
29
|
+
/**
|
|
30
|
+
* Represents the range of IP addresses to match against when routing traffic.
|
|
31
|
+
* Original CIDR range for Source NAT.
|
|
32
|
+
* <p>
|
|
33
|
+
Potential values:
|
|
34
|
+
* * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"originalSource"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Represents the range of IP addresses to match against when routing traffic.
|
|
40
|
+
* Translated CIDR range for Source NAT.
|
|
41
|
+
* <p>
|
|
42
|
+
Potential values:
|
|
43
|
+
* * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
"translatedSource"?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Represents the range of IP addresses to match against when routing traffic.
|
|
49
|
+
* Original CIDR range for Destination NAT.
|
|
50
|
+
* <p>
|
|
51
|
+
Potential values:
|
|
52
|
+
* * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}.
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"originalDestination"?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Represents the range of IP addresses to match against when routing traffic.
|
|
58
|
+
* Translated CIDR range for Destination NAT.
|
|
59
|
+
* <p>
|
|
60
|
+
Potential values:
|
|
61
|
+
* * An IPv4 address range in CIDR notation. For example: {@code 192.168.1.0/24}.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"translatedDestination"?: string;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace AddDrgNatRuleDetails {
|
|
67
|
+
function getJsonObj(obj: AddDrgNatRuleDetails): object;
|
|
68
|
+
function getDeserializedJsonObj(obj: AddDrgNatRuleDetails): object;
|
|
69
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.AddDrgNatRuleDetails = void 0;
|
|
23
|
+
var AddDrgNatRuleDetails;
|
|
24
|
+
(function (AddDrgNatRuleDetails) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
AddDrgNatRuleDetails.getJsonObj = getJsonObj;
|
|
30
|
+
function getDeserializedJsonObj(obj) {
|
|
31
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
32
|
+
return jsonObj;
|
|
33
|
+
}
|
|
34
|
+
AddDrgNatRuleDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
35
|
+
})(AddDrgNatRuleDetails = exports.AddDrgNatRuleDetails || (exports.AddDrgNatRuleDetails = {}));
|
|
36
|
+
//# sourceMappingURL=add-drg-nat-rule-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-drg-nat-rule-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/add-drg-nat-rule-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAoDH,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,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
import * as model from "../model";
|
|
21
|
+
/**
|
|
22
|
+
* Details request to add rules to a DRG NAT policy.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export interface AddDrgNatRulesDetails {
|
|
26
|
+
/**
|
|
27
|
+
* The collection of DRG NAT rules to insert into the DRG NAT policy.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"rules": Array<model.AddDrgNatRuleDetails>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace AddDrgNatRulesDetails {
|
|
33
|
+
function getJsonObj(obj: AddDrgNatRulesDetails): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: AddDrgNatRulesDetails): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
29
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
30
|
+
}) : function(o, v) {
|
|
31
|
+
o["default"] = v;
|
|
32
|
+
});
|
|
33
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
34
|
+
if (mod && mod.__esModule) return mod;
|
|
35
|
+
var result = {};
|
|
36
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
37
|
+
__setModuleDefault(result, mod);
|
|
38
|
+
return result;
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.AddDrgNatRulesDetails = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var AddDrgNatRulesDetails;
|
|
44
|
+
(function (AddDrgNatRulesDetails) {
|
|
45
|
+
function getJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"rules": obj.rules
|
|
48
|
+
? obj.rules.map(item => {
|
|
49
|
+
return model.AddDrgNatRuleDetails.getJsonObj(item);
|
|
50
|
+
})
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
AddDrgNatRulesDetails.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"rules": obj.rules
|
|
59
|
+
? obj.rules.map(item => {
|
|
60
|
+
return model.AddDrgNatRuleDetails.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
AddDrgNatRulesDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(AddDrgNatRulesDetails = exports.AddDrgNatRulesDetails || (exports.AddDrgNatRulesDetails = {}));
|
|
68
|
+
//# sourceMappingURL=add-drg-nat-rules-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-drg-nat-rules-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/add-drg-nat-rules-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,qBAAqB,CA6BrC;AA7BD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,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,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,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,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QA6BrC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* The configuration details for the move operation.
|
|
22
|
+
*/
|
|
23
|
+
export interface ChangeDrgNatPolicyCompartmentDetails {
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the DrgNatPolicy to.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace ChangeDrgNatPolicyCompartmentDetails {
|
|
31
|
+
function getJsonObj(obj: ChangeDrgNatPolicyCompartmentDetails): object;
|
|
32
|
+
function getDeserializedJsonObj(obj: ChangeDrgNatPolicyCompartmentDetails): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.ChangeDrgNatPolicyCompartmentDetails = void 0;
|
|
23
|
+
var ChangeDrgNatPolicyCompartmentDetails;
|
|
24
|
+
(function (ChangeDrgNatPolicyCompartmentDetails) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
ChangeDrgNatPolicyCompartmentDetails.getJsonObj = getJsonObj;
|
|
30
|
+
function getDeserializedJsonObj(obj) {
|
|
31
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
32
|
+
return jsonObj;
|
|
33
|
+
}
|
|
34
|
+
ChangeDrgNatPolicyCompartmentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
35
|
+
})(ChangeDrgNatPolicyCompartmentDetails = exports.ChangeDrgNatPolicyCompartmentDetails || (exports.ChangeDrgNatPolicyCompartmentDetails = {}));
|
|
36
|
+
//# sourceMappingURL=change-drg-nat-policy-compartment-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-drg-nat-policy-compartment-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/change-drg-nat-policy-compartment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAgBH,IAAiB,oCAAoC,CAWpD;AAXD,WAAiB,oCAAoC;IACnD,SAAgB,UAAU,CAAC,GAAyC;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyC;QAC9E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAWpD"}
|
|
@@ -79,6 +79,18 @@ export interface CreateDrgAttachmentDetails {
|
|
|
79
79
|
*
|
|
80
80
|
*/
|
|
81
81
|
"vcnId"?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment's DRG NAT policy.
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"drgNatPolicyId"?: string;
|
|
87
|
+
/**
|
|
88
|
+
* By default, only translated DrgNatRule CIDRs are imported into the DrgRouteTable to prevent
|
|
89
|
+
* routing complications. Enable this option to also preserve original CIDRs. The original source CIDRs is not advertised if this value is set to false, else it is advertised.
|
|
90
|
+
* default: {@code false}
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
"doesPreserveOriginalRoutesWithNat"?: boolean;
|
|
82
94
|
}
|
|
83
95
|
export declare namespace CreateDrgAttachmentDetails {
|
|
84
96
|
function getJsonObj(obj: CreateDrgAttachmentDetails): object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-drg-attachment-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-drg-attachment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-drg-attachment-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-drg-attachment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwElC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,qCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACpF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,iDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Details used to create a DRG NAT policy.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface CreateDrgNatPolicyDetails {
|
|
25
|
+
/**
|
|
26
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
27
|
+
* namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
28
|
+
* <p>
|
|
29
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"definedTags"?: {
|
|
33
|
+
[key: string]: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
39
|
+
* Avoid entering confidential information.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"displayName"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
45
|
+
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
46
|
+
* <p>
|
|
47
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
"freeformTags"?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG NAT policy.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"compartmentId": string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace CreateDrgNatPolicyDetails {
|
|
60
|
+
function getJsonObj(obj: CreateDrgNatPolicyDetails): object;
|
|
61
|
+
function getDeserializedJsonObj(obj: CreateDrgNatPolicyDetails): object;
|
|
62
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.CreateDrgNatPolicyDetails = void 0;
|
|
23
|
+
var CreateDrgNatPolicyDetails;
|
|
24
|
+
(function (CreateDrgNatPolicyDetails) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
|
+
return jsonObj;
|
|
28
|
+
}
|
|
29
|
+
CreateDrgNatPolicyDetails.getJsonObj = getJsonObj;
|
|
30
|
+
function getDeserializedJsonObj(obj) {
|
|
31
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
32
|
+
return jsonObj;
|
|
33
|
+
}
|
|
34
|
+
CreateDrgNatPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
35
|
+
})(CreateDrgNatPolicyDetails = exports.CreateDrgNatPolicyDetails || (exports.CreateDrgNatPolicyDetails = {}));
|
|
36
|
+
//# sourceMappingURL=create-drg-nat-policy-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-drg-nat-policy-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/create-drg-nat-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAuCH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -103,6 +103,18 @@ export interface DrgAttachment {
|
|
|
103
103
|
*
|
|
104
104
|
*/
|
|
105
105
|
"vcnId"?: string;
|
|
106
|
+
/**
|
|
107
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment's DRG NAT policy.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
"drgNatPolicyId"?: string;
|
|
111
|
+
/**
|
|
112
|
+
* By default, only translated DrgNatRule CIDRs are imported into the DrgRouteTable to prevent
|
|
113
|
+
* routing complications. Enable this option to also preserve original CIDRs. The original source CIDRs is not advertised if this value is set to false, else it is advertised.
|
|
114
|
+
* default: {@code false}
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
"doesPreserveOriginalRoutesWithNat"?: boolean;
|
|
106
118
|
/**
|
|
107
119
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table
|
|
108
120
|
* are advertised to the attachment.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drg-attachment.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/drg-attachment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"drg-attachment.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/drg-attachment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmHlC,IAAiB,aAAa,CAqC7B;AArCD,WAAiB,aAAa;IAC5B,IAAY,cAUX;IAVD,WAAY,cAAc;QACxB,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAVW,cAAc,GAAd,4BAAc,KAAd,4BAAc,QAUzB;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,wBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBAC9E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,oCAAsB,yBAWrC,CAAA;AACH,CAAC,EArCgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAqC7B"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core Services API
|
|
3
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
4
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
5
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
6
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
7
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
8
|
+
The required permissions are documented in the
|
|
9
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20160918
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Collection of DRG NAT rules that is associated to a DRG Attachment to allow Network Address Translation
|
|
22
|
+
* of one or more conflicting IPs or CIDR ranges.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export interface DrgNatPolicy {
|
|
26
|
+
/**
|
|
27
|
+
* The DRG NAT policy's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).
|
|
28
|
+
*/
|
|
29
|
+
"id": string;
|
|
30
|
+
/**
|
|
31
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG NAT policy.
|
|
32
|
+
*/
|
|
33
|
+
"compartmentId": string;
|
|
34
|
+
/**
|
|
35
|
+
* Defined tags for this resource. Each key is predefined and scoped to a
|
|
36
|
+
* namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
37
|
+
* <p>
|
|
38
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"definedTags"?: {
|
|
42
|
+
[key: string]: {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
48
|
+
* Avoid entering confidential information.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"displayName"?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
54
|
+
* predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
55
|
+
* <p>
|
|
56
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"freeformTags"?: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
64
|
+
* Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }}
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
"systemTags"?: {
|
|
68
|
+
[key: string]: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* The DRG NAT policy's current state.
|
|
74
|
+
*/
|
|
75
|
+
"lifecycleState": DrgNatPolicy.LifecycleState;
|
|
76
|
+
/**
|
|
77
|
+
* The date and time the DRG NAT policy was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
78
|
+
* <p>
|
|
79
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"timeCreated": Date;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace DrgNatPolicy {
|
|
85
|
+
enum LifecycleState {
|
|
86
|
+
Creating = "CREATING",
|
|
87
|
+
Active = "ACTIVE",
|
|
88
|
+
Updating = "UPDATING",
|
|
89
|
+
Deleting = "DELETING",
|
|
90
|
+
Deleted = "DELETED",
|
|
91
|
+
Failed = "FAILED",
|
|
92
|
+
/**
|
|
93
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
94
|
+
* version of the SDK.
|
|
95
|
+
*/
|
|
96
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
97
|
+
}
|
|
98
|
+
function getJsonObj(obj: DrgNatPolicy): object;
|
|
99
|
+
function getDeserializedJsonObj(obj: DrgNatPolicy): object;
|
|
100
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Core Services API
|
|
4
|
+
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
|
|
5
|
+
compute instances, and block storage volumes. For more information, see the console
|
|
6
|
+
documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm),
|
|
7
|
+
[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
|
|
8
|
+
[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
|
|
9
|
+
The required permissions are documented in the
|
|
10
|
+
[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
|
|
11
|
+
|
|
12
|
+
* OpenAPI spec version: 20160918
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
|
+
* 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.
|
|
20
|
+
*/
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.DrgNatPolicy = void 0;
|
|
23
|
+
var DrgNatPolicy;
|
|
24
|
+
(function (DrgNatPolicy) {
|
|
25
|
+
let LifecycleState;
|
|
26
|
+
(function (LifecycleState) {
|
|
27
|
+
LifecycleState["Creating"] = "CREATING";
|
|
28
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
29
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
30
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
31
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
32
|
+
LifecycleState["Failed"] = "FAILED";
|
|
33
|
+
/**
|
|
34
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
35
|
+
* version of the SDK.
|
|
36
|
+
*/
|
|
37
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
38
|
+
})(LifecycleState = DrgNatPolicy.LifecycleState || (DrgNatPolicy.LifecycleState = {}));
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
return jsonObj;
|
|
42
|
+
}
|
|
43
|
+
DrgNatPolicy.getJsonObj = getJsonObj;
|
|
44
|
+
function getDeserializedJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
DrgNatPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
49
|
+
})(DrgNatPolicy = exports.DrgNatPolicy || (exports.DrgNatPolicy = {}));
|
|
50
|
+
//# sourceMappingURL=drg-nat-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drg-nat-policy.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/drg-nat-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AA4DH,IAAiB,YAAY,CAyB5B;AAzBD,WAAiB,YAAY;IAC3B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,2BAAc,KAAd,2BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|