Class: Ansible::Ruby::Modules::Datadog_monitor
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Datadog_monitor
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb
Overview
Manages monitors within Datadog Options like described on docs.datadoghq.com/api/
Instance Method Summary collapse
-
#api_key ⇒ Object
Your DataDog API key.
-
#app_key ⇒ Object
Your DataDog app key.
-
#escalation_message ⇒ Object?
A message to include with a re-notification.
-
#message ⇒ Object?
A message to include with notifications for this monitor.
-
#name ⇒ Object
The name of the alert.
-
#no_data_timeframe ⇒ Integer?
The number of minutes before a monitor will notify when data stops reporting.
-
#notify_audit ⇒ Boolean?
A boolean indicating whether tagged users will be notified on changes to this monitor.
-
#notify_no_data ⇒ Boolean?
A boolean indicating whether this monitor will notify when data stops reporting..
-
#query ⇒ Object?
The monitor query to notify on with syntax varying depending on what type of monitor you are creating.
-
#renotify_interval ⇒ Object?
The number of minutes after the last notification before a monitor will re-notify on the current status.
-
#silenced ⇒ String?
Dictionary of scopes to timestamps or None.
-
#state ⇒ :present, ...
The designated state of the monitor.
-
#thresholds ⇒ Array<String>, ...
A dictionary of thresholds by status.
-
#timeout_h ⇒ Object?
The number of hours of the monitor not reporting data before it will automatically resolve from a triggered state.
-
#type ⇒ :"metric alert", ...
The type of the monitor.,The ‘event alert’is available starting at Ansible 2.1.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_key ⇒ Object
12 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 12 attribute :api_key |
#app_key ⇒ Object
16 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 16 attribute :app_key |
#escalation_message ⇒ Object?
56 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 56 attribute :escalation_message |
#message ⇒ Object?
35 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 35 attribute :message |
#name ⇒ Object
31 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 31 attribute :name |
#no_data_timeframe ⇒ Integer?
46 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 46 attribute :no_data_timeframe |
#notify_audit ⇒ Boolean?
59 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 59 attribute :notify_audit |
#notify_no_data ⇒ Boolean?
42 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 42 attribute :notify_no_data |
#query ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 28 attribute :query |
#renotify_interval ⇒ Object?
53 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 53 attribute :renotify_interval |
#silenced ⇒ String?
38 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 38 attribute :silenced |
#state ⇒ :present, ...
20 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 20 attribute :state |
#thresholds ⇒ Array<String>, ...
63 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 63 attribute :thresholds |
#timeout_h ⇒ Object?
50 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 50 attribute :timeout_h |
#type ⇒ :"metric alert", ...
24 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_monitor.rb', line 24 attribute :type |