Show / Hide Table of Contents

Class Metric

Metric and threshold details for triggering an autoscaling action based on CPU or memory utilization.

Inheritance
object
MetricBase
Metric
Inherited Members
MetricBase.PendingDuration
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AutoscalingService.Models
Assembly: OCI.DotNetSDK.Autoscaling.dll
Syntax
public class Metric : MetricBase

Properties

MetricType

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

Required

Threshold

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

Required

In this article
Back to top