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

#additional_propertiesObject

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

#classificationObject

Classification of the monitor.



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

def classification
  @classification
end

#creatorObject

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

#idObject

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_tsObject

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

#metricsObject

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

#nameObject

The monitor name.



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

def name
  @name
end

#notificationsObject

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_idObject

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

#queryObject

The monitor query.



49
50
51
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 49

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.



55
56
57
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 55

def scopes
  @scopes
end

#statusObject

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

#tagsObject

Tags associated with the monitor.



61
62
63
# File 'lib/datadog_api_client/v1/models/monitor_search_result.rb', line 61

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.



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

def type
  @type
end