/** * Data Science API * 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). * OpenAPI spec version: 20190101 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * 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. */ import * as model from "../model"; /** * Details for a threshold-based autoscaling policy to enable autoscaling of workload 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. */ export interface ManagedComputeClusterWorkloadThresholdBasedPolicyDetails extends model.ManagedComputeClusterWorkloadAutoScalingPolicyDetails { /** * The list of autoscaling policy rules for workload scaling.. */ "rules": Array; /** * For a threshold-based autoscaling policy, this value is the maximum number of workload instances allowed to increase to (scale out). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maximumInstanceCount": number; /** * For a threshold-based autoscaling policy, this value is the minimum number of workload instances allowed to decrease to (scale in). This should be zero for scale-to-zero. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "minimumInstanceCount": number; /** * For a threshold-based autoscaling policy, this value is the initial number of workload instances to launch * immediately after autoscaling is enabled. Note that anytime this value is updated, the number of instances will be reset * to this value. After autoscaling retrieves performance metrics, the number of instances is automatically adjusted from this * initial number to a number that is based on the limits that you set. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "initialInstanceCount": number; "scaleInPolicy"?: model.ManagedComputeClusterWorkloadScalePolicy; "scaleOutPolicy"?: model.ManagedComputeClusterWorkloadScalePolicy; "autoScalingPolicyType": string; } export declare namespace ManagedComputeClusterWorkloadThresholdBasedPolicyDetails { function getJsonObj(obj: ManagedComputeClusterWorkloadThresholdBasedPolicyDetails, isParentJsonObj?: boolean): object; const autoScalingPolicyType = "THRESHOLD"; function getDeserializedJsonObj(obj: ManagedComputeClusterWorkloadThresholdBasedPolicyDetails, isParentJsonObj?: boolean): object; }