Show / Hide Table of Contents

Class AutoScalingPolicy

The scaling policy to enable autoscaling on the model deployment.

Inheritance
object
ScalingPolicy
AutoScalingPolicy
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 AutoScalingPolicy : ScalingPolicy

Properties

AutoScalingPolicies

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

The list of autoscaling policy details.

Remarks

Required

CoolDownInSeconds

Declaration
[JsonProperty(PropertyName = "coolDownInSeconds")]
public int? CoolDownInSeconds { get; set; }
Property Value
Type Description
int?

For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions. The cooldown period gives the system time to stabilize before rescaling. The minimum value is 600 seconds, which is also the default. The cooldown period starts when the model deployment becomes ACTIVE after the scaling operation.

IsEnabled

Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Whether the autoscaling policy is enabled.

In this article
Back to top