Class: DatadogAPIClient::V2::MonitorType
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MonitorType
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/monitor_type.rb
Overview
Attributes from the monitor that triggered the event.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created_at ⇒ Object
The POSIX timestamp of the monitor's creation in nanoseconds.
-
#group_status ⇒ Object
readonly
Monitor group status used when there is no
result_groups
. -
#groups ⇒ Object
Groups to which the monitor belongs.
-
#id ⇒ Object
The monitor ID.
-
#message ⇒ Object
The monitor message.
-
#modified ⇒ Object
The monitor's last-modified timestamp.
-
#name ⇒ Object
The monitor name.
-
#query ⇒ Object
The query that triggers the alert.
-
#tags ⇒ Object
A list of tags attached to the monitor.
-
#templated_name ⇒ Object
The templated name of the monitor before resolving any template variables.
-
#type ⇒ Object
The monitor type.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
57 58 59 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 57 def additional_properties @additional_properties end |
#created_at ⇒ Object
The POSIX timestamp of the monitor's creation in nanoseconds.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 25 def created_at @created_at end |
#group_status ⇒ Object
Monitor group status used when there is no result_groups
.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 28 def group_status @group_status end |
#groups ⇒ Object
Groups to which the monitor belongs.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 31 def groups @groups end |
#id ⇒ Object
The monitor ID.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 34 def id @id end |
#message ⇒ Object
The monitor message.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 37 def @message end |
#modified ⇒ Object
The monitor's last-modified timestamp.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 40 def modified @modified end |
#name ⇒ Object
The monitor name.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 43 def name @name end |
#query ⇒ Object
The query that triggers the alert.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 46 def query @query end |
#tags ⇒ Object
A list of tags attached to the monitor.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 49 def @tags end |
#templated_name ⇒ Object
The templated name of the monitor before resolving any template variables.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 52 def templated_name @templated_name end |
#type ⇒ Object
The monitor type.
55 56 57 |
# File 'lib/datadog_api_client/v2/models/monitor_type.rb', line 55 def type @type end |