oci-core 2.131.1 → 2.132.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 +43 -0
- package/lib/client.js +149 -0
- package/lib/client.js.map +1 -1
- package/lib/model/compute-cluster.d.ts +7 -5
- package/lib/model/compute-cluster.js.map +1 -1
- package/lib/model/index.d.ts +12 -0
- package/lib/model/index.js +19 -7
- package/lib/model/index.js.map +1 -1
- package/lib/model/patch-subnet-details.d.ts +49 -0
- package/lib/model/patch-subnet-details.js +68 -0
- package/lib/model/patch-subnet-details.js.map +1 -0
- package/lib/model/patch-subnet-instruction.d.ts +37 -0
- package/lib/model/patch-subnet-instruction.js +75 -0
- package/lib/model/patch-subnet-instruction.js.map +1 -0
- package/lib/model/patch-subnet-replace-instruction.d.ts +48 -0
- package/lib/model/patch-subnet-replace-instruction.js +61 -0
- package/lib/model/patch-subnet-replace-instruction.js.map +1 -0
- package/lib/model/patch-vcn-details.d.ts +70 -0
- package/lib/model/patch-vcn-details.js +68 -0
- package/lib/model/patch-vcn-details.js.map +1 -0
- package/lib/model/patch-vcn-instruction.d.ts +37 -0
- package/lib/model/patch-vcn-instruction.js +75 -0
- package/lib/model/patch-vcn-instruction.js.map +1 -0
- package/lib/model/patch-vcn-replace-instruction.d.ts +48 -0
- package/lib/model/patch-vcn-replace-instruction.js +61 -0
- package/lib/model/patch-vcn-replace-instruction.js.map +1 -0
- package/lib/request/index.d.ts +4 -0
- package/lib/request/patch-subnet-request.d.ts +49 -0
- package/lib/request/patch-subnet-request.js +15 -0
- package/lib/request/patch-subnet-request.js.map +1 -0
- package/lib/request/patch-vcn-request.d.ts +49 -0
- package/lib/request/patch-vcn-request.js +15 -0
- package/lib/request/patch-vcn-request.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/lib/response/patch-subnet-response.d.ts +27 -0
- package/lib/response/patch-subnet-response.js +15 -0
- package/lib/response/patch-subnet-response.js.map +1 -0
- package/lib/response/patch-vcn-response.d.ts +27 -0
- package/lib/response/patch-vcn-response.js +15 -0
- package/lib/response/patch-vcn-response.js.map +1 -0
- package/lib/virtualnetwork-waiter.d.ts +20 -0
- package/lib/virtualnetwork-waiter.js +30 -0
- package/lib/virtualnetwork-waiter.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Replaces the entire value of the selected subnet CIDR field with the specified final state.
|
|
23
|
+
* For IPv6 CIDR list selections (for example, {@code ipv6CidrBlocks}), the supplied array is treated
|
|
24
|
+
* as the authoritative set of CIDRs for that field:
|
|
25
|
+
* * CIDRs present in both the existing list and the new list remain unchanged.
|
|
26
|
+
* * CIDRs present in the existing list but not in the new list are removed.
|
|
27
|
+
* * CIDRs present in the new list but not in the existing list are added.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export interface PatchSubnetReplaceInstruction extends model.PatchSubnetInstruction {
|
|
31
|
+
/**
|
|
32
|
+
* The desired final IPv6 CIDR value(s) to apply to the selected field. This field must
|
|
33
|
+
* always be a JSON object.
|
|
34
|
+
* For fields that take a single CIDR (for example, {@code ipv6CidrBlock}), specify a single element.
|
|
35
|
+
* For list fields (for example, {@code ipv6CidrBlocks}), specify the full desired list.
|
|
36
|
+
* Examples:
|
|
37
|
+
* - { \"operation\": \"REPLACE\", \"selection\": \"ipv6CidrBlocks\", \"value\": { \"cidrs\": [ \"2001:db8:1234:1111::/64\", \"2001:db8:1234:2121::/64\" ] } }
|
|
38
|
+
* - { \"operation\": \"REPLACE\", \"selection\": \"ipv6CidrBlock\", \"value\": { \"cidr\": \"2001:db8:1234:1111::/64\" } }
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"value": any;
|
|
42
|
+
"operation": string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace PatchSubnetReplaceInstruction {
|
|
45
|
+
function getJsonObj(obj: PatchSubnetReplaceInstruction, isParentJsonObj?: boolean): object;
|
|
46
|
+
const operation = "REPLACE";
|
|
47
|
+
function getDeserializedJsonObj(obj: PatchSubnetReplaceInstruction, isParentJsonObj?: boolean): object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.PatchSubnetReplaceInstruction = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var PatchSubnetReplaceInstruction;
|
|
44
|
+
(function (PatchSubnetReplaceInstruction) {
|
|
45
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
47
|
+
? obj
|
|
48
|
+
: model.PatchSubnetInstruction.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
PatchSubnetReplaceInstruction.getJsonObj = getJsonObj;
|
|
52
|
+
PatchSubnetReplaceInstruction.operation = "REPLACE";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.PatchSubnetInstruction.getDeserializedJsonObj(obj))), {});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
PatchSubnetReplaceInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(PatchSubnetReplaceInstruction = exports.PatchSubnetReplaceInstruction || (exports.PatchSubnetReplaceInstruction = {}));
|
|
61
|
+
//# sourceMappingURL=patch-subnet-replace-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-subnet-replace-instruction.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/patch-subnet-replace-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4BlC,IAAiB,6BAA6B,CA8B7C;AA9BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CACxB,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,GAAG,CAAmC,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,wCAAU,aAYzB,CAAA;IACY,uCAAS,GAAG,SAAS,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAAkC,EAClC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CAClD,GAAG,CAC8B,CAAC,GACrC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA8B7C"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
* The request to patch the VCN.
|
|
23
|
+
* Example:
|
|
24
|
+
* {
|
|
25
|
+
* \"patchVcnInstructions\": [
|
|
26
|
+
* {
|
|
27
|
+
* \"operation\": \"REPLACE\",
|
|
28
|
+
* \"selection\": \"ipv6CidrBlock\",
|
|
29
|
+
* \"value\": {\"cidr\": \"2001::/56\"}
|
|
30
|
+
* },
|
|
31
|
+
* {
|
|
32
|
+
* \"operation\": \"REPLACE\",
|
|
33
|
+
* \"selection\": \"ipv6PublicCidrBlock\",
|
|
34
|
+
* \"value\": {\"cidr\": \"2001:0db8:0123::/48\"}
|
|
35
|
+
* },
|
|
36
|
+
* {
|
|
37
|
+
* \"operation\": \"REPLACE\",
|
|
38
|
+
* \"selection\": \"byoipv6CidrDetails\",
|
|
39
|
+
* \"value\": {
|
|
40
|
+
* \"cidrs\": [
|
|
41
|
+
* {
|
|
42
|
+
* \"byoipv6RangeId\": \"ocid1.byoiprange.oc1.<unique_ID_1>\",
|
|
43
|
+
* \"ipv6CidrBlock\": \"2001:0db8:0123::/48\"
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* \"byoipv6RangeId\": \"ocid1.byoiprange.oc1.<unique_ID_2>\",
|
|
47
|
+
* \"ipv6CidrBlock\": \"2001:0db8:0456::/48\"
|
|
48
|
+
* }
|
|
49
|
+
* ]
|
|
50
|
+
* }
|
|
51
|
+
* },
|
|
52
|
+
* {
|
|
53
|
+
* \"operation\": \"REPLACE\",
|
|
54
|
+
* \"selection\": \"ipv6PrivateCidrBlocks\",
|
|
55
|
+
* \"value\": { \"cidrs\": [\"fd00:1000:0:1::/64\", \"fd00:1000:0:2::/64\"] }
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* }
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export interface PatchVcnDetails {
|
|
62
|
+
/**
|
|
63
|
+
* List of patch instructions for VCN.
|
|
64
|
+
*/
|
|
65
|
+
"patchVcnInstructions": Array<model.PatchVcnInstruction>;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace PatchVcnDetails {
|
|
68
|
+
function getJsonObj(obj: PatchVcnDetails): object;
|
|
69
|
+
function getDeserializedJsonObj(obj: PatchVcnDetails): object;
|
|
70
|
+
}
|
|
@@ -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.PatchVcnDetails = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var PatchVcnDetails;
|
|
44
|
+
(function (PatchVcnDetails) {
|
|
45
|
+
function getJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"patchVcnInstructions": obj.patchVcnInstructions
|
|
48
|
+
? obj.patchVcnInstructions.map(item => {
|
|
49
|
+
return model.PatchVcnInstruction.getJsonObj(item);
|
|
50
|
+
})
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
PatchVcnDetails.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"patchVcnInstructions": obj.patchVcnInstructions
|
|
59
|
+
? obj.patchVcnInstructions.map(item => {
|
|
60
|
+
return model.PatchVcnInstruction.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
PatchVcnDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(PatchVcnDetails = exports.PatchVcnDetails || (exports.PatchVcnDetails = {}));
|
|
68
|
+
//# sourceMappingURL=patch-vcn-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-vcn-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/patch-vcn-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkDlC,IAAiB,eAAe,CA6B/B;AA7BD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,0BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,GAAG,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClC,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA6B/B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* A single instruction to be included as part of PatchVcn request content.
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchVcnInstruction {
|
|
24
|
+
/**
|
|
25
|
+
* The set of values to which the operation applies as a [JMESPath expression](https://jmespath.org/specification.html) for evaluation
|
|
26
|
+
* against the VCN resource representation.
|
|
27
|
+
* The PatchVcn operation restricts supported selections (see PatchVcn documentation).
|
|
28
|
+
* Example: \"ipv6PrivateCidrBlocks\"
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"selection": string;
|
|
32
|
+
"operation": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace PatchVcnInstruction {
|
|
35
|
+
function getJsonObj(obj: PatchVcnInstruction): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: PatchVcnInstruction): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.PatchVcnInstruction = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
const common = require("oci-common");
|
|
44
|
+
var PatchVcnInstruction;
|
|
45
|
+
(function (PatchVcnInstruction) {
|
|
46
|
+
function getJsonObj(obj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
48
|
+
if (obj && "operation" in obj && obj.operation) {
|
|
49
|
+
switch (obj.operation) {
|
|
50
|
+
case "REPLACE":
|
|
51
|
+
return model.PatchVcnReplaceInstruction.getJsonObj(jsonObj, true);
|
|
52
|
+
default:
|
|
53
|
+
if (common.LOG.logger)
|
|
54
|
+
common.LOG.logger.info(`Unknown value for: ${obj.operation}`);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
PatchVcnInstruction.getJsonObj = getJsonObj;
|
|
60
|
+
function getDeserializedJsonObj(obj) {
|
|
61
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
62
|
+
if (obj && "operation" in obj && obj.operation) {
|
|
63
|
+
switch (obj.operation) {
|
|
64
|
+
case "REPLACE":
|
|
65
|
+
return model.PatchVcnReplaceInstruction.getDeserializedJsonObj(jsonObj, true);
|
|
66
|
+
default:
|
|
67
|
+
if (common.LOG.logger)
|
|
68
|
+
common.LOG.logger.info(`Unknown value for: ${obj.operation}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
PatchVcnInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(PatchVcnInstruction = exports.PatchVcnInstruction || (exports.PatchVcnInstruction = {}));
|
|
75
|
+
//# sourceMappingURL=patch-vcn-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-vcn-instruction.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/patch-vcn-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAkBtC,IAAiB,mBAAmB,CAiCnC;AAjCD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,8BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,0CAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAiCnC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Replaces the entire value of the selected VCN IPv6 CIDR field with the specified final state.
|
|
23
|
+
* For CIDR list selections (for example, {@code ipv6PrivateCidrBlocks}, {@code byoipv6CidrDetails}), the supplied array is treated
|
|
24
|
+
* as the authoritative set of CIDRs for that field:
|
|
25
|
+
* * CIDRs present in both the existing list and the new list remain unchanged.
|
|
26
|
+
* * CIDRs present in the existing list but not in the new list are removed.
|
|
27
|
+
* * CIDRs present in the new list but not in the existing list are added.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export interface PatchVcnReplaceInstruction extends model.PatchVcnInstruction {
|
|
31
|
+
/**
|
|
32
|
+
* The desired final IPv6 CIDR value(s) to apply to the selected field. This field must
|
|
33
|
+
* always be a JSON object.
|
|
34
|
+
* For fields that take a single CIDR (for example, {@code ipv6CidrBlock}), specify the CIDR.
|
|
35
|
+
* For fields that take multiple CIDRs (for example, {@code ipv6PrivateCidrBlocks},{@code byoipv6CidrDetails}), specify the full desired list.
|
|
36
|
+
* Examples:
|
|
37
|
+
* - { \"operation\": \"REPLACE\", \"selection\": \"ipv6PrivateCidrBlocks\", \"value\": { \"cidrs\": [ \"fd00:1000:0:1::/64\", \"fd00:1000:0:2::/64\" ] } }
|
|
38
|
+
* - { \"operation\": \"REPLACE\", \"selection\": \"ipv6CidrBlock\", \"value\": { \"cidr\": \"2001:db8:1234:1111::/64\" } }
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"value": any;
|
|
42
|
+
"operation": string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace PatchVcnReplaceInstruction {
|
|
45
|
+
function getJsonObj(obj: PatchVcnReplaceInstruction, isParentJsonObj?: boolean): object;
|
|
46
|
+
const operation = "REPLACE";
|
|
47
|
+
function getDeserializedJsonObj(obj: PatchVcnReplaceInstruction, isParentJsonObj?: boolean): object;
|
|
48
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.PatchVcnReplaceInstruction = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var PatchVcnReplaceInstruction;
|
|
44
|
+
(function (PatchVcnReplaceInstruction) {
|
|
45
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
47
|
+
? obj
|
|
48
|
+
: model.PatchVcnInstruction.getJsonObj(obj))), {});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
PatchVcnReplaceInstruction.getJsonObj = getJsonObj;
|
|
52
|
+
PatchVcnReplaceInstruction.operation = "REPLACE";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.PatchVcnInstruction.getDeserializedJsonObj(obj))), {});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
PatchVcnReplaceInstruction.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(PatchVcnReplaceInstruction = exports.PatchVcnReplaceInstruction || (exports.PatchVcnReplaceInstruction = {}));
|
|
61
|
+
//# sourceMappingURL=patch-vcn-replace-instruction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-vcn-replace-instruction.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/patch-vcn-replace-instruction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4BlC,IAAiB,0BAA0B,CAyB1C;AAzBD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAgC,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,qCAAU,aASzB,CAAA;IACY,oCAAS,GAAG,SAAS,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAA+B,EAC/B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAgC,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,iDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAyB1C"}
|
package/lib/request/index.d.ts
CHANGED
|
@@ -893,6 +893,10 @@ import * as ModifyIpv4SubnetCidrRequest from "./modify-ipv4-subnet-cidr-request"
|
|
|
893
893
|
export import ModifyIpv4SubnetCidrRequest = ModifyIpv4SubnetCidrRequest.ModifyIpv4SubnetCidrRequest;
|
|
894
894
|
import * as ModifyVcnCidrRequest from "./modify-vcn-cidr-request";
|
|
895
895
|
export import ModifyVcnCidrRequest = ModifyVcnCidrRequest.ModifyVcnCidrRequest;
|
|
896
|
+
import * as PatchSubnetRequest from "./patch-subnet-request";
|
|
897
|
+
export import PatchSubnetRequest = PatchSubnetRequest.PatchSubnetRequest;
|
|
898
|
+
import * as PatchVcnRequest from "./patch-vcn-request";
|
|
899
|
+
export import PatchVcnRequest = PatchVcnRequest.PatchVcnRequest;
|
|
896
900
|
import * as PrivateIpVnicDetachRequest from "./private-ip-vnic-detach-request";
|
|
897
901
|
export import PrivateIpVnicDetachRequest = PrivateIpVnicDetachRequest.PrivateIpVnicDetachRequest;
|
|
898
902
|
import * as RemoveDrgRouteDistributionStatementsRequest from "./remove-drg-route-distribution-statements-request";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20160918
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/PatchSubnet.ts.html |here} to see how to use PatchSubnetRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchSubnetRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Specify the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
|
|
21
|
+
*/
|
|
22
|
+
"subnetId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details object for patching a subnet.
|
|
25
|
+
*/
|
|
26
|
+
"patchSubnetDetails": model.PatchSubnetDetails;
|
|
27
|
+
/**
|
|
28
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
29
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
30
|
+
* hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
31
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
32
|
+
* may be rejected).
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"opcRetryToken"?: string;
|
|
36
|
+
/**
|
|
37
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match}
|
|
38
|
+
* parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
39
|
+
* will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"ifMatch"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier for the request.
|
|
45
|
+
* If you need to contact Oracle about a particular request, please provide the request ID.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"opcRequestId"?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, 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=patch-subnet-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-subnet-request.js","sourceRoot":"","sources":["../../../../../lib/core/lib/request/patch-subnet-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20160918
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/PatchVcn.ts.html |here} to see how to use PatchVcnRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchVcnRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Specify the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
|
21
|
+
*/
|
|
22
|
+
"vcnId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details object for patching a VCN.
|
|
25
|
+
*/
|
|
26
|
+
"patchVcnDetails": model.PatchVcnDetails;
|
|
27
|
+
/**
|
|
28
|
+
* Unique identifier for the request.
|
|
29
|
+
* If you need to contact Oracle about a particular request, please provide the request ID.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"opcRequestId"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
35
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
36
|
+
* hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
37
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
38
|
+
* may be rejected).
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"opcRetryToken"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match}
|
|
44
|
+
* parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
45
|
+
* will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"ifMatch"?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20160918
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, 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=patch-vcn-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-vcn-request.js","sourceRoot":"","sources":["../../../../../lib/core/lib/request/patch-vcn-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|