Class: DatadogAPIClient::V1::MonitorThresholds

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v1/models/monitor_thresholds.rb

Overview

List of the different monitor threshold available.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



48
49
50
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 48

def additional_properties
  @additional_properties
end

#criticalObject

The monitor CRITICAL threshold.



25
26
27
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 25

def critical
  @critical
end

#critical_queryObject

Query evaluated as a dynamic CRITICAL threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.



28
29
30
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 28

def critical_query
  @critical_query
end

#critical_recoveryObject

The monitor CRITICAL recovery threshold.



31
32
33
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 31

def critical_recovery
  @critical_recovery
end

#critical_recovery_queryObject

Query evaluated as a dynamic CRITICAL recovery threshold. Only supported on metric monitors with a formula query and options['variables']. Cannot be combined with static thresholds. This field is in preview.



34
35
36
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 34

def critical_recovery_query
  @critical_recovery_query
end

#okObject

The monitor OK threshold.



37
38
39
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 37

def ok
  @ok
end

#unknownObject

The monitor UNKNOWN threshold.



40
41
42
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 40

def unknown
  @unknown
end

#warningObject

The monitor WARNING threshold.



43
44
45
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 43

def warning
  @warning
end

#warning_recoveryObject

The monitor WARNING recovery threshold.



46
47
48
# File 'lib/datadog_api_client/v1/models/monitor_thresholds.rb', line 46

def warning_recovery
  @warning_recovery
end