Class: DatadogAPIClient::V2::DowntimeCreateRequestAttributes

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

Overview

Downtime details.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_timezoneObject

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

#messageObject

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
  @message
end

#monitor_identifierObject

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_notificationObject

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_statesObject

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_typesObject

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

#scheduleObject

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

#scopeObject

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