Show / Hide Table of Contents

Class ThresholdBasedAutoScalingPolicyDetails

Details for a threshold-based autoscaling policy to enable on the model deployment. In a threshold-based autoscaling policy, an autoscaling action is triggered when a performance metric meets or exceeds a threshold.

Inheritance
object
AutoScalingPolicyDetails
ThresholdBasedAutoScalingPolicyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class ThresholdBasedAutoScalingPolicyDetails : AutoScalingPolicyDetails

Properties

InitialInstanceCount

Declaration
[Required(ErrorMessage = "InitialInstanceCount is required.")]
[JsonProperty(PropertyName = "initialInstanceCount")]
public int? InitialInstanceCount { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the model deployment 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.

Remarks

Required

MaximumInstanceCount

Declaration
[Required(ErrorMessage = "MaximumInstanceCount is required.")]
[JsonProperty(PropertyName = "maximumInstanceCount")]
public int? MaximumInstanceCount { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the maximum number of instances the model deployment is allowed to increase to (scale out).

Remarks

Required

MinimumInstanceCount

Declaration
[Required(ErrorMessage = "MinimumInstanceCount is required.")]
[JsonProperty(PropertyName = "minimumInstanceCount")]
public int? MinimumInstanceCount { get; set; }
Property Value
Type Description
int?

For a threshold-based autoscaling policy, this value is the minimum number of instances the model deployment is allowed to decrease to (scale in).

Remarks

Required

Rules

Declaration
[Required(ErrorMessage = "Rules is required.")]
[JsonProperty(PropertyName = "rules")]
public List<MetricExpressionRule> Rules { get; set; }
Property Value
Type Description
List<MetricExpressionRule>

The list of autoscaling policy rules.

Remarks

Required

In this article
Back to top