Class: DatadogAPIClient::V2::DowntimeResponseAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DowntimeResponseAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/downtime_response_attributes.rb
Overview
Downtime details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#canceled ⇒ Object
Time that the downtime was canceled.
-
#created ⇒ Object
Creation time of the downtime.
-
#display_timezone ⇒ Object
The timezone in which to display the downtime's start and end times in Datadog applications.
-
#message ⇒ Object
A message to include with notifications for this downtime.
-
#modified ⇒ Object
Time that the downtime was last modified.
-
#monitor_identifier ⇒ Object
Monitor identifier for the downtime.
-
#mute_first_recovery_notification ⇒ Object
If the first recovery notification during a downtime should be muted.
-
#notify_end_states ⇒ Object
States that will trigger a monitor notification when the
notify_end_types
action occurs. -
#notify_end_types ⇒ Object
Actions that will trigger a monitor notification if the downtime is in the
notify_end_types
state. -
#schedule ⇒ Object
The schedule that defines when the monitor starts, stops, and recurs.
-
#scope ⇒ Object
The scope to which the downtime applies.
-
#status ⇒ Object
The current status of the downtime.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 64 def additional_properties @additional_properties end |
#canceled ⇒ Object
Time that the downtime was canceled.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 25 def canceled @canceled end |
#created ⇒ Object
Creation time of the downtime.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 28 def created @created end |
#display_timezone ⇒ Object
The timezone in which to display the downtime's start and end times in Datadog applications. This is not used as an offset for scheduling.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 32 def display_timezone @display_timezone end |
#message ⇒ Object
A message to include with notifications for this downtime. Email notifications can be sent to specific users
by using the same @username
notation as events.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 36 def @message end |
#modified ⇒ Object
Time that the downtime was last modified.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 39 def modified @modified end |
#monitor_identifier ⇒ Object
Monitor identifier for the downtime.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 42 def monitor_identifier @monitor_identifier end |
#mute_first_recovery_notification ⇒ Object
If the first recovery notification during a downtime should be muted.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 45 def mute_first_recovery_notification @mute_first_recovery_notification end |
#notify_end_states ⇒ Object
States that will trigger a monitor notification when the notify_end_types
action occurs.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 48 def notify_end_states @notify_end_states end |
#notify_end_types ⇒ Object
Actions that will trigger a monitor notification if the downtime is in the notify_end_types
state.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 51 def notify_end_types @notify_end_types end |
#schedule ⇒ Object
The schedule that defines when the monitor starts, stops, and recurs. There are two types of schedules: one-time and recurring. Recurring schedules may have up to five RRULE-based recurrences. If no schedules are provided, the downtime will begin immediately and never end.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 56 def schedule @schedule end |
#scope ⇒ Object
The scope to which the downtime applies. Must follow the common search syntax.
59 60 61 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 59 def scope @scope end |
#status ⇒ Object
The current status of the downtime.
62 63 64 |
# File 'lib/datadog_api_client/v2/models/downtime_response_attributes.rb', line 62 def status @status end |