Show / Hide Table of Contents

Class PredefinedMetricExpressionRule

An expression built using CPU or Memory metrics for triggering an autoscaling action on the model deployment.

Inheritance
object
MetricExpressionRule
PredefinedMetricExpressionRule
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 PredefinedMetricExpressionRule : MetricExpressionRule

Properties

MetricType

Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PredefinedMetricExpressionRule.MetricTypeEnum? MetricType { get; set; }
Property Value
Type Description
PredefinedMetricExpressionRule.MetricTypeEnum?

Metric type

Remarks

Required

ScaleInConfiguration

Declaration
[Required(ErrorMessage = "ScaleInConfiguration is required.")]
[JsonProperty(PropertyName = "scaleInConfiguration")]
public PredefinedExpressionThresholdScalingConfiguration ScaleInConfiguration { get; set; }
Property Value
Type Description
PredefinedExpressionThresholdScalingConfiguration
Remarks

Required

ScaleOutConfiguration

Declaration
[Required(ErrorMessage = "ScaleOutConfiguration is required.")]
[JsonProperty(PropertyName = "scaleOutConfiguration")]
public PredefinedExpressionThresholdScalingConfiguration ScaleOutConfiguration { get; set; }
Property Value
Type Description
PredefinedExpressionThresholdScalingConfiguration
Remarks

Required

In this article
Back to top