oci-datascience 2.132.0 → 2.134.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +128 -0
- package/lib/client.js +540 -0
- package/lib/client.js.map +1 -1
- package/lib/datascience-waiter.d.ts +8 -0
- package/lib/datascience-waiter.js +12 -0
- package/lib/datascience-waiter.js.map +1 -1
- package/lib/model/auth-configuration.js +0 -8
- package/lib/model/auth-configuration.js.map +1 -1
- package/lib/model/auto-scaling-policy.d.ts +1 -1
- package/lib/model/change-compute-target-compartment-details.d.ts +27 -0
- package/lib/model/change-compute-target-compartment-details.js +30 -0
- package/lib/model/change-compute-target-compartment-details.js.map +1 -0
- package/lib/model/compute-configuration-details.d.ts +23 -0
- package/lib/model/compute-configuration-details.js +69 -0
- package/lib/model/compute-configuration-details.js.map +1 -0
- package/lib/model/compute-target-lifecycle-state.d.ts +34 -0
- package/lib/model/compute-target-lifecycle-state.js +45 -0
- package/lib/model/compute-target-lifecycle-state.js.map +1 -0
- package/lib/model/compute-target-shape-series.d.ts +34 -0
- package/lib/model/compute-target-shape-series.js +45 -0
- package/lib/model/compute-target-shape-series.js.map +1 -0
- package/lib/model/{idcs-custom-service-auth-configuration.d.ts → compute-target-shape-summary.d.ts} +18 -19
- package/lib/model/compute-target-shape-summary.js +30 -0
- package/lib/model/compute-target-shape-summary.js.map +1 -0
- package/lib/model/compute-target-summary.d.ts +67 -0
- package/lib/model/compute-target-summary.js +30 -0
- package/lib/model/compute-target-summary.js.map +1 -0
- package/lib/model/compute-target-system-data.d.ts +23 -0
- package/lib/model/compute-target-system-data.js +69 -0
- package/lib/model/compute-target-system-data.js.map +1 -0
- package/lib/model/compute-target.d.ts +93 -0
- package/lib/model/compute-target.js +64 -0
- package/lib/model/compute-target.js.map +1 -0
- package/lib/model/compute-type.d.ts +28 -0
- package/lib/model/compute-type.js +39 -0
- package/lib/model/compute-type.js.map +1 -0
- package/lib/model/create-auth-configuration-details.js +0 -8
- package/lib/model/create-auth-configuration-details.js.map +1 -1
- package/lib/model/create-compute-target-details.d.ts +71 -0
- package/lib/model/create-compute-target-details.js +58 -0
- package/lib/model/create-compute-target-details.js.map +1 -0
- package/lib/model/create-job-details.d.ts +1 -1
- package/lib/model/create-job-details.js.map +1 -1
- package/lib/model/create-job-run-details.d.ts +1 -1
- package/lib/model/create-job-run-details.js.map +1 -1
- package/lib/model/create-ml-application-instance-details.d.ts +1 -1
- package/lib/model/create-ml-application-instance-details.js.map +1 -1
- package/lib/model/create-model-deployment-details.d.ts +1 -1
- package/lib/model/create-model-deployment-details.js.map +1 -1
- package/lib/model/http-method.d.ts +33 -0
- package/lib/model/http-method.js +44 -0
- package/lib/model/http-method.js.map +1 -0
- package/lib/model/index.d.ts +116 -8
- package/lib/model/index.js +124 -15
- package/lib/model/index.js.map +1 -1
- package/lib/model/{idcs-auth-configuration.d.ts → inference-http-endpoint.d.ts} +12 -11
- package/lib/model/inference-http-endpoint.js +62 -0
- package/lib/model/inference-http-endpoint.js.map +1 -0
- package/lib/model/job-infrastructure-configuration-details.js +4 -0
- package/lib/model/job-infrastructure-configuration-details.js.map +1 -1
- package/lib/model/job-node-group-configuration-details.d.ts +1 -1
- package/lib/model/job-node-group-configuration-details.js.map +1 -1
- package/lib/model/job-run.d.ts +2 -2
- package/lib/model/job-run.js.map +1 -1
- package/lib/model/job.d.ts +1 -1
- package/lib/model/job.js.map +1 -1
- package/lib/model/managed-compute-cluster-auto-scaling-policy-details.d.ts +23 -0
- package/lib/model/managed-compute-cluster-auto-scaling-policy-details.js +69 -0
- package/lib/model/managed-compute-cluster-auto-scaling-policy-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-auto-scaling-policy.d.ts +40 -0
- package/lib/model/managed-compute-cluster-auto-scaling-policy.js +67 -0
- package/lib/model/managed-compute-cluster-auto-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-compute-configuration-details.d.ts +27 -0
- package/lib/model/managed-compute-cluster-compute-configuration-details.js +69 -0
- package/lib/model/managed-compute-cluster-compute-configuration-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-custom-expression-query-scaling-configuration.d.ts +39 -0
- package/lib/model/managed-compute-cluster-custom-expression-query-scaling-configuration.js +55 -0
- package/lib/model/managed-compute-cluster-custom-expression-query-scaling-configuration.js.map +1 -0
- package/lib/model/managed-compute-cluster-custom-metric-expression-rule.d.ts +27 -0
- package/lib/model/managed-compute-cluster-custom-metric-expression-rule.js +69 -0
- package/lib/model/managed-compute-cluster-custom-metric-expression-rule.js.map +1 -0
- package/lib/model/managed-compute-cluster-fixed-size-scaling-policy.d.ts +29 -0
- package/lib/model/{create-idcs-auth-configuration-details.js → managed-compute-cluster-fixed-size-scaling-policy.js} +10 -10
- package/lib/model/managed-compute-cluster-fixed-size-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-instance-configuration-details.d.ts +32 -0
- package/lib/model/managed-compute-cluster-instance-configuration-details.js +58 -0
- package/lib/model/managed-compute-cluster-instance-configuration-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-instance-shape-details.d.ts +30 -0
- package/lib/model/managed-compute-cluster-instance-shape-details.js +30 -0
- package/lib/model/managed-compute-cluster-instance-shape-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-job-infrastructure-configuration-details.d.ts +30 -0
- package/lib/model/managed-compute-cluster-job-infrastructure-configuration-details.js +63 -0
- package/lib/model/managed-compute-cluster-job-infrastructure-configuration-details.js.map +1 -0
- package/lib/model/{create-idcs-auth-configuration-details.d.ts → managed-compute-cluster-job-resource-configuration.d.ts} +7 -11
- package/lib/model/managed-compute-cluster-job-resource-configuration.js +64 -0
- package/lib/model/managed-compute-cluster-job-resource-configuration.js.map +1 -0
- package/lib/model/managed-compute-cluster-metric-expression-rule.d.ts +23 -0
- package/lib/model/managed-compute-cluster-metric-expression-rule.js +73 -0
- package/lib/model/managed-compute-cluster-metric-expression-rule.js.map +1 -0
- package/lib/model/managed-compute-cluster-model-deploy-infrastructure-config-details.d.ts +31 -0
- package/lib/model/managed-compute-cluster-model-deploy-infrastructure-config-details.js +69 -0
- package/lib/model/managed-compute-cluster-model-deploy-infrastructure-config-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-model-deployment-resource-configuration.d.ts +25 -0
- package/lib/model/managed-compute-cluster-model-deployment-resource-configuration.js +64 -0
- package/lib/model/managed-compute-cluster-model-deployment-resource-configuration.js.map +1 -0
- package/lib/model/managed-compute-cluster-model-deployment-system-data.d.ts +29 -0
- package/lib/model/{idcs-custom-service-auth-configuration.js → managed-compute-cluster-model-deployment-system-data.js} +10 -10
- package/lib/model/managed-compute-cluster-model-deployment-system-data.js.map +1 -0
- package/lib/model/managed-compute-cluster-predefined-expression-threshold-scaling-configuration.d.ts +29 -0
- package/lib/model/managed-compute-cluster-predefined-expression-threshold-scaling-configuration.js +55 -0
- package/lib/model/managed-compute-cluster-predefined-expression-threshold-scaling-configuration.js.map +1 -0
- package/lib/model/managed-compute-cluster-predefined-metric-expression-rule.d.ts +40 -0
- package/lib/model/managed-compute-cluster-predefined-metric-expression-rule.js +79 -0
- package/lib/model/managed-compute-cluster-predefined-metric-expression-rule.js.map +1 -0
- package/lib/model/managed-compute-cluster-scaling-configuration.d.ts +36 -0
- package/lib/model/managed-compute-cluster-scaling-configuration.js +73 -0
- package/lib/model/managed-compute-cluster-scaling-configuration.js.map +1 -0
- package/lib/model/managed-compute-cluster-scaling-policy.d.ts +23 -0
- package/lib/model/managed-compute-cluster-scaling-policy.js +73 -0
- package/lib/model/managed-compute-cluster-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-system-data.d.ts +29 -0
- package/lib/model/{idcs-auth-configuration.js → managed-compute-cluster-system-data.js} +10 -10
- package/lib/model/managed-compute-cluster-system-data.js.map +1 -0
- package/lib/model/managed-compute-cluster-threshold-based-auto-scaling-policy-details.d.ts +45 -0
- package/lib/model/managed-compute-cluster-threshold-based-auto-scaling-policy-details.js +67 -0
- package/lib/model/managed-compute-cluster-threshold-based-auto-scaling-policy-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy-details.d.ts +23 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy-details.js +69 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy-details.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy.d.ts +33 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy.js +67 -0
- package/lib/model/managed-compute-cluster-workload-auto-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-fixed-size-scaling-policy.d.ts +29 -0
- package/lib/model/managed-compute-cluster-workload-fixed-size-scaling-policy.js +55 -0
- package/lib/model/managed-compute-cluster-workload-fixed-size-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-metric-expression-rule.d.ts +23 -0
- package/lib/model/managed-compute-cluster-workload-metric-expression-rule.js +73 -0
- package/lib/model/managed-compute-cluster-workload-metric-expression-rule.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-scale-policy.d.ts +41 -0
- package/lib/model/managed-compute-cluster-workload-scale-policy.js +30 -0
- package/lib/model/managed-compute-cluster-workload-scale-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-scaling-policy.d.ts +23 -0
- package/lib/model/managed-compute-cluster-workload-scaling-policy.js +73 -0
- package/lib/model/managed-compute-cluster-workload-scaling-policy.js.map +1 -0
- package/lib/model/managed-compute-cluster-workload-threshold-based-policy-details.d.ts +47 -0
- package/lib/model/managed-compute-cluster-workload-threshold-based-policy-details.js +79 -0
- package/lib/model/managed-compute-cluster-workload-threshold-based-policy-details.js.map +1 -0
- package/lib/model/ml-application-instance-view.d.ts +1 -1
- package/lib/model/ml-application-instance-view.js.map +1 -1
- package/lib/model/ml-application-instance.d.ts +1 -1
- package/lib/model/ml-application-instance.js.map +1 -1
- package/lib/model/model-deploy-infrastructure-configuration-details.d.ts +23 -0
- package/lib/model/model-deploy-infrastructure-configuration-details.js +69 -0
- package/lib/model/model-deploy-infrastructure-configuration-details.js.map +1 -0
- package/lib/model/model-deploy-infrastructure-type.d.ts +28 -0
- package/lib/model/model-deploy-infrastructure-type.js +39 -0
- package/lib/model/model-deploy-infrastructure-type.js.map +1 -0
- package/lib/model/model-deployment-configuration-details.js +4 -0
- package/lib/model/model-deployment-configuration-details.js.map +1 -1
- package/lib/model/model-deployment-summary.d.ts +2 -2
- package/lib/model/model-deployment-summary.js.map +1 -1
- package/lib/model/model-deployment-system-data.js +4 -0
- package/lib/model/model-deployment-system-data.js.map +1 -1
- package/lib/model/model-deployment-type.d.ts +1 -0
- package/lib/model/model-deployment-type.js +1 -0
- package/lib/model/model-deployment-type.js.map +1 -1
- package/lib/model/model-deployment.d.ts +2 -2
- package/lib/model/model-deployment.js.map +1 -1
- package/lib/model/ocir-model-deployment-environment-configuration-details.d.ts +12 -0
- package/lib/model/ocir-model-deployment-environment-configuration-details.js +14 -2
- package/lib/model/ocir-model-deployment-environment-configuration-details.js.map +1 -1
- package/lib/model/resource-limit-configuration.d.ts +32 -0
- package/lib/model/resource-limit-configuration.js +30 -0
- package/lib/model/resource-limit-configuration.js.map +1 -0
- package/lib/model/resource-request-configuration.d.ts +37 -0
- package/lib/model/resource-request-configuration.js +30 -0
- package/lib/model/resource-request-configuration.js.map +1 -0
- package/lib/model/single-model-configuration-details.d.ts +26 -0
- package/lib/model/single-model-configuration-details.js +30 -0
- package/lib/model/single-model-configuration-details.js.map +1 -0
- package/lib/model/single-model-deployment-flex-configuration-details.d.ts +28 -0
- package/lib/model/single-model-deployment-flex-configuration-details.js +75 -0
- package/lib/model/single-model-deployment-flex-configuration-details.js.map +1 -0
- package/lib/model/target-custom-expression-query-scaling-configuration.d.ts +47 -0
- package/lib/model/{create-idcs-custom-service-auth-configuration-details.js → target-custom-expression-query-scaling-configuration.js} +10 -10
- package/lib/model/target-custom-expression-query-scaling-configuration.js.map +1 -0
- package/lib/model/target-custom-metric-expression-rule.d.ts +26 -0
- package/lib/model/target-custom-metric-expression-rule.js +63 -0
- package/lib/model/target-custom-metric-expression-rule.js.map +1 -0
- package/lib/model/target-predefined-expression-threshold-scaling-configuration.d.ts +29 -0
- package/lib/model/target-predefined-expression-threshold-scaling-configuration.js +55 -0
- package/lib/model/target-predefined-expression-threshold-scaling-configuration.js.map +1 -0
- package/lib/model/target-predefined-metric-expression-rule.d.ts +39 -0
- package/lib/model/target-predefined-metric-expression-rule.js +73 -0
- package/lib/model/target-predefined-metric-expression-rule.js.map +1 -0
- package/lib/model/target-scaling-configuration.d.ts +23 -0
- package/lib/model/target-scaling-configuration.js +73 -0
- package/lib/model/target-scaling-configuration.js.map +1 -0
- package/lib/model/update-compute-configuration-details.d.ts +23 -0
- package/lib/model/update-compute-configuration-details.js +69 -0
- package/lib/model/update-compute-configuration-details.js.map +1 -0
- package/lib/model/update-compute-target-details.d.ts +66 -0
- package/lib/model/update-compute-target-details.js +58 -0
- package/lib/model/update-compute-target-details.js.map +1 -0
- package/lib/model/update-job-details.d.ts +1 -1
- package/lib/model/update-job-details.js.map +1 -1
- package/lib/model/update-managed-compute-cluster-configuration-details.d.ts +27 -0
- package/lib/model/update-managed-compute-cluster-configuration-details.js +69 -0
- package/lib/model/update-managed-compute-cluster-configuration-details.js.map +1 -0
- package/lib/model/update-managed-compute-cluster-instance-configuration-details.d.ts +32 -0
- package/lib/model/update-managed-compute-cluster-instance-configuration-details.js +58 -0
- package/lib/model/update-managed-compute-cluster-instance-configuration-details.js.map +1 -0
- package/lib/model/update-managed-compute-cluster-model-deploy-infrastructure-config-details.d.ts +33 -0
- package/lib/model/update-managed-compute-cluster-model-deploy-infrastructure-config-details.js +69 -0
- package/lib/model/update-managed-compute-cluster-model-deploy-infrastructure-config-details.js.map +1 -0
- package/lib/model/update-model-deploy-infrastructure-configuration-details.d.ts +23 -0
- package/lib/model/update-model-deploy-infrastructure-configuration-details.js +69 -0
- package/lib/model/update-model-deploy-infrastructure-configuration-details.js.map +1 -0
- package/lib/model/update-model-deployment-configuration-details.js +4 -0
- package/lib/model/update-model-deployment-configuration-details.js.map +1 -1
- package/lib/model/update-model-deployment-details.d.ts +1 -1
- package/lib/model/update-model-deployment-details.js.map +1 -1
- package/lib/model/update-ocir-model-deployment-environment-configuration-details.d.ts +12 -0
- package/lib/model/update-ocir-model-deployment-environment-configuration-details.js +14 -2
- package/lib/model/update-ocir-model-deployment-environment-configuration-details.js.map +1 -1
- package/lib/model/update-single-model-configuration-details.d.ts +26 -0
- package/lib/model/update-single-model-configuration-details.js +30 -0
- package/lib/model/update-single-model-configuration-details.js.map +1 -0
- package/lib/model/update-single-model-deployment-flex-configuration-details.d.ts +28 -0
- package/lib/model/update-single-model-deployment-flex-configuration-details.js +75 -0
- package/lib/model/update-single-model-deployment-flex-configuration-details.js.map +1 -0
- package/lib/model/work-request-operation-type.d.ts +3 -0
- package/lib/model/work-request-operation-type.js +3 -0
- package/lib/model/work-request-operation-type.js.map +1 -1
- package/lib/request/change-compute-target-compartment-request.d.ts +46 -0
- package/lib/request/change-compute-target-compartment-request.js +15 -0
- package/lib/request/change-compute-target-compartment-request.js.map +1 -0
- package/lib/request/create-compute-target-request.d.ts +33 -0
- package/lib/request/create-compute-target-request.js +15 -0
- package/lib/request/create-compute-target-request.js.map +1 -0
- package/lib/request/delete-compute-target-request.d.ts +36 -0
- package/lib/request/delete-compute-target-request.js +15 -0
- package/lib/request/delete-compute-target-request.js.map +1 -0
- package/lib/request/get-compute-target-request.d.ts +27 -0
- package/lib/request/get-compute-target-request.js +15 -0
- package/lib/request/get-compute-target-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-compute-target-shapes-request.d.ts +45 -0
- package/lib/request/list-compute-target-shapes-request.js +15 -0
- package/lib/request/list-compute-target-shapes-request.js.map +1 -0
- package/lib/request/list-compute-targets-request.d.ts +84 -0
- package/lib/request/list-compute-targets-request.js +29 -0
- package/lib/request/list-compute-targets-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +3 -0
- package/lib/request/list-work-requests-request.js +3 -0
- package/lib/request/list-work-requests-request.js.map +1 -1
- package/lib/request/update-compute-target-request.d.ts +41 -0
- package/lib/request/update-compute-target-request.js +15 -0
- package/lib/request/update-compute-target-request.js.map +1 -0
- package/lib/response/change-compute-target-compartment-response.d.ts +20 -0
- package/lib/response/change-compute-target-compartment-response.js +15 -0
- package/lib/response/change-compute-target-compartment-response.js.map +1 -0
- package/lib/response/create-compute-target-response.d.ts +41 -0
- package/lib/response/create-compute-target-response.js +15 -0
- package/lib/response/create-compute-target-response.js.map +1 -0
- package/lib/response/delete-compute-target-response.d.ts +26 -0
- package/lib/response/delete-compute-target-response.js +15 -0
- package/lib/response/delete-compute-target-response.js.map +1 -0
- package/lib/response/get-compute-target-response.d.ts +30 -0
- package/lib/response/get-compute-target-response.js +15 -0
- package/lib/response/get-compute-target-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-compute-target-shapes-response.d.ts +35 -0
- package/lib/response/list-compute-target-shapes-response.js +15 -0
- package/lib/response/list-compute-target-shapes-response.js.map +1 -0
- package/lib/response/list-compute-targets-response.d.ts +35 -0
- package/lib/response/list-compute-targets-response.js +15 -0
- package/lib/response/list-compute-targets-response.js.map +1 -0
- package/lib/response/update-compute-target-response.d.ts +26 -0
- package/lib/response/update-compute-target-response.js +15 -0
- package/lib/response/update-compute-target-response.js.map +1 -0
- package/package.json +4 -3
- package/lib/model/create-idcs-auth-configuration-details.js.map +0 -1
- package/lib/model/create-idcs-custom-service-auth-configuration-details.d.ts +0 -45
- package/lib/model/create-idcs-custom-service-auth-configuration-details.js.map +0 -1
- package/lib/model/idcs-auth-configuration.js.map +0 -1
- package/lib/model/idcs-custom-service-auth-configuration.js.map +0 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Managed compute cluster system data.
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagedComputeClusterSystemData extends model.ComputeTargetSystemData {
|
|
19
|
+
/**
|
|
20
|
+
* Current count of the instances in managed compute cluster type compute target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"currentInstanceCount"?: number;
|
|
23
|
+
"computeType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ManagedComputeClusterSystemData {
|
|
26
|
+
function getJsonObj(obj: ManagedComputeClusterSystemData, isParentJsonObj?: boolean): object;
|
|
27
|
+
const computeType = "MANAGED_COMPUTE_CLUSTER";
|
|
28
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterSystemData, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -32,24 +32,24 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
exports.
|
|
35
|
+
exports.ManagedComputeClusterSystemData = void 0;
|
|
36
36
|
const model = __importStar(require("../model"));
|
|
37
|
-
var
|
|
38
|
-
(function (
|
|
37
|
+
var ManagedComputeClusterSystemData;
|
|
38
|
+
(function (ManagedComputeClusterSystemData) {
|
|
39
39
|
function getJsonObj(obj, isParentJsonObj) {
|
|
40
40
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
41
|
? obj
|
|
42
|
-
: model.
|
|
42
|
+
: model.ComputeTargetSystemData.getJsonObj(obj))), {});
|
|
43
43
|
return jsonObj;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
ManagedComputeClusterSystemData.getJsonObj = getJsonObj;
|
|
46
|
+
ManagedComputeClusterSystemData.computeType = "MANAGED_COMPUTE_CLUSTER";
|
|
47
47
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
48
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
49
|
? obj
|
|
50
|
-
: model.
|
|
50
|
+
: model.ComputeTargetSystemData.getDeserializedJsonObj(obj))), {});
|
|
51
51
|
return jsonObj;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
})(
|
|
55
|
-
//# sourceMappingURL=
|
|
53
|
+
ManagedComputeClusterSystemData.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(ManagedComputeClusterSystemData = exports.ManagedComputeClusterSystemData || (exports.ManagedComputeClusterSystemData = {}));
|
|
55
|
+
//# sourceMappingURL=managed-compute-cluster-system-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-system-data.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-system-data.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,+BAA+B,CA8B/C;AA9BD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CACxB,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,GAAG,CAAqC,CAAC,GACpF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAU,aAYzB,CAAA;IACY,2CAAW,GAAG,yBAAyB,CAAC;IACrD,SAAgB,sBAAsB,CACpC,GAAoC,EACpC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACnD,GAAG,CACgC,CAAC,GACvC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QA8B/C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Details for a threshold-based autoscaling policy to enable on the managed compute cluster type compute target . In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold.
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails extends model.ManagedComputeClusterAutoScalingPolicyDetails {
|
|
19
|
+
/**
|
|
20
|
+
* The list of autoscaling policy rules.
|
|
21
|
+
*/
|
|
22
|
+
"rules": Array<model.ManagedComputeClusterMetricExpressionRule>;
|
|
23
|
+
/**
|
|
24
|
+
* For a threshold-based autoscaling policy, this value is the maximum number of instances the managed compute cluster type compute target is allowed to increase to (scale out). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
|
+
*/
|
|
26
|
+
"maximumInstanceCount": number;
|
|
27
|
+
/**
|
|
28
|
+
* For a threshold-based autoscaling policy, this value is the minimum number of instances the managed compute cluster type compute target is allowed to decrease to (scale in). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
29
|
+
*/
|
|
30
|
+
"minimumInstanceCount": number;
|
|
31
|
+
/**
|
|
32
|
+
* For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the managed compute cluster type compute target
|
|
33
|
+
* immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset
|
|
34
|
+
* to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this
|
|
35
|
+
* initial number to a number that is based on the limits that you set.
|
|
36
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"initialInstanceCount": number;
|
|
39
|
+
"autoScalingPolicyType": string;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails {
|
|
42
|
+
function getJsonObj(obj: ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails, isParentJsonObj?: boolean): object;
|
|
43
|
+
const autoScalingPolicyType = "THRESHOLD";
|
|
44
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails, isParentJsonObj?: boolean): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails;
|
|
38
|
+
(function (ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ManagedComputeClusterAutoScalingPolicyDetails.getJsonObj(obj))), {
|
|
43
|
+
"rules": obj.rules
|
|
44
|
+
? obj.rules.map(item => {
|
|
45
|
+
return model.ManagedComputeClusterMetricExpressionRule.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.getJsonObj = getJsonObj;
|
|
52
|
+
ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.autoScalingPolicyType = "THRESHOLD";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.ManagedComputeClusterAutoScalingPolicyDetails.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"rules": obj.rules
|
|
58
|
+
? obj.rules.map(item => {
|
|
59
|
+
return model.ManagedComputeClusterMetricExpressionRule.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails = exports.ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails || (exports.ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails = {}));
|
|
67
|
+
//# sourceMappingURL=managed-compute-cluster-threshold-based-auto-scaling-policy-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-threshold-based-auto-scaling-policy-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-threshold-based-auto-scaling-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,2DAA2D,CA4C3E;AA5CD,WAAiB,2DAA2D;IAC1E,SAAgB,UAAU,CACxB,GAAgE,EAChE,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,6CAA6C,CAAC,UAAU,CAC7D,GAAG,CAC4D,CAAC,GACnE;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yCAAyC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sEAAU,aAoBzB,CAAA;IACY,iFAAqB,GAAG,WAAW,CAAC;IACjD,SAAgB,sBAAsB,CACpC,GAAgE,EAChE,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,6CAA6C,CAAC,sBAAsB,CACzE,GAAG,CAC4D,CAAC,GACnE;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yCAAyC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,kFAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,2DAA2D,GAA3D,mEAA2D,KAA3D,mEAA2D,QA4C3E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
/**
|
|
15
|
+
* Details for an autoscaling policy to enable autoscaling of workload on the managed compute cluster type compute target. Each autoscaling configuration can have one autoscaling policy.
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedComputeClusterWorkloadAutoScalingPolicyDetails {
|
|
18
|
+
"autoScalingPolicyType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ManagedComputeClusterWorkloadAutoScalingPolicyDetails {
|
|
21
|
+
function getJsonObj(obj: ManagedComputeClusterWorkloadAutoScalingPolicyDetails): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadAutoScalingPolicyDetails): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ManagedComputeClusterWorkloadAutoScalingPolicyDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var ManagedComputeClusterWorkloadAutoScalingPolicyDetails;
|
|
39
|
+
(function (ManagedComputeClusterWorkloadAutoScalingPolicyDetails) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
if (obj && "autoScalingPolicyType" in obj && obj.autoScalingPolicyType) {
|
|
43
|
+
switch (obj.autoScalingPolicyType) {
|
|
44
|
+
case "THRESHOLD":
|
|
45
|
+
return model.ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.getJsonObj(jsonObj, true);
|
|
46
|
+
default:
|
|
47
|
+
if (common.LOG.logger)
|
|
48
|
+
common.LOG.logger.info(`Unknown value for: ${obj.autoScalingPolicyType}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ManagedComputeClusterWorkloadAutoScalingPolicyDetails.getJsonObj = getJsonObj;
|
|
54
|
+
function getDeserializedJsonObj(obj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
56
|
+
if (obj && "autoScalingPolicyType" in obj && obj.autoScalingPolicyType) {
|
|
57
|
+
switch (obj.autoScalingPolicyType) {
|
|
58
|
+
case "THRESHOLD":
|
|
59
|
+
return model.ManagedComputeClusterWorkloadThresholdBasedPolicyDetails.getDeserializedJsonObj(jsonObj, true);
|
|
60
|
+
default:
|
|
61
|
+
if (common.LOG.logger)
|
|
62
|
+
common.LOG.logger.info(`Unknown value for: ${obj.autoScalingPolicyType}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
return jsonObj;
|
|
66
|
+
}
|
|
67
|
+
ManagedComputeClusterWorkloadAutoScalingPolicyDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
68
|
+
})(ManagedComputeClusterWorkloadAutoScalingPolicyDetails = exports.ManagedComputeClusterWorkloadAutoScalingPolicyDetails || (exports.ManagedComputeClusterWorkloadAutoScalingPolicyDetails = {}));
|
|
69
|
+
//# sourceMappingURL=managed-compute-cluster-workload-auto-scaling-policy-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-workload-auto-scaling-policy-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-workload-auto-scaling-policy-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,qDAAqD,CAqCrE;AArCD,WAAiB,qDAAqD;IACpE,SAAgB,UAAU,CAAC,GAA0D;QACnF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,uBAAuB,IAAI,GAAG,IAAI,GAAG,CAAC,qBAAqB,EAAE;YACtE,QAAQ,GAAG,CAAC,qBAAqB,EAAE;gBACjC,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,wDAAwD,CAAC,UAAU,CACL,OAAQ,EACjF,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,qBAAqB,EAAE,CAAC,CAAC;aAC/E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,gEAAU,aAgBzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA0D;QAE1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,uBAAuB,IAAI,GAAG,IAAI,GAAG,CAAC,qBAAqB,EAAE;YACtE,QAAQ,GAAG,CAAC,qBAAqB,EAAE;gBACjC,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,wDAAwD,CAAC,sBAAsB,CACjB,OAAQ,EACjF,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,qBAAqB,EAAE,CAAC,CAAC;aAC/E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,4EAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,qDAAqD,GAArD,6DAAqD,KAArD,6DAAqD,QAqCrE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* The scaling policy to enable autoscaling of workload on the managed compute cluster type compute target .
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagedComputeClusterWorkloadAutoScalingPolicy extends model.ManagedComputeClusterWorkloadScalingPolicy {
|
|
19
|
+
/**
|
|
20
|
+
* Whether the autoscaling policy is enabled.
|
|
21
|
+
*/
|
|
22
|
+
"isEnabled"?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The list of autoscaling policy details.
|
|
25
|
+
*/
|
|
26
|
+
"autoScalingPolicies": Array<model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails>;
|
|
27
|
+
"policyType": string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ManagedComputeClusterWorkloadAutoScalingPolicy {
|
|
30
|
+
function getJsonObj(obj: ManagedComputeClusterWorkloadAutoScalingPolicy, isParentJsonObj?: boolean): object;
|
|
31
|
+
const policyType = "AUTOSCALING";
|
|
32
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadAutoScalingPolicy, isParentJsonObj?: boolean): object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ManagedComputeClusterWorkloadAutoScalingPolicy = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ManagedComputeClusterWorkloadAutoScalingPolicy;
|
|
38
|
+
(function (ManagedComputeClusterWorkloadAutoScalingPolicy) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ManagedComputeClusterWorkloadScalingPolicy.getJsonObj(obj))), {
|
|
43
|
+
"autoScalingPolicies": obj.autoScalingPolicies
|
|
44
|
+
? obj.autoScalingPolicies.map(item => {
|
|
45
|
+
return model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
ManagedComputeClusterWorkloadAutoScalingPolicy.getJsonObj = getJsonObj;
|
|
52
|
+
ManagedComputeClusterWorkloadAutoScalingPolicy.policyType = "AUTOSCALING";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.ManagedComputeClusterWorkloadScalingPolicy.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"autoScalingPolicies": obj.autoScalingPolicies
|
|
58
|
+
? obj.autoScalingPolicies.map(item => {
|
|
59
|
+
return model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
ManagedComputeClusterWorkloadAutoScalingPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(ManagedComputeClusterWorkloadAutoScalingPolicy = exports.ManagedComputeClusterWorkloadAutoScalingPolicy || (exports.ManagedComputeClusterWorkloadAutoScalingPolicy = {}));
|
|
67
|
+
//# sourceMappingURL=managed-compute-cluster-workload-auto-scaling-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-workload-auto-scaling-policy.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-workload-auto-scaling-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoBlC,IAAiB,8CAA8C,CA8C9D;AA9CD,WAAiB,8CAA8C;IAC7D,SAAgB,UAAU,CACxB,GAAmD,EACnD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAC1D,GAAG,CAC+C,CAAC,GACtD;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,qDAAqD,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,yDAAU,aAoBzB,CAAA;IACY,yDAAU,GAAG,aAAa,CAAC;IACxC,SAAgB,sBAAsB,CACpC,GAAmD,EACnD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACtE,GAAG,CAC+C,CAAC,GACtD;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,qDAAqD,CAAC,sBAAsB,CACvF,IAAI,CACL,CAAC;gBACJ,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,qEAAsB,yBAsBrC,CAAA;AACH,CAAC,EA9CgB,8CAA8C,GAA9C,sDAA8C,KAA9C,sDAA8C,QA8C9D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* The fixed size scaling policy for workload scaling on managed compute cluster type compute target.
|
|
17
|
+
*/
|
|
18
|
+
export interface ManagedComputeClusterWorkloadFixedSizeScalingPolicy extends model.ManagedComputeClusterWorkloadScalingPolicy {
|
|
19
|
+
/**
|
|
20
|
+
* The number of instances of the workload. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"instanceCount": number;
|
|
23
|
+
"policyType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ManagedComputeClusterWorkloadFixedSizeScalingPolicy {
|
|
26
|
+
function getJsonObj(obj: ManagedComputeClusterWorkloadFixedSizeScalingPolicy, isParentJsonObj?: boolean): object;
|
|
27
|
+
const policyType = "FIXED_SIZE";
|
|
28
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadFixedSizeScalingPolicy, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ManagedComputeClusterWorkloadFixedSizeScalingPolicy = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var ManagedComputeClusterWorkloadFixedSizeScalingPolicy;
|
|
38
|
+
(function (ManagedComputeClusterWorkloadFixedSizeScalingPolicy) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ManagedComputeClusterWorkloadScalingPolicy.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
ManagedComputeClusterWorkloadFixedSizeScalingPolicy.getJsonObj = getJsonObj;
|
|
46
|
+
ManagedComputeClusterWorkloadFixedSizeScalingPolicy.policyType = "FIXED_SIZE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.ManagedComputeClusterWorkloadScalingPolicy.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
ManagedComputeClusterWorkloadFixedSizeScalingPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(ManagedComputeClusterWorkloadFixedSizeScalingPolicy = exports.ManagedComputeClusterWorkloadFixedSizeScalingPolicy || (exports.ManagedComputeClusterWorkloadFixedSizeScalingPolicy = {}));
|
|
55
|
+
//# sourceMappingURL=managed-compute-cluster-workload-fixed-size-scaling-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-workload-fixed-size-scaling-policy.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-workload-fixed-size-scaling-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,mDAAmD,CAgCnE;AAhCD,WAAiB,mDAAmD;IAClE,SAAgB,UAAU,CACxB,GAAwD,EACxD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAC1D,GAAG,CACoD,CAAC,GAC3D,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8DAAU,aAczB,CAAA;IACY,8DAAU,GAAG,YAAY,CAAC;IACvC,SAAgB,sBAAsB,CACpC,GAAwD,EACxD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACtE,GAAG,CACoD,CAAC,GAC3D,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0EAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,mDAAmD,GAAnD,2DAAmD,KAAnD,2DAAmD,QAgCnE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
/**
|
|
15
|
+
* The metric expression rule base for workload scaling.
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedComputeClusterWorkloadMetricExpressionRule {
|
|
18
|
+
"metricExpressionRuleType": string;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace ManagedComputeClusterWorkloadMetricExpressionRule {
|
|
21
|
+
function getJsonObj(obj: ManagedComputeClusterWorkloadMetricExpressionRule): object;
|
|
22
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadMetricExpressionRule): object;
|
|
23
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Data Science API
|
|
4
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20190101
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ManagedComputeClusterWorkloadMetricExpressionRule = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var ManagedComputeClusterWorkloadMetricExpressionRule;
|
|
39
|
+
(function (ManagedComputeClusterWorkloadMetricExpressionRule) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
if (obj && "metricExpressionRuleType" in obj && obj.metricExpressionRuleType) {
|
|
43
|
+
switch (obj.metricExpressionRuleType) {
|
|
44
|
+
case "TARGET_CUSTOM_EXPRESSION":
|
|
45
|
+
return model.TargetCustomMetricExpressionRule.getJsonObj(jsonObj, true);
|
|
46
|
+
case "TARGET_PREDEFINED_EXPRESSION":
|
|
47
|
+
return model.TargetPredefinedMetricExpressionRule.getJsonObj(jsonObj, true);
|
|
48
|
+
default:
|
|
49
|
+
if (common.LOG.logger)
|
|
50
|
+
common.LOG.logger.info(`Unknown value for: ${obj.metricExpressionRuleType}`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
ManagedComputeClusterWorkloadMetricExpressionRule.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
58
|
+
if (obj && "metricExpressionRuleType" in obj && obj.metricExpressionRuleType) {
|
|
59
|
+
switch (obj.metricExpressionRuleType) {
|
|
60
|
+
case "TARGET_CUSTOM_EXPRESSION":
|
|
61
|
+
return model.TargetCustomMetricExpressionRule.getDeserializedJsonObj(jsonObj, true);
|
|
62
|
+
case "TARGET_PREDEFINED_EXPRESSION":
|
|
63
|
+
return model.TargetPredefinedMetricExpressionRule.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
default:
|
|
65
|
+
if (common.LOG.logger)
|
|
66
|
+
common.LOG.logger.info(`Unknown value for: ${obj.metricExpressionRuleType}`);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
ManagedComputeClusterWorkloadMetricExpressionRule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(ManagedComputeClusterWorkloadMetricExpressionRule = exports.ManagedComputeClusterWorkloadMetricExpressionRule || (exports.ManagedComputeClusterWorkloadMetricExpressionRule = {}));
|
|
73
|
+
//# sourceMappingURL=managed-compute-cluster-workload-metric-expression-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managed-compute-cluster-workload-metric-expression-rule.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/managed-compute-cluster-workload-metric-expression-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,iDAAiD,CA+CjE;AA/CD,WAAiB,iDAAiD;IAChE,SAAgB,UAAU,CAAC,GAAsD;QAC/E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,0BAA0B,IAAI,GAAG,IAAI,GAAG,CAAC,wBAAwB,EAAE;YAC5E,QAAQ,GAAG,CAAC,wBAAwB,EAAE;gBACpC,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CACL,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,oCAAoC,CAAC,UAAU,CACL,OAAQ,EAC7D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,wBAAwB,EAAE,CAAC,CAAC;aAClF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,4DAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAsD;QAEtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,0BAA0B,IAAI,GAAG,IAAI,GAAG,CAAC,wBAAwB,EAAE;YAC5E,QAAQ,GAAG,CAAC,wBAAwB,EAAE;gBACpC,KAAK,0BAA0B;oBAC7B,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CACjB,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CACjB,OAAQ,EAC7D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,wBAAwB,EAAE,CAAC,CAAC;aAClF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,wEAAsB,yBAuBrC,CAAA;AACH,CAAC,EA/CgB,iDAAiD,GAAjD,yDAAiD,KAAjD,yDAAiD,QA+CjE"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Science API
|
|
3
|
+
* Use the Data Science API to organize your data science work, access data and computing resources, and build, train, deploy and manage models and model deployments. For more information, see [Data Science](https://docs.oracle.com/iaas/data-science/using/data-science.htm).
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190101
|
|
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
|
+
/**
|
|
15
|
+
* Workload scaling policy configuration for workloads on managed compute cluster type compute target
|
|
16
|
+
*/
|
|
17
|
+
export interface ManagedComputeClusterWorkloadScalePolicy {
|
|
18
|
+
/**
|
|
19
|
+
* The period of time that the condition defined in the alarm must persist before the alarm state changes from \"OK\" to \"FIRING\"
|
|
20
|
+
* or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes
|
|
21
|
+
* before the alarm updates its state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five minutes
|
|
22
|
+
* before the alarm updates its state to \"OK.\" The duration is specified as a string in ISO 8601 format (PT10M for ten minutes).
|
|
23
|
+
* Minimum: PT1M. Maximum: PT30M. Default: PT3M.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"pendingDuration"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The value is used for adjusting the count of instances by. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
29
|
+
*/
|
|
30
|
+
"instanceCountAdjustment"?: number;
|
|
31
|
+
/**
|
|
32
|
+
* This value is the duration of time window used to restrict the flapping of instance count when the metrics used for scaling keep fluctuating.
|
|
33
|
+
* This window is used to infer a previous desired state and avoid unwanted changes to workload scale. Default value is 300 seconds.
|
|
34
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
35
|
+
*/
|
|
36
|
+
"coolDownInSeconds"?: number;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace ManagedComputeClusterWorkloadScalePolicy {
|
|
39
|
+
function getJsonObj(obj: ManagedComputeClusterWorkloadScalePolicy): object;
|
|
40
|
+
function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadScalePolicy): object;
|
|
41
|
+
}
|