Class PredefinedMetricExpressionRule
An expression built using CPU or Memory metrics for triggering an autoscaling action on the model deployment.
Inherited Members
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