Class: DatadogAPIClient::V1::MatchingDowntime

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

Overview

Object describing a downtime that matches this monitor.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_endObject

POSIX timestamp to end the downtime.



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

def _end
  @_end
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



38
39
40
# File 'lib/datadog_api_client/v1/models/matching_downtime.rb', line 38

def additional_properties
  @additional_properties
end

#idObject

The downtime ID.



28
29
30
# File 'lib/datadog_api_client/v1/models/matching_downtime.rb', line 28

def id
  @id
end

#scopeObject

The scope(s) to which the downtime applies. Must be in key:value format. For example, host:app2. Provide multiple scopes as a comma-separated list like env:dev,env:prod. The resulting downtime applies to sources that matches ALL provided scopes (env:dev AND env:prod).



33
34
35
# File 'lib/datadog_api_client/v1/models/matching_downtime.rb', line 33

def scope
  @scope
end

#startObject

POSIX timestamp to start the downtime.



36
37
38
# File 'lib/datadog_api_client/v1/models/matching_downtime.rb', line 36

def start
  @start
end