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
-
#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
#classification ⇒ Object
Classification of the monitor.
29 30 31 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 29 def classification @classification end |
#creator ⇒ Object
Object describing the creator of the shared element.
32 33 34 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 32 def creator @creator end |
#id ⇒ Object
ID of the monitor.
35 36 37 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 35 def id @id end |
#last_triggered_ts ⇒ Object
Latest timestamp the monitor triggered.
38 39 40 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 38 def last_triggered_ts @last_triggered_ts end |
#metrics ⇒ Object
Metrics used by the monitor.
41 42 43 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 41 def metrics @metrics end |
#name ⇒ Object
The monitor name.
44 45 46 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 44 def name @name end |
#notifications ⇒ Object
The notification triggered by the monitor.
47 48 49 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 47 def notifications @notifications end |
#org_id ⇒ Object
The ID of the organization.
50 51 52 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 50 def org_id @org_id end |
#query ⇒ Object
The monitor query.
53 54 55 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 53 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.
59 60 61 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 59 def scopes @scopes end |
#status ⇒ Object
The different states your monitor can be in.
62 63 64 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 62 def status @status end |
#tags ⇒ Object
Tags associated with the monitor.
65 66 67 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 65 def 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.
68 69 70 |
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 68 def type @type end |