oci-batch 2.129.0 → 2.131.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 +1 -1
- package/lib/client.js +8 -2
- package/lib/client.js.map +1 -1
- package/lib/model/batch-context-summary.d.ts +1 -1
- package/lib/model/batch-context.d.ts +1 -1
- package/lib/model/batch-task-execution-details.d.ts +22 -0
- package/lib/model/batch-task-execution-details.js +68 -0
- package/lib/model/batch-task-execution-details.js.map +1 -0
- package/lib/model/batch-task-hierarchy-view.d.ts +23 -0
- package/lib/model/batch-task-hierarchy-view.js +34 -0
- package/lib/model/batch-task-hierarchy-view.js.map +1 -0
- package/lib/model/batch-task-profile-extended-information.d.ts +22 -0
- package/lib/model/batch-task-profile-extended-information.js +76 -0
- package/lib/model/batch-task-profile-extended-information.js.map +1 -0
- package/lib/model/batch-task-profile-summary.d.ts +6 -0
- package/lib/model/batch-task-profile-summary.js +30 -2
- package/lib/model/batch-task-profile-summary.js.map +1 -1
- package/lib/model/batch-task-profile.d.ts +6 -0
- package/lib/model/batch-task-profile.js +30 -2
- package/lib/model/batch-task-profile.js.map +1 -1
- package/lib/model/batch-task-summary.d.ts +8 -0
- package/lib/model/batch-task-summary.js +4 -0
- package/lib/model/batch-task-summary.js.map +1 -1
- package/lib/model/batch-task.d.ts +9 -1
- package/lib/model/batch-task.js +4 -0
- package/lib/model/batch-task.js.map +1 -1
- package/lib/model/compute-task-execution-details.d.ts +57 -0
- package/lib/model/compute-task-execution-details.js +62 -0
- package/lib/model/compute-task-execution-details.js.map +1 -0
- package/lib/model/compute-task.d.ts +4 -0
- package/lib/model/compute-task.js +10 -0
- package/lib/model/compute-task.js.map +1 -1
- package/lib/model/cpu-architecture-task-profile-extended-information.d.ts +37 -0
- package/lib/model/cpu-architecture-task-profile-extended-information.js +64 -0
- package/lib/model/cpu-architecture-task-profile-extended-information.js.map +1 -0
- package/lib/model/cpu-fleet-shape-execution-details.d.ts +40 -0
- package/lib/model/cpu-fleet-shape-execution-details.js +54 -0
- package/lib/model/cpu-fleet-shape-execution-details.js.map +1 -0
- package/lib/model/cpu-shape-task-profile-extended-information.d.ts +28 -0
- package/lib/model/cpu-shape-task-profile-extended-information.js +54 -0
- package/lib/model/cpu-shape-task-profile-extended-information.js.map +1 -0
- package/lib/model/create-batch-task-details.d.ts +1 -1
- package/lib/model/create-batch-task-details.js +4 -0
- package/lib/model/create-batch-task-details.js.map +1 -1
- package/lib/model/create-batch-task-profile-details.d.ts +8 -2
- package/lib/model/create-batch-task-profile-details.js +30 -2
- package/lib/model/create-batch-task-profile-details.js.map +1 -1
- package/lib/model/create-batch-task-profile-extended-information-details.d.ts +22 -0
- package/lib/model/create-batch-task-profile-extended-information-details.js +76 -0
- package/lib/model/create-batch-task-profile-extended-information-details.js.map +1 -0
- package/lib/model/create-cpu-architecture-task-profile-extended-information-details.d.ts +32 -0
- package/lib/model/create-cpu-architecture-task-profile-extended-information-details.js +59 -0
- package/lib/model/create-cpu-architecture-task-profile-extended-information-details.js.map +1 -0
- package/lib/model/create-cpu-shape-task-profile-extended-information-details.d.ts +28 -0
- package/lib/model/create-cpu-shape-task-profile-extended-information-details.js +54 -0
- package/lib/model/create-cpu-shape-task-profile-extended-information-details.js.map +1 -0
- package/lib/model/create-fixed-gpu-fleet-shape-details.d.ts +32 -0
- package/lib/model/create-fixed-gpu-fleet-shape-details.js +54 -0
- package/lib/model/create-fixed-gpu-fleet-shape-details.js.map +1 -0
- package/lib/model/create-fleet-details.js +4 -0
- package/lib/model/create-fleet-details.js.map +1 -1
- package/lib/model/create-gpu-fleet-shape-details.d.ts +22 -0
- package/lib/model/create-gpu-fleet-shape-details.js +68 -0
- package/lib/model/create-gpu-fleet-shape-details.js.map +1 -0
- package/lib/model/create-gpu-shape-task-profile-extended-information-details.d.ts +28 -0
- package/lib/model/create-gpu-shape-task-profile-extended-information-details.js +54 -0
- package/lib/model/create-gpu-shape-task-profile-extended-information-details.js.map +1 -0
- package/lib/model/create-group-task-details.d.ts +28 -0
- package/lib/model/create-group-task-details.js +66 -0
- package/lib/model/create-group-task-details.js.map +1 -0
- package/lib/model/create-service-managed-gpu-fleet-details.d.ts +33 -0
- package/lib/model/create-service-managed-gpu-fleet-details.js +60 -0
- package/lib/model/create-service-managed-gpu-fleet-details.js.map +1 -0
- package/lib/model/fixed-gpu-fleet-shape.d.ts +32 -0
- package/lib/model/fixed-gpu-fleet-shape.js +52 -0
- package/lib/model/fixed-gpu-fleet-shape.js.map +1 -0
- package/lib/model/fleet-shape-execution-details.d.ts +22 -0
- package/lib/model/fleet-shape-execution-details.js +72 -0
- package/lib/model/fleet-shape-execution-details.js.map +1 -0
- package/lib/model/fleet-shape.d.ts +6 -2
- package/lib/model/fleet-shape.js.map +1 -1
- package/lib/model/fleet.js +4 -0
- package/lib/model/fleet.js.map +1 -1
- package/lib/model/gpu-fleet-shape-execution-details.d.ts +44 -0
- package/lib/model/gpu-fleet-shape-execution-details.js +54 -0
- package/lib/model/gpu-fleet-shape-execution-details.js.map +1 -0
- package/lib/model/gpu-fleet-shape.d.ts +22 -0
- package/lib/model/gpu-fleet-shape.js +68 -0
- package/lib/model/gpu-fleet-shape.js.map +1 -0
- package/lib/model/gpu-shape-task-profile-extended-information.d.ts +28 -0
- package/lib/model/gpu-shape-task-profile-extended-information.js +54 -0
- package/lib/model/gpu-shape-task-profile-extended-information.js.map +1 -0
- package/lib/model/group-task-summary.d.ts +28 -0
- package/lib/model/group-task-summary.js +52 -0
- package/lib/model/group-task-summary.js.map +1 -0
- package/lib/model/group-task.d.ts +28 -0
- package/lib/model/group-task.js +50 -0
- package/lib/model/group-task.js.map +1 -0
- package/lib/model/index.d.ts +52 -0
- package/lib/model/index.js +55 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/logging-configuration.d.ts +1 -1
- package/lib/model/oci-logging-configuration.d.ts +4 -0
- package/lib/model/oci-logging-configuration.js.map +1 -1
- package/lib/model/service-managed-fleet.d.ts +1 -1
- package/lib/model/service-managed-gpu-fleet.d.ts +41 -0
- package/lib/model/service-managed-gpu-fleet.js +56 -0
- package/lib/model/service-managed-gpu-fleet.js.map +1 -0
- package/lib/model/shape-type.d.ts +23 -0
- package/lib/model/shape-type.js +34 -0
- package/lib/model/shape-type.js.map +1 -0
- package/lib/model/update-batch-context-details.d.ts +1 -0
- package/lib/model/update-batch-context-details.js +6 -0
- package/lib/model/update-batch-context-details.js.map +1 -1
- package/lib/model/update-logging-configuration-details.d.ts +22 -0
- package/lib/model/update-logging-configuration-details.js +68 -0
- package/lib/model/update-logging-configuration-details.js.map +1 -0
- package/lib/model/update-oci-logging-configuration.d.ts +28 -0
- package/lib/model/update-oci-logging-configuration.js +54 -0
- package/lib/model/update-oci-logging-configuration.js.map +1 -0
- package/lib/request/get-batch-task-request.d.ts +1 -1
- package/lib/request/list-batch-context-shapes-request.d.ts +5 -0
- package/lib/request/list-batch-job-tasks-request.d.ts +17 -1
- package/lib/request/list-batch-tasks-request.d.ts +5 -1
- package/package.json +3 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Batch API
|
|
3
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
4
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
/**
|
|
14
|
+
* Extended information for the task profile.
|
|
15
|
+
*/
|
|
16
|
+
export interface BatchTaskProfileExtendedInformation {
|
|
17
|
+
"type": string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace BatchTaskProfileExtendedInformation {
|
|
20
|
+
function getJsonObj(obj: BatchTaskProfileExtendedInformation): object;
|
|
21
|
+
function getDeserializedJsonObj(obj: BatchTaskProfileExtendedInformation): object;
|
|
22
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Batch API
|
|
4
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
5
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.BatchTaskProfileExtendedInformation = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var BatchTaskProfileExtendedInformation;
|
|
38
|
+
(function (BatchTaskProfileExtendedInformation) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "type" in obj && obj.type) {
|
|
42
|
+
switch (obj.type) {
|
|
43
|
+
case "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
44
|
+
return model.CpuArchitectureTaskProfileExtendedInformation.getJsonObj(jsonObj, true);
|
|
45
|
+
case "CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
46
|
+
return model.CpuShapeTaskProfileExtendedInformation.getJsonObj(jsonObj, true);
|
|
47
|
+
case "GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
48
|
+
return model.GpuShapeTaskProfileExtendedInformation.getJsonObj(jsonObj, true);
|
|
49
|
+
default:
|
|
50
|
+
if (common.LOG.logger)
|
|
51
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
BatchTaskProfileExtendedInformation.getJsonObj = getJsonObj;
|
|
57
|
+
function getDeserializedJsonObj(obj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
59
|
+
if (obj && "type" in obj && obj.type) {
|
|
60
|
+
switch (obj.type) {
|
|
61
|
+
case "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
62
|
+
return model.CpuArchitectureTaskProfileExtendedInformation.getDeserializedJsonObj(jsonObj, true);
|
|
63
|
+
case "CPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
64
|
+
return model.CpuShapeTaskProfileExtendedInformation.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
case "GPU_SHAPE_TASK_PROFILE_EXTENDED_INFORMATION":
|
|
66
|
+
return model.GpuShapeTaskProfileExtendedInformation.getDeserializedJsonObj(jsonObj, true);
|
|
67
|
+
default:
|
|
68
|
+
if (common.LOG.logger)
|
|
69
|
+
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
BatchTaskProfileExtendedInformation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(BatchTaskProfileExtendedInformation = exports.BatchTaskProfileExtendedInformation || (exports.BatchTaskProfileExtendedInformation = {}));
|
|
76
|
+
//# sourceMappingURL=batch-task-profile-extended-information.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-task-profile-extended-information.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-profile-extended-information.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,mCAAmC,CAqDnD;AArDD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CAAC,GAAwC;QACjE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,oDAAoD;oBACvD,OAAO,KAAK,CAAC,6CAA6C,CAAC,UAAU,CACL,OAAQ,EACtE,IAAI,CACL,CAAC;gBACJ,KAAK,6CAA6C;oBAChD,OAAO,KAAK,CAAC,sCAAsC,CAAC,UAAU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, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* Summary information about a batch task profile.
|
|
15
16
|
*/
|
|
@@ -38,6 +39,11 @@ export interface BatchTaskProfileSummary {
|
|
|
38
39
|
* The minimum required memory. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
39
40
|
*/
|
|
40
41
|
"minMemoryInGBs"?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The minimum required size of disk space in GBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
|
+
*/
|
|
45
|
+
"minDiskSizeInGBs"?: number;
|
|
46
|
+
"extendedInformation"?: model.CpuArchitectureTaskProfileExtendedInformation | model.CpuShapeTaskProfileExtendedInformation | model.GpuShapeTaskProfileExtendedInformation;
|
|
41
47
|
/**
|
|
42
48
|
* The current state of the batch task profile.
|
|
43
49
|
*
|
|
@@ -11,17 +11,45 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.BatchTaskProfileSummary = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var BatchTaskProfileSummary;
|
|
17
37
|
(function (BatchTaskProfileSummary) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"extendedInformation": obj.extendedInformation
|
|
41
|
+
? model.BatchTaskProfileExtendedInformation.getJsonObj(obj.extendedInformation)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
20
44
|
return jsonObj;
|
|
21
45
|
}
|
|
22
46
|
BatchTaskProfileSummary.getJsonObj = getJsonObj;
|
|
23
47
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"extendedInformation": obj.extendedInformation
|
|
50
|
+
? model.BatchTaskProfileExtendedInformation.getDeserializedJsonObj(obj.extendedInformation)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
25
53
|
return jsonObj;
|
|
26
54
|
}
|
|
27
55
|
BatchTaskProfileSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-task-profile-summary.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-profile-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"batch-task-profile-summary.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-profile-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmFlC,IAAiB,uBAAuB,CA2BvC;AA3BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC9D,GAAG,CAAC,mBAAmB,CACxB;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAsB,yBAarC,CAAA;AACH,CAAC,EA3BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA2BvC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* A batch task profile resource describes the minimum hardware requirements requested for a task.
|
|
15
16
|
* <p>
|
|
@@ -43,6 +44,11 @@ export interface BatchTaskProfile {
|
|
|
43
44
|
* The minimum required memory. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
44
45
|
*/
|
|
45
46
|
"minMemoryInGBs": number;
|
|
47
|
+
/**
|
|
48
|
+
* The minimum required size of disk space in GBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
|
+
*/
|
|
50
|
+
"minDiskSizeInGBs"?: number;
|
|
51
|
+
"extendedInformation"?: model.CpuArchitectureTaskProfileExtendedInformation | model.CpuShapeTaskProfileExtendedInformation | model.GpuShapeTaskProfileExtendedInformation;
|
|
46
52
|
/**
|
|
47
53
|
* The current state of the batch task profile.
|
|
48
54
|
*
|
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.BatchTaskProfile = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var BatchTaskProfile;
|
|
17
37
|
(function (BatchTaskProfile) {
|
|
18
38
|
let LifecycleState;
|
|
@@ -26,12 +46,20 @@ var BatchTaskProfile;
|
|
|
26
46
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
47
|
})(LifecycleState = BatchTaskProfile.LifecycleState || (BatchTaskProfile.LifecycleState = {}));
|
|
28
48
|
function getJsonObj(obj) {
|
|
29
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
"extendedInformation": obj.extendedInformation
|
|
51
|
+
? model.BatchTaskProfileExtendedInformation.getJsonObj(obj.extendedInformation)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
30
54
|
return jsonObj;
|
|
31
55
|
}
|
|
32
56
|
BatchTaskProfile.getJsonObj = getJsonObj;
|
|
33
57
|
function getDeserializedJsonObj(obj) {
|
|
34
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
59
|
+
"extendedInformation": obj.extendedInformation
|
|
60
|
+
? model.BatchTaskProfileExtendedInformation.getDeserializedJsonObj(obj.extendedInformation)
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
35
63
|
return jsonObj;
|
|
36
64
|
}
|
|
37
65
|
BatchTaskProfile.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-task-profile.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-profile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"batch-task-profile.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-profile.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwFlC,IAAiB,gBAAgB,CAqChC;AArCD,WAAiB,gBAAgB;IAC/B,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EARW,cAAc,GAAd,+BAAc,KAAd,+BAAc,QAQzB;IAED,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC9D,GAAG,CAAC,mBAAmB,CACxB;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAsB,yBAarC,CAAA;AACH,CAAC,EArCgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAqChC"}
|
|
@@ -26,6 +26,14 @@ export interface BatchTaskSummary {
|
|
|
26
26
|
* The name of the batch task. It must be unique within its parent batch job.
|
|
27
27
|
*/
|
|
28
28
|
"name": string;
|
|
29
|
+
/**
|
|
30
|
+
* The hierarchical name of the task, which incorporates names of all parent group tasks, separated by \".\" (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
|
|
31
|
+
*/
|
|
32
|
+
"hierarchicalName"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The hierarchical name of the group task. Null for top-level tasks.
|
|
35
|
+
*/
|
|
36
|
+
"groupTaskName"?: string;
|
|
29
37
|
/**
|
|
30
38
|
* An optional description that provides additional context next to the displayName.
|
|
31
39
|
*/
|
|
@@ -42,6 +42,8 @@ var BatchTaskSummary;
|
|
|
42
42
|
switch (obj.type) {
|
|
43
43
|
case "COMPUTE":
|
|
44
44
|
return model.ComputeTaskSummary.getJsonObj(jsonObj, true);
|
|
45
|
+
case "GROUP":
|
|
46
|
+
return model.GroupTaskSummary.getJsonObj(jsonObj, true);
|
|
45
47
|
default:
|
|
46
48
|
if (common.LOG.logger)
|
|
47
49
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -56,6 +58,8 @@ var BatchTaskSummary;
|
|
|
56
58
|
switch (obj.type) {
|
|
57
59
|
case "COMPUTE":
|
|
58
60
|
return model.ComputeTaskSummary.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "GROUP":
|
|
62
|
+
return model.GroupTaskSummary.getDeserializedJsonObj(jsonObj, true);
|
|
59
63
|
default:
|
|
60
64
|
if (common.LOG.logger)
|
|
61
65
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-task-summary.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC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B,CAAC,sBAAsB,CACjB,OAAQ,EACzC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uCAAsB,yBAoBrC,CAAA;AACH,CAAC,EAxCgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAwChC"}
|
|
@@ -23,6 +23,14 @@ export interface BatchTask {
|
|
|
23
23
|
* The name of the batch task. It must be unique within its parent batch job.
|
|
24
24
|
*/
|
|
25
25
|
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* The hierarchical name of the task, which incorporates names of all parent group tasks, separated by \".\" (dot symbol). Maximum nesting depth is 4 levels. Example: groupTaskA.nestedGroupTaskB.thisTaskName
|
|
28
|
+
*/
|
|
29
|
+
"hierarchicalName"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The hierarchical name of the group task. Null for top-level tasks.
|
|
32
|
+
*/
|
|
33
|
+
"groupTaskName"?: string;
|
|
26
34
|
/**
|
|
27
35
|
* An optional description that provides additional context next to the displayName.
|
|
28
36
|
*/
|
|
@@ -41,7 +49,7 @@ export interface BatchTask {
|
|
|
41
49
|
*/
|
|
42
50
|
"entitlementClaims": Array<string>;
|
|
43
51
|
/**
|
|
44
|
-
* A list of tasks
|
|
52
|
+
* A list of tasks on which this tasks depends, referenced by name. Dependencies must be within the same parent (job or group task). For tasks within a group task, all dependencies must also be within that same group task.
|
|
45
53
|
*/
|
|
46
54
|
"dependencies": Array<string>;
|
|
47
55
|
/**
|
package/lib/model/batch-task.js
CHANGED
|
@@ -63,6 +63,8 @@ var BatchTask;
|
|
|
63
63
|
switch (obj.type) {
|
|
64
64
|
case "COMPUTE":
|
|
65
65
|
return model.ComputeTask.getJsonObj(jsonObj, true);
|
|
66
|
+
case "GROUP":
|
|
67
|
+
return model.GroupTask.getJsonObj(jsonObj, true);
|
|
66
68
|
default:
|
|
67
69
|
if (common.LOG.logger)
|
|
68
70
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -83,6 +85,8 @@ var BatchTask;
|
|
|
83
85
|
switch (obj.type) {
|
|
84
86
|
case "COMPUTE":
|
|
85
87
|
return model.ComputeTask.getDeserializedJsonObj(jsonObj, true);
|
|
88
|
+
case "GROUP":
|
|
89
|
+
return model.GroupTask.getDeserializedJsonObj(jsonObj, true);
|
|
86
90
|
default:
|
|
87
91
|
if (common.LOG.logger)
|
|
88
92
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-task.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"batch-task.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/batch-task.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAmDtC,IAAiB,SAAS,CAmEzB;AAnED,WAAiB,SAAS;IACxB,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,4CAA0B,CAAA;QAC1B,yCAAuB,CAAA;QACvB,mCAAiB,CAAA;QACjB,yCAAuB,CAAA;QACvB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,wBAAc,KAAd,wBAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAc;QACvC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,C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AQ,EACpC,IAAI,CACL,CAAC;gBACJ,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAA2B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBAC1F;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA1Be,gCAAsB,yBA0BrC,CAAA;AACH,CAAC,EAnEgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAmEzB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Batch API
|
|
3
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
4
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
/**
|
|
15
|
+
* Execution details for a compute task.
|
|
16
|
+
*/
|
|
17
|
+
export interface ComputeTaskExecutionDetails extends model.BatchTaskExecutionDetails {
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for the task execution. Created as \"taskId:taskVersion:runNumber\".
|
|
20
|
+
*/
|
|
21
|
+
"executionId"?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The date and time when the lifecycleState was changed to Waiting, and it is waiting for its dependencies to run, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
24
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
25
|
+
*/
|
|
26
|
+
"timeTransitionedToWaitingDependencies"?: Date;
|
|
27
|
+
/**
|
|
28
|
+
* The date and time when the lifecycleState was changed to Waiting, and it is queued to be executed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
29
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
30
|
+
*/
|
|
31
|
+
"timeTransitionedToWaitingQueued"?: Date;
|
|
32
|
+
/**
|
|
33
|
+
* The date and time when the lifecycleState was changed to In_Progress, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
34
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
35
|
+
*/
|
|
36
|
+
"timeStarted"?: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The date and time when the lifecycleState changed to Succeeded, or Failed, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
39
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
40
|
+
*/
|
|
41
|
+
"timeCompleted"?: Date;
|
|
42
|
+
"fleetShape"?: model.CpuFleetShapeExecutionDetails | model.GpuFleetShapeExecutionDetails;
|
|
43
|
+
/**
|
|
44
|
+
* The terminal lifecycle state of the task for this execution. Valid values are: SUCCEEDED, NEEDS_ATTENTION, CANCELED, or FAILED.
|
|
45
|
+
*/
|
|
46
|
+
"completionLifecycleState"?: string;
|
|
47
|
+
/**
|
|
48
|
+
* List of error messages related to this task execution. Be aware that the maximum number of items returned may change in the future.
|
|
49
|
+
*/
|
|
50
|
+
"errors"?: Array<string>;
|
|
51
|
+
"type": string;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace ComputeTaskExecutionDetails {
|
|
54
|
+
function getJsonObj(obj: ComputeTaskExecutionDetails, isParentJsonObj?: boolean): object;
|
|
55
|
+
const type = "COMPUTE_TASK_EXECUTION_DETAILS";
|
|
56
|
+
function getDeserializedJsonObj(obj: ComputeTaskExecutionDetails, isParentJsonObj?: boolean): object;
|
|
57
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Batch API
|
|
4
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
5
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ComputeTaskExecutionDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ComputeTaskExecutionDetails;
|
|
37
|
+
(function (ComputeTaskExecutionDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.BatchTaskExecutionDetails.getJsonObj(obj))), {
|
|
42
|
+
"fleetShape": obj.fleetShape
|
|
43
|
+
? model.FleetShapeExecutionDetails.getJsonObj(obj.fleetShape)
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
ComputeTaskExecutionDetails.getJsonObj = getJsonObj;
|
|
49
|
+
ComputeTaskExecutionDetails.type = "COMPUTE_TASK_EXECUTION_DETAILS";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.BatchTaskExecutionDetails.getDeserializedJsonObj(obj))), {
|
|
54
|
+
"fleetShape": obj.fleetShape
|
|
55
|
+
? model.FleetShapeExecutionDetails.getDeserializedJsonObj(obj.fleetShape)
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
ComputeTaskExecutionDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
61
|
+
})(ComputeTaskExecutionDetails = exports.ComputeTaskExecutionDetails || (exports.ComputeTaskExecutionDetails = {}));
|
|
62
|
+
//# sourceMappingURL=compute-task-execution-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compute-task-execution-details.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/compute-task-execution-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ClC,IAAiB,2BAA2B,CAmC3C;AAnCD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAiC,CAAC,GAClF;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAU,aAazB,CAAA;IACY,gCAAI,GAAG,gCAAgC,CAAC;IACrD,SAAgB,sBAAsB,CACpC,GAAgC,EAChC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC4B,CAAC,GACnC;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kDAAsB,yBAkBrC,CAAA;AACH,CAAC,EAnCgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAmC3C"}
|
|
@@ -32,6 +32,10 @@ export interface ComputeTask extends model.BatchTask {
|
|
|
32
32
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BatchTaskEnvironment.
|
|
33
33
|
*/
|
|
34
34
|
"batchTaskEnvironmentId": string;
|
|
35
|
+
/**
|
|
36
|
+
* List of up to 30 most recent execution history entries, from newest to oldest. Be aware that the maximum number of items returned may change in the future.
|
|
37
|
+
*/
|
|
38
|
+
"mostRecentExecutionHistory"?: Array<model.BatchTaskExecutionDetails>;
|
|
35
39
|
"type": string;
|
|
36
40
|
}
|
|
37
41
|
export declare namespace ComputeTask {
|
|
@@ -39,6 +39,11 @@ var ComputeTask;
|
|
|
39
39
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.BatchTask.getJsonObj(obj))), {
|
|
40
40
|
"fleetAssignmentPolicy": obj.fleetAssignmentPolicy
|
|
41
41
|
? model.FleetAssignmentPolicy.getJsonObj(obj.fleetAssignmentPolicy)
|
|
42
|
+
: undefined,
|
|
43
|
+
"mostRecentExecutionHistory": obj.mostRecentExecutionHistory
|
|
44
|
+
? obj.mostRecentExecutionHistory.map(item => {
|
|
45
|
+
return model.BatchTaskExecutionDetails.getJsonObj(item);
|
|
46
|
+
})
|
|
42
47
|
: undefined
|
|
43
48
|
});
|
|
44
49
|
return jsonObj;
|
|
@@ -49,6 +54,11 @@ var ComputeTask;
|
|
|
49
54
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.BatchTask.getDeserializedJsonObj(obj))), {
|
|
50
55
|
"fleetAssignmentPolicy": obj.fleetAssignmentPolicy
|
|
51
56
|
? model.FleetAssignmentPolicy.getDeserializedJsonObj(obj.fleetAssignmentPolicy)
|
|
57
|
+
: undefined,
|
|
58
|
+
"mostRecentExecutionHistory": obj.mostRecentExecutionHistory
|
|
59
|
+
? obj.mostRecentExecutionHistory.map(item => {
|
|
60
|
+
return model.BatchTaskExecutionDetails.getDeserializedJsonObj(item);
|
|
61
|
+
})
|
|
52
62
|
: undefined
|
|
53
63
|
});
|
|
54
64
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-task.js","sourceRoot":"","sources":["../../../../../lib/batch/lib/model/compute-task.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;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qB,CAAC;gBAC/E,CAAC,CAAC,SAAS;YAEb,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxC,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,kCAAsB,yBAiBrC,CAAA;AACH,CAAC,EAtCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAsC3B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Batch API
|
|
3
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
4
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
/**
|
|
15
|
+
* Extended information about CPU architecture for the task profile.
|
|
16
|
+
*/
|
|
17
|
+
export interface CpuArchitectureTaskProfileExtendedInformation extends model.BatchTaskProfileExtendedInformation {
|
|
18
|
+
/**
|
|
19
|
+
* Type of CPU architecture.
|
|
20
|
+
*/
|
|
21
|
+
"architecture": CpuArchitectureTaskProfileExtendedInformation.Architecture;
|
|
22
|
+
"type": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace CpuArchitectureTaskProfileExtendedInformation {
|
|
25
|
+
enum Architecture {
|
|
26
|
+
GenericX86 = "GENERIC_X86",
|
|
27
|
+
GenericArm = "GENERIC_ARM",
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
33
|
+
}
|
|
34
|
+
function getJsonObj(obj: CpuArchitectureTaskProfileExtendedInformation, isParentJsonObj?: boolean): object;
|
|
35
|
+
const type = "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION";
|
|
36
|
+
function getDeserializedJsonObj(obj: CpuArchitectureTaskProfileExtendedInformation, isParentJsonObj?: boolean): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Batch API
|
|
4
|
+
* Use the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
|
|
5
|
+
* OpenAPI spec version: 20251031
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.CpuArchitectureTaskProfileExtendedInformation = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CpuArchitectureTaskProfileExtendedInformation;
|
|
37
|
+
(function (CpuArchitectureTaskProfileExtendedInformation) {
|
|
38
|
+
let Architecture;
|
|
39
|
+
(function (Architecture) {
|
|
40
|
+
Architecture["GenericX86"] = "GENERIC_X86";
|
|
41
|
+
Architecture["GenericArm"] = "GENERIC_ARM";
|
|
42
|
+
/**
|
|
43
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
44
|
+
* version of the SDK.
|
|
45
|
+
*/
|
|
46
|
+
Architecture["UnknownValue"] = "UNKNOWN_VALUE";
|
|
47
|
+
})(Architecture = CpuArchitectureTaskProfileExtendedInformation.Architecture || (CpuArchitectureTaskProfileExtendedInformation.Architecture = {}));
|
|
48
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.BatchTaskProfileExtendedInformation.getJsonObj(obj))), {});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
CpuArchitectureTaskProfileExtendedInformation.getJsonObj = getJsonObj;
|
|
55
|
+
CpuArchitectureTaskProfileExtendedInformation.type = "CPU_ARCHITECTURE_TASK_PROFILE_EXTENDED_INFORMATION";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.BatchTaskProfileExtendedInformation.getDeserializedJsonObj(obj))), {});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
CpuArchitectureTaskProfileExtendedInformation.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(CpuArchitectureTaskProfileExtendedInformation = exports.CpuArchitectureTaskProfileExtendedInformation || (exports.CpuArchitectureTaskProfileExtendedInformation = {}));
|
|
64
|
+
//# sourceMappingURL=cpu-architecture-task-profile-extended-information.js.map
|