Class AlertConfigurationMetricThresholdArgs
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.Inputs
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class AlertConfigurationMetricThresholdArgs : ResourceArgs
Constructors
View SourceAlertConfigurationMetricThresholdArgs()
Declaration
public AlertConfigurationMetricThresholdArgs()
Properties
View SourceMetricName
Name of the metric to check.
Declaration
public Input<string> MetricName { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
Mode
This must be set to AVERAGE. Atlas computes the current metric value as an average.
Declaration
public Input<string> Mode { get; set; }
Property Value
Type | Description |
---|---|
Input<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 Input<string> Operator { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |
Threshold
Threshold value outside of which an alert will be triggered.
Declaration
public Input<double> Threshold { get; set; }
Property Value
Type | Description |
---|---|
Input<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 Input<string> Units { get; set; }
Property Value
Type | Description |
---|---|
Input<System.String> |