Class AutoScalingPolicy
The scaling policy to enable autoscaling on the model deployment.
Inherited Members
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. |