Class: DatadogAPIClient::V1::MatchingDowntime
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::MatchingDowntime
- 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
-
#_end ⇒ Object
POSIX timestamp to end the downtime.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#id ⇒ Object
readonly
The downtime ID.
-
#scope ⇒ Object
The scope(s) to which the downtime applies.
-
#start ⇒ Object
POSIX timestamp to start the downtime.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#_end ⇒ Object
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_properties ⇒ Object
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 |
#id ⇒ Object
The downtime ID.
28 29 30 |
# File 'lib/datadog_api_client/v1/models/matching_downtime.rb', line 28 def id @id end |
#scope ⇒ Object
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 |
#start ⇒ Object
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 |