Class: DatadogAPIClient::V1::MonitorSearchResult
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MonitorSearchResult
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/monitor_search_result.rb
Overview
Holds search results.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#classification ⇒ Object
Classification of the monitor.
-
#creator ⇒ Object
Object describing the creator of the shared element.
-
#id ⇒ Object
ID of the monitor.
-
#last_triggered_ts ⇒ Object
Latest timestamp the monitor triggered.
-
#metrics ⇒ Object
Metrics used by the monitor.
-
#name ⇒ Object
The monitor name.
-
#notifications ⇒ Object
The notification triggered by the monitor.
-
#org_id ⇒ Object
The ID of the organization.
-
#query ⇒ Object
The monitor query.
-
#scopes ⇒ Object
The scope(s) to which the downtime applies, for example ‘host:app2`.
-
#status ⇒ Object
The different states your monitor can be in.
-
#tags ⇒ Object
Tags associated with the monitor.
-
#type ⇒ Object
The type of the monitor.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
66 67 68 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 66 def additional_properties @additional_properties end |
#classification ⇒ Object
Classification of the monitor.
25 26 27 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 25 def classification @classification end |
#creator ⇒ Object
Object describing the creator of the shared element.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 28 def creator @creator end |
#id ⇒ Object
ID of the monitor.
31 32 33 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 31 def id @id end |
#last_triggered_ts ⇒ Object
Latest timestamp the monitor triggered.
34 35 36 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 34 def last_triggered_ts @last_triggered_ts end |
#metrics ⇒ Object
Metrics used by the monitor.
37 38 39 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 37 def metrics @metrics end |
#name ⇒ Object
The monitor name.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 40 def name @name end |
#notifications ⇒ Object
The notification triggered by the monitor.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 43 def notifications @notifications end |
#org_id ⇒ Object
The ID of the organization.
46 47 48 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 46 def org_id @org_id end |
#query ⇒ Object
The monitor query.
49 50 51 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 49 def query @query end |
#scopes ⇒ Object
The scope(s) to which the downtime applies, for example ‘host:app2`. Provide multiple scopes as a comma-separated list, for example `env:dev,env:prod`. The resulting downtime applies to sources that matches ALL provided scopes (that is `env:dev AND env:prod`), NOT any of them.
55 56 57 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 55 def scopes @scopes end |
#status ⇒ Object
The different states your monitor can be in.
58 59 60 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 58 def status @status end |
#tags ⇒ Object
Tags associated with the monitor.
61 62 63 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 61 def @tags end |
#type ⇒ Object
The type of the monitor. For more information about ‘type`, see the [monitor options](docs.datadoghq.com/monitors/guide/monitor_api_options/) docs.
64 65 66 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 64 def type @type end |