Class: DatadogAPIClient::V2::DowntimeCreateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::DowntimeCreateRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb
Overview
Downtime details.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#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.
-
#monitor_identifier ⇒ Object
readonly
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
Schedule for the downtime.
-
#scope ⇒ Object
readonly
The scope to which the downtime applies.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 50 def additional_properties @additional_properties 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.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 26 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.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 30 def @message end |
#monitor_identifier ⇒ Object
Monitor identifier for the downtime.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 33 def monitor_identifier @monitor_identifier end |
#mute_first_recovery_notification ⇒ Object
If the first recovery notification during a downtime should be muted.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 36 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.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 39 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.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 42 def notify_end_types @notify_end_types end |
#schedule ⇒ Object
Schedule for the downtime.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 45 def schedule @schedule end |
#scope ⇒ Object
The scope to which the downtime applies. Must follow the [common search syntax](docs.datadoghq.com/logs/explorer/search_syntax/).
48 49 50 |
# File 'lib/datadog_api_client/v2/models/downtime_create_request_attributes.rb', line 48 def scope @scope end |