Class AlertConfigurationMetricThreshold
Inheritance
System.Object
AlertConfigurationMetricThreshold
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Mongodbatlas.Outputs
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class AlertConfigurationMetricThreshold
Fields
View SourceMetricName
Name of the metric to check.
Declaration
public readonly string MetricName
Field Value
Type | Description |
---|---|
System.String |
Mode
This must be set to AVERAGE. Atlas computes the current metric value as an average.
Declaration
public readonly string Mode
Field Value
Type | Description |
---|---|
System.String |
Operator
Operator to apply when checking the current metric value against the threshold value. Accepted values are:
GREATER_THAN
LESS_THAN
Declaration
public readonly string Operator
Field Value
Type | Description |
---|---|
System.String |
Threshold
Threshold value outside of which an alert will be triggered.
Declaration
public readonly double? Threshold
Field Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Units
The units for the threshold value. Depends on the type of metric. Accepted values are:
RAW
BITS
BYTES
KILOBITS
KILOBYTES
MEGABITS
MEGABYTES
GIGABITS
GIGABYTES
TERABYTES
PETABYTES
MILLISECONDS
SECONDS
MINUTES
HOURS
DAYS
Declaration
public readonly string Units
Field Value
Type | Description |
---|---|
System.String |