Show / Hide Table of Contents

Class ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails

Details for a threshold-based autoscaling policy to enable 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.

Inheritance
object
ManagedComputeClusterAutoScalingPolicyDetails
ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails
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 ManagedComputeClusterThresholdBasedAutoScalingPolicyDetails : ManagedComputeClusterAutoScalingPolicyDetails

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 managed compute cluster type compute target 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 managed compute cluster type compute target 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 managed compute cluster type compute target is allowed to decrease to (scale in).

Remarks

Required

Rules

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

The list of autoscaling policy rules.

Remarks

Required

In this article
Back to top