oci-datascience 2.131.2 → 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
|
@@ -49,13 +49,13 @@ export interface ModelDeployment {
|
|
|
49
49
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model deployment's compartment.
|
|
50
50
|
*/
|
|
51
51
|
"compartmentId": string;
|
|
52
|
-
"modelDeploymentConfigurationDetails"?: model.SingleModelDeploymentConfigurationDetails | model.ModelGroupDeploymentConfigurationDetails;
|
|
52
|
+
"modelDeploymentConfigurationDetails"?: model.SingleModelDeploymentConfigurationDetails | model.ModelGroupDeploymentConfigurationDetails | model.SingleModelDeploymentFlexConfigurationDetails;
|
|
53
53
|
"categoryLogDetails"?: model.CategoryLogDetails;
|
|
54
54
|
/**
|
|
55
55
|
* The URL to interact with the model deployment.
|
|
56
56
|
*/
|
|
57
57
|
"modelDeploymentUrl": string;
|
|
58
|
-
"modelDeploymentSystemData"?: model.InstancePoolModelDeploymentSystemData;
|
|
58
|
+
"modelDeploymentSystemData"?: model.ManagedComputeClusterModelDeploymentSystemData | model.InstancePoolModelDeploymentSystemData;
|
|
59
59
|
/**
|
|
60
60
|
* The state of the model deployment.
|
|
61
61
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-deployment.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/model-deployment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"model-deployment.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/model-deployment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0ElC,IAAiB,eAAe,CA2C/B;AA3CD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qCAAqC,EAAE,GAAG,CAAC,mCAAmC;gBAC5E,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,UAAU,CAClD,GAAG,CAAC,mCAAmC,CACxC;gBACH,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAC7D,CAAC,CAAC,SAAS;YAEb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBAC3E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,0BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,qCAAqC,EAAE,GAAG,CAAC,mCAAmC;gBAC5E,CAAC,CAAC,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC9D,GAAG,CAAC,mCAAmC,CACxC;gBACH,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACzE,CAAC,CAAC,SAAS;YAEb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBACvF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA2C/B"}
|
|
@@ -85,6 +85,18 @@ export interface OcirModelDeploymentEnvironmentConfigurationDetails extends mode
|
|
|
85
85
|
"defaultEnvironmentVariables"?: {
|
|
86
86
|
[key: string]: string;
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* The chosen specification from predefined set of endpoints a user can access.
|
|
90
|
+
* For example, if the value is 'openai', the user can access OpenAI-compliant endpoints
|
|
91
|
+
* like /v1/completions, /v1/chat/completions, /v1/models, etc., for inference.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
"predictApiSpecification"?: string;
|
|
95
|
+
/**
|
|
96
|
+
* List of custom inference HTTP endpoints configured on the model deployment instance for inferencing.
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
"customHttpEndpoints"?: Array<model.InferenceHttpEndpoint>;
|
|
88
100
|
"environmentConfigurationType": string;
|
|
89
101
|
}
|
|
90
102
|
export declare namespace OcirModelDeploymentEnvironmentConfigurationDetails {
|
|
@@ -39,7 +39,13 @@ var OcirModelDeploymentEnvironmentConfigurationDetails;
|
|
|
39
39
|
function getJsonObj(obj, isParentJsonObj) {
|
|
40
40
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
41
|
? obj
|
|
42
|
-
: model.ModelDeploymentEnvironmentConfigurationDetails.getJsonObj(obj))), {
|
|
42
|
+
: model.ModelDeploymentEnvironmentConfigurationDetails.getJsonObj(obj))), {
|
|
43
|
+
"customHttpEndpoints": obj.customHttpEndpoints
|
|
44
|
+
? obj.customHttpEndpoints.map(item => {
|
|
45
|
+
return model.InferenceHttpEndpoint.getJsonObj(item);
|
|
46
|
+
})
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
43
49
|
return jsonObj;
|
|
44
50
|
}
|
|
45
51
|
OcirModelDeploymentEnvironmentConfigurationDetails.getJsonObj = getJsonObj;
|
|
@@ -47,7 +53,13 @@ var OcirModelDeploymentEnvironmentConfigurationDetails;
|
|
|
47
53
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
54
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
55
|
? obj
|
|
50
|
-
: model.ModelDeploymentEnvironmentConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
56
|
+
: model.ModelDeploymentEnvironmentConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"customHttpEndpoints": obj.customHttpEndpoints
|
|
58
|
+
? obj.customHttpEndpoints.map(item => {
|
|
59
|
+
return model.InferenceHttpEndpoint.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
51
63
|
return jsonObj;
|
|
52
64
|
}
|
|
53
65
|
OcirModelDeploymentEnvironmentConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ocir-model-deployment-environment-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/ocir-model-deployment-environment-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"ocir-model-deployment-environment-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/ocir-model-deployment-environment-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyFlC,IAAiB,kDAAkD,CA4ClE;AA5CD,WAAiB,kDAAkD;IACjE,SAAgB,UAAU,CACxB,GAAuD,EACvD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,8CAA8C,CAAC,UAAU,CAC9D,GAAG,CACmD,CAAC,GAC1D;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,6DAAU,aAoBzB,CAAA;IACY,+EAA4B,GAAG,gBAAgB,CAAC;IAC7D,SAAgB,sBAAsB,CACpC,GAAuD,EACvD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,8CAA8C,CAAC,sBAAsB,CAC1E,GAAG,CACmD,CAAC,GAC1D;YACD,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACjC,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,yEAAsB,yBAoBrC,CAAA;AACH,CAAC,EA5CgB,kDAAkD,GAAlD,0DAAkD,KAAlD,0DAAkD,QA4ClE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
* Resource limit configuration details for workload on managed compute cluster type compute target
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceLimitConfiguration {
|
|
18
|
+
/**
|
|
19
|
+
* Burstable limit for cpu.
|
|
20
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"ocpus": number;
|
|
23
|
+
/**
|
|
24
|
+
* Burstable limit for memory.
|
|
25
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
|
+
*/
|
|
27
|
+
"memoryInGBs": number;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace ResourceLimitConfiguration {
|
|
30
|
+
function getJsonObj(obj: ResourceLimitConfiguration): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: ResourceLimitConfiguration): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ResourceLimitConfiguration = void 0;
|
|
17
|
+
var ResourceLimitConfiguration;
|
|
18
|
+
(function (ResourceLimitConfiguration) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
ResourceLimitConfiguration.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
ResourceLimitConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(ResourceLimitConfiguration = exports.ResourceLimitConfiguration || (exports.ResourceLimitConfiguration = {}));
|
|
30
|
+
//# sourceMappingURL=resource-limit-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-limit-configuration.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/resource-limit-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAqBH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
* Resource request configuration to run workload on managed compute cluster type compute target compute target.
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceRequestConfiguration {
|
|
18
|
+
/**
|
|
19
|
+
* The ocpus required to be allocated to run the workload.
|
|
20
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"ocpus": number;
|
|
23
|
+
/**
|
|
24
|
+
* The memory in Gbs required to be allocated to run the workload.
|
|
25
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
|
+
*/
|
|
27
|
+
"memoryInGBs": number;
|
|
28
|
+
/**
|
|
29
|
+
* The total number of gpus required to be allocated to the workload.
|
|
30
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
31
|
+
*/
|
|
32
|
+
"gpus"?: number;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace ResourceRequestConfiguration {
|
|
35
|
+
function getJsonObj(obj: ResourceRequestConfiguration): object;
|
|
36
|
+
function getDeserializedJsonObj(obj: ResourceRequestConfiguration): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ResourceRequestConfiguration = void 0;
|
|
17
|
+
var ResourceRequestConfiguration;
|
|
18
|
+
(function (ResourceRequestConfiguration) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
ResourceRequestConfiguration.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
ResourceRequestConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(ResourceRequestConfiguration = exports.ResourceRequestConfiguration || (exports.ResourceRequestConfiguration = {}));
|
|
30
|
+
//# sourceMappingURL=resource-request-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-request-configuration.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/resource-request-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AA0BH,IAAiB,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAW5C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 single model configuration details.
|
|
16
|
+
*/
|
|
17
|
+
export interface SingleModelConfigurationDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a model.
|
|
20
|
+
*/
|
|
21
|
+
"modelId": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace SingleModelConfigurationDetails {
|
|
24
|
+
function getJsonObj(obj: SingleModelConfigurationDetails): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: SingleModelConfigurationDetails): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SingleModelConfigurationDetails = void 0;
|
|
17
|
+
var SingleModelConfigurationDetails;
|
|
18
|
+
(function (SingleModelConfigurationDetails) {
|
|
19
|
+
function getJsonObj(obj) {
|
|
20
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
21
|
+
return jsonObj;
|
|
22
|
+
}
|
|
23
|
+
SingleModelConfigurationDetails.getJsonObj = getJsonObj;
|
|
24
|
+
function getDeserializedJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
SingleModelConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
29
|
+
})(SingleModelConfigurationDetails = exports.SingleModelConfigurationDetails || (exports.SingleModelConfigurationDetails = {}));
|
|
30
|
+
//# sourceMappingURL=single-model-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-model-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/single-model-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAeH,IAAiB,+BAA+B,CAW/C;AAXD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAW/C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 single model model deployment flex configuration details.
|
|
17
|
+
*/
|
|
18
|
+
export interface SingleModelDeploymentFlexConfigurationDetails extends model.ModelDeploymentConfigurationDetails {
|
|
19
|
+
"modelConfigurationDetails": model.SingleModelConfigurationDetails;
|
|
20
|
+
"infrastructureConfigurationDetails": model.ManagedComputeClusterModelDeployInfrastructureConfigDetails;
|
|
21
|
+
"environmentConfigurationDetails"?: model.DefaultModelDeploymentEnvironmentConfigurationDetails | model.OcirModelDeploymentEnvironmentConfigurationDetails;
|
|
22
|
+
"deploymentType": string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace SingleModelDeploymentFlexConfigurationDetails {
|
|
25
|
+
function getJsonObj(obj: SingleModelDeploymentFlexConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
26
|
+
const deploymentType = "SINGLE_MODEL_FLEX";
|
|
27
|
+
function getDeserializedJsonObj(obj: SingleModelDeploymentFlexConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
28
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.SingleModelDeploymentFlexConfigurationDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var SingleModelDeploymentFlexConfigurationDetails;
|
|
38
|
+
(function (SingleModelDeploymentFlexConfigurationDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ModelDeploymentConfigurationDetails.getJsonObj(obj))), {
|
|
43
|
+
"modelConfigurationDetails": obj.modelConfigurationDetails
|
|
44
|
+
? model.SingleModelConfigurationDetails.getJsonObj(obj.modelConfigurationDetails)
|
|
45
|
+
: undefined,
|
|
46
|
+
"infrastructureConfigurationDetails": obj.infrastructureConfigurationDetails
|
|
47
|
+
? model.ModelDeployInfrastructureConfigurationDetails.getJsonObj(obj.infrastructureConfigurationDetails)
|
|
48
|
+
: undefined,
|
|
49
|
+
"environmentConfigurationDetails": obj.environmentConfigurationDetails
|
|
50
|
+
? model.ModelDeploymentEnvironmentConfigurationDetails.getJsonObj(obj.environmentConfigurationDetails)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
SingleModelDeploymentFlexConfigurationDetails.getJsonObj = getJsonObj;
|
|
56
|
+
SingleModelDeploymentFlexConfigurationDetails.deploymentType = "SINGLE_MODEL_FLEX";
|
|
57
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
58
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
59
|
+
? obj
|
|
60
|
+
: model.ModelDeploymentConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
61
|
+
"modelConfigurationDetails": obj.modelConfigurationDetails
|
|
62
|
+
? model.SingleModelConfigurationDetails.getDeserializedJsonObj(obj.modelConfigurationDetails)
|
|
63
|
+
: undefined,
|
|
64
|
+
"infrastructureConfigurationDetails": obj.infrastructureConfigurationDetails
|
|
65
|
+
? model.ModelDeployInfrastructureConfigurationDetails.getDeserializedJsonObj(obj.infrastructureConfigurationDetails)
|
|
66
|
+
: undefined,
|
|
67
|
+
"environmentConfigurationDetails": obj.environmentConfigurationDetails
|
|
68
|
+
? model.ModelDeploymentEnvironmentConfigurationDetails.getDeserializedJsonObj(obj.environmentConfigurationDetails)
|
|
69
|
+
: undefined
|
|
70
|
+
});
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
SingleModelDeploymentFlexConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(SingleModelDeploymentFlexConfigurationDetails = exports.SingleModelDeploymentFlexConfigurationDetails || (exports.SingleModelDeploymentFlexConfigurationDetails = {}));
|
|
75
|
+
//# sourceMappingURL=single-model-deployment-flex-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"single-model-deployment-flex-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/single-model-deployment-flex-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,6CAA6C,CA8D7D;AA9DD,WAAiB,6CAA6C;IAC5D,SAAgB,UAAU,CACxB,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,UAAU,CACnD,GAAG,CAC8C,CAAC,GACrD;YACD,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBACjF,CAAC,CAAC,SAAS;YACb,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,UAAU,CAC5D,GAAG,CAAC,kCAAkC,CACvC;gBACH,CAAC,CAAC,SAAS;YACb,iCAAiC,EAAE,GAAG,CAAC,+BAA+B;gBACpE,CAAC,CAAC,KAAK,CAAC,8CAA8C,CAAC,UAAU,CAC7D,GAAG,CAAC,+BAA+B,CACpC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA5Be,wDAAU,aA4BzB,CAAA;IACY,4DAAc,GAAG,mBAAmB,CAAC;IAClD,SAAgB,sBAAsB,CACpC,GAAkD,EAClD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mCAAmC,CAAC,sBAAsB,CAC/D,GAAG,CAC8C,CAAC,GACrD;YACD,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAC1D,GAAG,CAAC,yBAAyB,CAC9B;gBACH,CAAC,CAAC,SAAS;YACb,oCAAoC,EAAE,GAAG,CAAC,kCAAkC;gBAC1E,CAAC,CAAC,KAAK,CAAC,6CAA6C,CAAC,sBAAsB,CACxE,GAAG,CAAC,kCAAkC,CACvC;gBACH,CAAC,CAAC,SAAS;YACb,iCAAiC,EAAE,GAAG,CAAC,+BAA+B;gBACpE,CAAC,CAAC,KAAK,CAAC,8CAA8C,CAAC,sBAAsB,CACzE,GAAG,CAAC,+BAA+B,CACpC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,oEAAsB,yBA8BrC,CAAA;AACH,CAAC,EA9DgB,6CAA6C,GAA7C,qDAA6C,KAA7C,qDAA6C,QA8D7D"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 configuration for the custom expression query for the workload.
|
|
17
|
+
*/
|
|
18
|
+
export interface TargetCustomExpressionQueryScalingConfiguration extends model.TargetScalingConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
* The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service
|
|
21
|
+
* interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value
|
|
22
|
+
* represents true. A true value means that the trigger rule condition has been met. The query must specify a metric,
|
|
23
|
+
* statistic, interval, and trigger rule (threshold or absence). Supported values for interval: 1m-60m (also 1h).
|
|
24
|
+
* You can optionally specify dimensions and grouping functions. Supported grouping functions: grouping(), groupBy().
|
|
25
|
+
* Example of threshold alarm:
|
|
26
|
+
* {@code
|
|
27
|
+
* CPUUtilization[1m]{resourceId = \"Model_Deployment_OCID\"}.grouping().mean() < 25
|
|
28
|
+
* CPUUtilization[1m]{resourceId = \"Model_Deployment_OCID\"}.grouping().mean() > 75
|
|
29
|
+
* }
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"query": string;
|
|
33
|
+
/**
|
|
34
|
+
* A metric value at which the scaling operation will be triggered. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
35
|
+
*/
|
|
36
|
+
"threshold": number;
|
|
37
|
+
/**
|
|
38
|
+
* Namespace to read the metrics from. Default value will be service metric namespace.
|
|
39
|
+
*/
|
|
40
|
+
"metricNamespace"?: string;
|
|
41
|
+
"targetScalingConfigurationType": string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace TargetCustomExpressionQueryScalingConfiguration {
|
|
44
|
+
function getJsonObj(obj: TargetCustomExpressionQueryScalingConfiguration, isParentJsonObj?: boolean): object;
|
|
45
|
+
const targetScalingConfigurationType = "QUERY";
|
|
46
|
+
function getDeserializedJsonObj(obj: TargetCustomExpressionQueryScalingConfiguration, isParentJsonObj?: boolean): object;
|
|
47
|
+
}
|
|
@@ -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.TargetCustomExpressionQueryScalingConfiguration = void 0;
|
|
36
36
|
const model = __importStar(require("../model"));
|
|
37
|
-
var
|
|
38
|
-
(function (
|
|
37
|
+
var TargetCustomExpressionQueryScalingConfiguration;
|
|
38
|
+
(function (TargetCustomExpressionQueryScalingConfiguration) {
|
|
39
39
|
function getJsonObj(obj, isParentJsonObj) {
|
|
40
40
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
41
|
? obj
|
|
42
|
-
: model.
|
|
42
|
+
: model.TargetScalingConfiguration.getJsonObj(obj))), {});
|
|
43
43
|
return jsonObj;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
TargetCustomExpressionQueryScalingConfiguration.getJsonObj = getJsonObj;
|
|
46
|
+
TargetCustomExpressionQueryScalingConfiguration.targetScalingConfigurationType = "QUERY";
|
|
47
47
|
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
48
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
49
|
? obj
|
|
50
|
-
: model.
|
|
50
|
+
: model.TargetScalingConfiguration.getDeserializedJsonObj(obj))), {});
|
|
51
51
|
return jsonObj;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
})(
|
|
55
|
-
//# sourceMappingURL=
|
|
53
|
+
TargetCustomExpressionQueryScalingConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(TargetCustomExpressionQueryScalingConfiguration = exports.TargetCustomExpressionQueryScalingConfiguration || (exports.TargetCustomExpressionQueryScalingConfiguration = {}));
|
|
55
|
+
//# sourceMappingURL=target-custom-expression-query-scaling-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target-custom-expression-query-scaling-configuration.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/target-custom-expression-query-scaling-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkClC,IAAiB,+CAA+C,CAgC/D;AAhCD,WAAiB,+CAA+C;IAC9D,SAAgB,UAAU,CACxB,GAAoD,EACpD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAC1C,GAAG,CACgD,CAAC,GACvD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0DAAU,aAczB,CAAA;IACY,8EAA8B,GAAG,OAAO,CAAC;IACtD,SAAgB,sBAAsB,CACpC,GAAoD,EACpD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACtD,GAAG,CACgD,CAAC,GACvD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,+CAA+C,GAA/C,uDAA+C,KAA/C,uDAA+C,QAgC/D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* A custom Monitoring Query Language (MQL) expression for triggering an autoscaling action on the workload.
|
|
17
|
+
*/
|
|
18
|
+
export interface TargetCustomMetricExpressionRule extends model.ManagedComputeClusterWorkloadMetricExpressionRule {
|
|
19
|
+
"scaleConfiguration": model.TargetCustomExpressionQueryScalingConfiguration;
|
|
20
|
+
"metricExpressionRuleType": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace TargetCustomMetricExpressionRule {
|
|
23
|
+
function getJsonObj(obj: TargetCustomMetricExpressionRule, isParentJsonObj?: boolean): object;
|
|
24
|
+
const metricExpressionRuleType = "TARGET_CUSTOM_EXPRESSION";
|
|
25
|
+
function getDeserializedJsonObj(obj: TargetCustomMetricExpressionRule, isParentJsonObj?: boolean): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.TargetCustomMetricExpressionRule = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var TargetCustomMetricExpressionRule;
|
|
38
|
+
(function (TargetCustomMetricExpressionRule) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.ManagedComputeClusterWorkloadMetricExpressionRule.getJsonObj(obj))), {
|
|
43
|
+
"scaleConfiguration": obj.scaleConfiguration
|
|
44
|
+
? model.TargetCustomExpressionQueryScalingConfiguration.getJsonObj(obj.scaleConfiguration)
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
TargetCustomMetricExpressionRule.getJsonObj = getJsonObj;
|
|
50
|
+
TargetCustomMetricExpressionRule.metricExpressionRuleType = "TARGET_CUSTOM_EXPRESSION";
|
|
51
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
53
|
+
? obj
|
|
54
|
+
: model.ManagedComputeClusterWorkloadMetricExpressionRule.getDeserializedJsonObj(obj))), {
|
|
55
|
+
"scaleConfiguration": obj.scaleConfiguration
|
|
56
|
+
? model.TargetCustomExpressionQueryScalingConfiguration.getDeserializedJsonObj(obj.scaleConfiguration)
|
|
57
|
+
: undefined
|
|
58
|
+
});
|
|
59
|
+
return jsonObj;
|
|
60
|
+
}
|
|
61
|
+
TargetCustomMetricExpressionRule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
62
|
+
})(TargetCustomMetricExpressionRule = exports.TargetCustomMetricExpressionRule || (exports.TargetCustomMetricExpressionRule = {}));
|
|
63
|
+
//# sourceMappingURL=target-custom-metric-expression-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"target-custom-metric-expression-rule.js","sourceRoot":"","sources":["../../../../../lib/datascience/lib/model/target-custom-metric-expression-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,gCAAgC,CA0ChD;AA1CD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iDAAiD,CAAC,UAAU,CACjE,GAAG,CACiC,CAAC,GACxC;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,+CAA+C,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAC1F,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,2CAAU,aAkBzB,CAAA;IACY,yDAAwB,GAAG,0BAA0B,CAAC;IACnE,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iDAAiD,CAAC,sBAAsB,CAC7E,GAAG,CACiC,CAAC,GACxC;YACD,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,+CAA+C,CAAC,sBAAsB,CAC1E,GAAG,CAAC,kBAAkB,CACvB;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,uDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA1CgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA0ChD"}
|
|
@@ -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 scaling configuration for the predefined metric expression rule for the workload.
|
|
17
|
+
*/
|
|
18
|
+
export interface TargetPredefinedExpressionThresholdScalingConfiguration extends model.TargetScalingConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
* A metric value at which the scaling operation will be triggered. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"threshold": number;
|
|
23
|
+
"targetScalingConfigurationType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace TargetPredefinedExpressionThresholdScalingConfiguration {
|
|
26
|
+
function getJsonObj(obj: TargetPredefinedExpressionThresholdScalingConfiguration, isParentJsonObj?: boolean): object;
|
|
27
|
+
const targetScalingConfigurationType = "THRESHOLD";
|
|
28
|
+
function getDeserializedJsonObj(obj: TargetPredefinedExpressionThresholdScalingConfiguration, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|