Show / Hide Table of Contents

Class MetricBase

Inheritance
object
MetricBase
CustomMetric
Metric
Inherited Members
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
[JsonConverter(typeof(MetricBaseModelConverter))]
public class MetricBase

Properties

PendingDuration

Declaration
[JsonProperty(PropertyName = "pendingDuration")]
public string PendingDuration { get; set; }
Property Value
Type Description
string

The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
The duration is specified as a string in ISO 8601 format (PT10M for ten minutes or PT1H for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.

In this article
Back to top