Show / Hide Table of Contents

Class MetricThresholdRule

An autoscale action is triggered when a performance metric exceeds a threshold.

Inheritance
object
MetricThresholdRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.BdsService.Models
Assembly: OCI.DotNetSDK.Bds.dll
Syntax
public class MetricThresholdRule

Properties

DurationInMinutes

Declaration
[Required(ErrorMessage = "DurationInMinutes is required.")]
[JsonProperty(PropertyName = "durationInMinutes")]
public int? DurationInMinutes { get; set; }
Property Value
Type Description
int?

This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.

Remarks

Required

Operator

Declaration
[Required(ErrorMessage = "Operator is required.")]
[JsonProperty(PropertyName = "operator")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricThresholdRule.OperatorEnum? Operator { get; set; }
Property Value
Type Description
MetricThresholdRule.OperatorEnum?

The comparison operator to use. Options are greater than (GT) or less than (LT).

Remarks

Required

Value

Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public int? Value { get; set; }
Property Value
Type Description
int?
In this article
Back to top