oci-core 2.145.0 → 2.147.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 +6 -0
- package/lib/client.js +6 -0
- package/lib/client.js.map +1 -1
- package/lib/model/create-instance-pool-details.d.ts +3 -0
- package/lib/model/create-instance-pool-details.js +6 -0
- package/lib/model/create-instance-pool-details.js.map +1 -1
- package/lib/model/index.d.ts +12 -2
- package/lib/model/index.js +20 -10
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-maintenance-event.d.ts +1 -0
- package/lib/model/instance-maintenance-event.js +1 -0
- package/lib/model/instance-maintenance-event.js.map +1 -1
- package/lib/model/instance-pool-launch-override-details.d.ts +56 -0
- package/lib/model/instance-pool-launch-override-details.js +64 -0
- package/lib/model/instance-pool-launch-override-details.js.map +1 -0
- package/lib/model/{instances.d.ts → instance-pool-launch-override-option.d.ts} +13 -5
- package/lib/model/instance-pool-launch-override-option.js +64 -0
- package/lib/model/instance-pool-launch-override-option.js.map +1 -0
- package/lib/model/instance-pool-launch-override-policy.d.ts +53 -0
- package/lib/model/instance-pool-launch-override-policy.js +68 -0
- package/lib/model/instance-pool-launch-override-policy.js.map +1 -0
- package/lib/model/instance-pool-launch-override-selector.d.ts +40 -0
- package/lib/model/{instances.js → instance-pool-launch-override-selector.js} +7 -7
- package/lib/model/instance-pool-launch-override-selector.js.map +1 -0
- package/lib/model/instance-pool-launch-override-shape-config-details.d.ts +93 -0
- package/lib/model/instance-pool-launch-override-shape-config-details.js +57 -0
- package/lib/model/instance-pool-launch-override-shape-config-details.js.map +1 -0
- package/lib/model/instance-pool-launch-override-statement.d.ts +45 -0
- package/lib/model/instance-pool-launch-override-statement.js +74 -0
- package/lib/model/instance-pool-launch-override-statement.js.map +1 -0
- package/lib/model/instance-pool-summary.d.ts +2 -0
- package/lib/model/instance-pool-summary.js +30 -2
- package/lib/model/instance-pool-summary.js.map +1 -1
- package/lib/model/instance-pool.d.ts +1 -0
- package/lib/model/instance-pool.js +6 -0
- package/lib/model/instance-pool.js.map +1 -1
- package/lib/model/update-instance-pool-details.d.ts +5 -0
- package/lib/model/update-instance-pool-details.js +6 -0
- package/lib/model/update-instance-pool-details.js.map +1 -1
- package/package.json +3 -3
- package/lib/model/instances.js.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
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.InstancePoolLaunchOverrideOption = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var InstancePoolLaunchOverrideOption;
|
|
44
|
+
(function (InstancePoolLaunchOverrideOption) {
|
|
45
|
+
function getJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"override": obj.override
|
|
48
|
+
? model.InstancePoolLaunchOverrideDetails.getJsonObj(obj.override)
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
InstancePoolLaunchOverrideOption.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
56
|
+
"override": obj.override
|
|
57
|
+
? model.InstancePoolLaunchOverrideDetails.getDeserializedJsonObj(obj.override)
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
InstancePoolLaunchOverrideOption.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(InstancePoolLaunchOverrideOption = exports.InstancePoolLaunchOverrideOption || (exports.InstancePoolLaunchOverrideOption = {}));
|
|
64
|
+
//# sourceMappingURL=instance-pool-launch-override-option.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-pool-launch-override-option.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-launch-override-option.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,gCAAgC,CAyBhD;AAzBD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAClE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2CAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC9E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uDAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAyBhD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* Optional pool-level launch override policy for future instance launches.
|
|
23
|
+
* <p>
|
|
24
|
+
The policy is evaluated only after placement is resolved for a launch.
|
|
25
|
+
* In V1, provide between 1 and 3 availability domain-scoped statements and
|
|
26
|
+
* no more than one statement for the same availability domain.
|
|
27
|
+
* <p>
|
|
28
|
+
For a matched availability domain, request order defines the canonical
|
|
29
|
+
* override candidate sequence. Preferred-candidate reuse may try one
|
|
30
|
+
* current option once as a fast path. If that fast path misses, canonical
|
|
31
|
+
* evaluation restarts from option 1. During canonical evaluation, the
|
|
32
|
+
* worker advances to the next option only for {@code out-of-host-capacity},
|
|
33
|
+
* {@code LimitExceeded}, and {@code QuotaExceeded}, and only after same-option retries
|
|
34
|
+
* are exhausted. Other failures are terminal for that launch attempt.
|
|
35
|
+
* <p>
|
|
36
|
+
When used on create, omitting {@code overridePolicy} preserves the existing
|
|
37
|
+
* base-plus-placement behavior. When used on update, omitting
|
|
38
|
+
* {@code overridePolicy} leaves the stored policy unchanged, a non-null value
|
|
39
|
+
* replaces the stored policy, and {@code null} clears it. Read surfaces omit
|
|
40
|
+
* {@code overridePolicy} when no policy is stored on the pool.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
export interface InstancePoolLaunchOverridePolicy {
|
|
44
|
+
/**
|
|
45
|
+
* The ordered set of availability domain-scoped override statements for this policy.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
"overrideStatements": Array<model.InstancePoolLaunchOverrideStatement>;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace InstancePoolLaunchOverridePolicy {
|
|
51
|
+
function getJsonObj(obj: InstancePoolLaunchOverridePolicy): object;
|
|
52
|
+
function getDeserializedJsonObj(obj: InstancePoolLaunchOverridePolicy): object;
|
|
53
|
+
}
|
|
@@ -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.InstancePoolLaunchOverridePolicy = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var InstancePoolLaunchOverridePolicy;
|
|
44
|
+
(function (InstancePoolLaunchOverridePolicy) {
|
|
45
|
+
function getJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"overrideStatements": obj.overrideStatements
|
|
48
|
+
? obj.overrideStatements.map(item => {
|
|
49
|
+
return model.InstancePoolLaunchOverrideStatement.getJsonObj(item);
|
|
50
|
+
})
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
InstancePoolLaunchOverridePolicy.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
"overrideStatements": obj.overrideStatements
|
|
59
|
+
? obj.overrideStatements.map(item => {
|
|
60
|
+
return model.InstancePoolLaunchOverrideStatement.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
InstancePoolLaunchOverridePolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(InstancePoolLaunchOverridePolicy = exports.InstancePoolLaunchOverridePolicy || (exports.InstancePoolLaunchOverridePolicy = {}));
|
|
68
|
+
//# sourceMappingURL=instance-pool-launch-override-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-pool-launch-override-policy.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-launch-override-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiClC,IAAiB,gCAAgC,CA6BhD;AA7BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,2CAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAChC,OAAO,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA6BhD"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 selector for an override statement.
|
|
22
|
+
* <p>
|
|
23
|
+
In V1, the selector contains only the scalar {@code availabilityDomain}.
|
|
24
|
+
* Additional selector fields are rejected.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export interface InstancePoolLaunchOverrideSelector {
|
|
28
|
+
/**
|
|
29
|
+
* The availability domain that this statement applies to.
|
|
30
|
+
* <p>
|
|
31
|
+
The value must match an availability domain present in the pool's
|
|
32
|
+
* {@code placementConfigurations}.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"availabilityDomain": string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace InstancePoolLaunchOverrideSelector {
|
|
38
|
+
function getJsonObj(obj: InstancePoolLaunchOverrideSelector): object;
|
|
39
|
+
function getDeserializedJsonObj(obj: InstancePoolLaunchOverrideSelector): object;
|
|
40
|
+
}
|
|
@@ -19,18 +19,18 @@ The required permissions are documented in the
|
|
|
19
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
20
|
*/
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
23
|
-
var
|
|
24
|
-
(function (
|
|
22
|
+
exports.InstancePoolLaunchOverrideSelector = void 0;
|
|
23
|
+
var InstancePoolLaunchOverrideSelector;
|
|
24
|
+
(function (InstancePoolLaunchOverrideSelector) {
|
|
25
25
|
function getJsonObj(obj) {
|
|
26
26
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
27
27
|
return jsonObj;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
InstancePoolLaunchOverrideSelector.getJsonObj = getJsonObj;
|
|
30
30
|
function getDeserializedJsonObj(obj) {
|
|
31
31
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
32
32
|
return jsonObj;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
})(
|
|
36
|
-
//# sourceMappingURL=
|
|
34
|
+
InstancePoolLaunchOverrideSelector.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
35
|
+
})(InstancePoolLaunchOverrideSelector = exports.InstancePoolLaunchOverrideSelector || (exports.InstancePoolLaunchOverrideSelector = {}));
|
|
36
|
+
//# sourceMappingURL=instance-pool-launch-override-selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-pool-launch-override-selector.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-launch-override-selector.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAuBH,IAAiB,kCAAkC,CAWlD;AAXD,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CAAC,GAAuC;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuC;QAC5E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAWlD"}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 shape configuration requested for the override option.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export interface InstancePoolLaunchOverrideShapeConfigDetails {
|
|
25
|
+
/**
|
|
26
|
+
* The total number of OCPUs available to the instance.
|
|
27
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
|
+
*/
|
|
29
|
+
"ocpus"?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The total number of VCPUs available to the instance. This can be used instead of OCPUs,
|
|
32
|
+
* in which case the actual number of OCPUs will be calculated based on this value
|
|
33
|
+
* and the actual hardware. This must be a multiple of 2.
|
|
34
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
35
|
+
*/
|
|
36
|
+
"vcpus"?: number;
|
|
37
|
+
/**
|
|
38
|
+
* The total amount of memory available to the instance, in gigabytes.
|
|
39
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
|
+
*/
|
|
41
|
+
"memoryInGBs"?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
|
|
44
|
+
* non-burstable instance, or explicitly specify non-burstable with {@code BASELINE_1_1}.
|
|
45
|
+
* <p>
|
|
46
|
+
The following values are supported:
|
|
47
|
+
* - {@code BASELINE_1_8} - baseline usage is 1/8 of an OCPU.
|
|
48
|
+
* - {@code BASELINE_1_2} - baseline usage is 1/2 of an OCPU.
|
|
49
|
+
* - {@code BASELINE_1_1} - baseline usage is an entire OCPU. This represents a non-burstable instance.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"baselineOcpuUtilization"?: InstancePoolLaunchOverrideShapeConfigDetails.BaselineOcpuUtilization;
|
|
53
|
+
/**
|
|
54
|
+
* The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.
|
|
55
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
|
+
*/
|
|
57
|
+
"nvmes"?: number;
|
|
58
|
+
/**
|
|
59
|
+
* This field is reserved for internal use.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"resourceManagement"?: InstancePoolLaunchOverrideShapeConfigDetails.ResourceManagement;
|
|
63
|
+
/**
|
|
64
|
+
* The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape
|
|
65
|
+
* is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified);
|
|
66
|
+
* any non-null value for a non-DenseLV shape results in an error.
|
|
67
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
68
|
+
*/
|
|
69
|
+
"localVolumeSizeInGBs"?: number;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace InstancePoolLaunchOverrideShapeConfigDetails {
|
|
72
|
+
enum BaselineOcpuUtilization {
|
|
73
|
+
Baseline18 = "BASELINE_1_8",
|
|
74
|
+
Baseline12 = "BASELINE_1_2",
|
|
75
|
+
Baseline11 = "BASELINE_1_1",
|
|
76
|
+
/**
|
|
77
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
78
|
+
* version of the SDK.
|
|
79
|
+
*/
|
|
80
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
81
|
+
}
|
|
82
|
+
enum ResourceManagement {
|
|
83
|
+
Dynamic = "DYNAMIC",
|
|
84
|
+
Static = "STATIC",
|
|
85
|
+
/**
|
|
86
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
87
|
+
* version of the SDK.
|
|
88
|
+
*/
|
|
89
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
90
|
+
}
|
|
91
|
+
function getJsonObj(obj: InstancePoolLaunchOverrideShapeConfigDetails): object;
|
|
92
|
+
function getDeserializedJsonObj(obj: InstancePoolLaunchOverrideShapeConfigDetails): object;
|
|
93
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.InstancePoolLaunchOverrideShapeConfigDetails = void 0;
|
|
23
|
+
var InstancePoolLaunchOverrideShapeConfigDetails;
|
|
24
|
+
(function (InstancePoolLaunchOverrideShapeConfigDetails) {
|
|
25
|
+
let BaselineOcpuUtilization;
|
|
26
|
+
(function (BaselineOcpuUtilization) {
|
|
27
|
+
BaselineOcpuUtilization["Baseline18"] = "BASELINE_1_8";
|
|
28
|
+
BaselineOcpuUtilization["Baseline12"] = "BASELINE_1_2";
|
|
29
|
+
BaselineOcpuUtilization["Baseline11"] = "BASELINE_1_1";
|
|
30
|
+
/**
|
|
31
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
32
|
+
* version of the SDK.
|
|
33
|
+
*/
|
|
34
|
+
BaselineOcpuUtilization["UnknownValue"] = "UNKNOWN_VALUE";
|
|
35
|
+
})(BaselineOcpuUtilization = InstancePoolLaunchOverrideShapeConfigDetails.BaselineOcpuUtilization || (InstancePoolLaunchOverrideShapeConfigDetails.BaselineOcpuUtilization = {}));
|
|
36
|
+
let ResourceManagement;
|
|
37
|
+
(function (ResourceManagement) {
|
|
38
|
+
ResourceManagement["Dynamic"] = "DYNAMIC";
|
|
39
|
+
ResourceManagement["Static"] = "STATIC";
|
|
40
|
+
/**
|
|
41
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
42
|
+
* version of the SDK.
|
|
43
|
+
*/
|
|
44
|
+
ResourceManagement["UnknownValue"] = "UNKNOWN_VALUE";
|
|
45
|
+
})(ResourceManagement = InstancePoolLaunchOverrideShapeConfigDetails.ResourceManagement || (InstancePoolLaunchOverrideShapeConfigDetails.ResourceManagement = {}));
|
|
46
|
+
function getJsonObj(obj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
InstancePoolLaunchOverrideShapeConfigDetails.getJsonObj = getJsonObj;
|
|
51
|
+
function getDeserializedJsonObj(obj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
InstancePoolLaunchOverrideShapeConfigDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(InstancePoolLaunchOverrideShapeConfigDetails = exports.InstancePoolLaunchOverrideShapeConfigDetails || (exports.InstancePoolLaunchOverrideShapeConfigDetails = {}));
|
|
57
|
+
//# sourceMappingURL=instance-pool-launch-override-shape-config-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-pool-launch-override-shape-config-details.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-launch-override-shape-config-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAyDH,IAAiB,4CAA4C,CAkC5D;AAlCD,WAAiB,4CAA4C;IAC3D,IAAY,uBASX;IATD,WAAY,uBAAuB;QACjC,sDAA2B,CAAA;QAC3B,sDAA2B,CAAA;QAC3B,sDAA2B,CAAA;QAC3B;;;WAGG;QACH,yDAA8B,CAAA;IAChC,CAAC,EATW,uBAAuB,GAAvB,oEAAuB,KAAvB,oEAAuB,QASlC;IAED,IAAY,kBAQX;IARD,WAAY,kBAAkB;QAC5B,yCAAmB,CAAA;QACnB,uCAAiB,CAAA;QACjB;;;WAGG;QACH,oDAA8B,CAAA;IAChC,CAAC,EARW,kBAAkB,GAAlB,+DAAkB,KAAlB,+DAAkB,QAQ7B;IAED,SAAgB,UAAU,CAAC,GAAiD;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAiD;QAEjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,mEAAsB,yBAMrC,CAAA;AACH,CAAC,EAlCgB,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAkC5D"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* One availability domain-scoped rule inside an instance pool launch override policy.
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export interface InstancePoolLaunchOverrideStatement {
|
|
26
|
+
/**
|
|
27
|
+
* A user-friendly name for the override statement.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"name": string;
|
|
31
|
+
"selector": model.InstancePoolLaunchOverrideSelector;
|
|
32
|
+
/**
|
|
33
|
+
* The ordered list of candidate override options for the matched availability domain.
|
|
34
|
+
* <p>
|
|
35
|
+
Request order defines the canonical candidate sequence.
|
|
36
|
+
* Override options within the same statement must normalize to
|
|
37
|
+
* distinct override payloads.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"overrideOptions": Array<model.InstancePoolLaunchOverrideOption>;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace InstancePoolLaunchOverrideStatement {
|
|
43
|
+
function getJsonObj(obj: InstancePoolLaunchOverrideStatement): object;
|
|
44
|
+
function getDeserializedJsonObj(obj: InstancePoolLaunchOverrideStatement): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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.InstancePoolLaunchOverrideStatement = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
43
|
+
var InstancePoolLaunchOverrideStatement;
|
|
44
|
+
(function (InstancePoolLaunchOverrideStatement) {
|
|
45
|
+
function getJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"selector": obj.selector
|
|
48
|
+
? model.InstancePoolLaunchOverrideSelector.getJsonObj(obj.selector)
|
|
49
|
+
: undefined,
|
|
50
|
+
"overrideOptions": obj.overrideOptions
|
|
51
|
+
? obj.overrideOptions.map(item => {
|
|
52
|
+
return model.InstancePoolLaunchOverrideOption.getJsonObj(item);
|
|
53
|
+
})
|
|
54
|
+
: undefined
|
|
55
|
+
});
|
|
56
|
+
return jsonObj;
|
|
57
|
+
}
|
|
58
|
+
InstancePoolLaunchOverrideStatement.getJsonObj = getJsonObj;
|
|
59
|
+
function getDeserializedJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"selector": obj.selector
|
|
62
|
+
? model.InstancePoolLaunchOverrideSelector.getDeserializedJsonObj(obj.selector)
|
|
63
|
+
: undefined,
|
|
64
|
+
"overrideOptions": obj.overrideOptions
|
|
65
|
+
? obj.overrideOptions.map(item => {
|
|
66
|
+
return model.InstancePoolLaunchOverrideOption.getDeserializedJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
InstancePoolLaunchOverrideStatement.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(InstancePoolLaunchOverrideStatement = exports.InstancePoolLaunchOverrideStatement || (exports.InstancePoolLaunchOverrideStatement = {}));
|
|
74
|
+
//# sourceMappingURL=instance-pool-launch-override-statement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance-pool-launch-override-statement.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-launch-override-statement.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,mCAAmC,CAmCnD;AAnCD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,8CAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwC;QAC7E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC/E,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,0DAAsB,yBAgBrC,CAAA;AACH,CAAC,EAnCgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAmCnD"}
|
|
@@ -17,6 +17,7 @@ The required permissions are documented in the
|
|
|
17
17
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
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
19
|
*/
|
|
20
|
+
import * as model from "../model";
|
|
20
21
|
/**
|
|
21
22
|
* Summary information for an instance pool.
|
|
22
23
|
*/
|
|
@@ -52,6 +53,7 @@ export interface InstancePoolSummary {
|
|
|
52
53
|
* The availability domains for the instance pool.
|
|
53
54
|
*/
|
|
54
55
|
"availabilityDomains": Array<string>;
|
|
56
|
+
"overridePolicy"?: model.InstancePoolLaunchOverridePolicy;
|
|
55
57
|
/**
|
|
56
58
|
* The number of instances that should be in the instance pool. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
57
59
|
*/
|
|
@@ -18,8 +18,28 @@ The required permissions are documented in the
|
|
|
18
18
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
19
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
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
|
+
};
|
|
21
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
41
|
exports.InstancePoolSummary = void 0;
|
|
42
|
+
const model = __importStar(require("../model"));
|
|
23
43
|
var InstancePoolSummary;
|
|
24
44
|
(function (InstancePoolSummary) {
|
|
25
45
|
let LifecycleState;
|
|
@@ -39,12 +59,20 @@ var InstancePoolSummary;
|
|
|
39
59
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
40
60
|
})(LifecycleState = InstancePoolSummary.LifecycleState || (InstancePoolSummary.LifecycleState = {}));
|
|
41
61
|
function getJsonObj(obj) {
|
|
42
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"overridePolicy": obj.overridePolicy
|
|
64
|
+
? model.InstancePoolLaunchOverridePolicy.getJsonObj(obj.overridePolicy)
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
43
67
|
return jsonObj;
|
|
44
68
|
}
|
|
45
69
|
InstancePoolSummary.getJsonObj = getJsonObj;
|
|
46
70
|
function getDeserializedJsonObj(obj) {
|
|
47
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
71
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
72
|
+
"overridePolicy": obj.overridePolicy
|
|
73
|
+
? model.InstancePoolLaunchOverridePolicy.getDeserializedJsonObj(obj.overridePolicy)
|
|
74
|
+
: undefined
|
|
75
|
+
});
|
|
48
76
|
return jsonObj;
|
|
49
77
|
}
|
|
50
78
|
InstancePoolSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-pool-summary.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG
|
|
1
|
+
{"version":3,"file":"instance-pool-summary.js","sourceRoot":"","sources":["../../../../../lib/core/lib/model/instance-pool-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuElC,IAAiB,mBAAmB,CAyCnC;AAzCD,WAAiB,mBAAmB;IAClC,IAAY,cAcX;IAdD,WAAY,cAAc;QACxB,+CAA6B,CAAA;QAC7B,qCAAmB,CAAA;QACnB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,6CAA2B,CAAA;QAC3B,qCAAmB,CAAA;QACnB,2CAAyB,CAAA;QACzB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAdW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAczB;IAED,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,8BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACnF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,0CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAyCnC"}
|
|
@@ -97,6 +97,7 @@ export interface InstancePool {
|
|
|
97
97
|
*
|
|
98
98
|
*/
|
|
99
99
|
"loadBalancers"?: Array<model.InstancePoolLoadBalancerAttachment>;
|
|
100
|
+
"overridePolicy"?: model.InstancePoolLaunchOverridePolicy;
|
|
100
101
|
/**
|
|
101
102
|
* A user-friendly formatter for the instance pool's instances. Instance displaynames follow the format.
|
|
102
103
|
* The formatter does not retroactively change instance's displaynames, only instance displaynames in the future follow the format
|