Class: DatadogAPIClient::V1::MonitorSearchResult

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

Overview

Holds search results.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#classificationObject

Classification of the monitor.



29
30
31
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 29

def classification
  @classification
end

#creatorObject

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

#idObject

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_tsObject

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

#metricsObject

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

#nameObject

The monitor name.



44
45
46
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 44

def name
  @name
end

#notificationsObject

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_idObject

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

#queryObject

The monitor query.



53
54
55
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 53

def query
  @query
end

#scopesObject

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

#statusObject

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

#tagsObject

Tags associated with the monitor.



65
66
67
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 65

def tags
  @tags
end

#typeObject

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