Class TargetPredefinedMetricExpressionRule
An expression built using CPU or Memory metrics for triggering an autoscaling action for workload.
Inheritance
TargetPredefinedMetricExpressionRule
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class TargetPredefinedMetricExpressionRule : ManagedComputeClusterWorkloadMetricExpressionRule
Properties
MetricType
Declaration
[Required(ErrorMessage = "MetricType is required.")]
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TargetPredefinedMetricExpressionRule.MetricTypeEnum? MetricType { get; set; }
Property Value
| Type | Description |
|---|---|
| TargetPredefinedMetricExpressionRule.MetricTypeEnum? | Metric type |
Remarks
Required
ScaleConfiguration
Declaration
[Required(ErrorMessage = "ScaleConfiguration is required.")]
[JsonProperty(PropertyName = "scaleConfiguration")]
public TargetPredefinedExpressionThresholdScalingConfiguration ScaleConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| TargetPredefinedExpressionThresholdScalingConfiguration |
Remarks
Required