Show / Hide Table of Contents

Class ManagedComputeClusterWorkloadThresholdBasedPolicyDetails

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.

Inheritance
object
ManagedComputeClusterWorkloadAutoScalingPolicyDetails
ManagedComputeClusterWorkloadThresholdBasedPolicyDetails
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 ManagedComputeClusterWorkloadThresholdBasedPolicyDetails : ManagedComputeClusterWorkloadAutoScalingPolicyDetails

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 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.

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 workload instances 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 workload instances allowed to decrease to (scale in). This should be zero for scale-to-zero.

Remarks

Required

Rules

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

The list of autoscaling policy rules for workload scaling..

Remarks

Required

ScaleInPolicy

Declaration
[JsonProperty(PropertyName = "scaleInPolicy")]
public ManagedComputeClusterWorkloadScalePolicy ScaleInPolicy { get; set; }
Property Value
Type Description
ManagedComputeClusterWorkloadScalePolicy

ScaleOutPolicy

Declaration
[JsonProperty(PropertyName = "scaleOutPolicy")]
public ManagedComputeClusterWorkloadScalePolicy ScaleOutPolicy { get; set; }
Property Value
Type Description
ManagedComputeClusterWorkloadScalePolicy
In this article
Back to top