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/monitoring/datadog_monitor.rb
Overview
Manages monitors within Datadog Options like described on docs.datadoghq.com/api/
Instance Method Summary collapse
-
#api_key ⇒ String
Your DataDog API key.
-
#app_key ⇒ String
Your DataDog app key.
-
#escalation_message ⇒ Object?
A message to include with a re-notification.
-
#evaluation_delay ⇒ Object?
Time to delay evaluation (in seconds).
-
#id ⇒ Object?
The id of the alert.
-
#locked ⇒ String?
A boolean indicating whether changes to this monitor should be restricted to the creator or admins.
-
#message ⇒ String?
A message to include with notifications for this monitor.
-
#name ⇒ String
The name of the alert.
-
#new_host_delay ⇒ Object?
A positive integer representing the number of seconds to wait before evaluating the monitor for new hosts.
-
#no_data_timeframe ⇒ Integer?
The number of minutes before a monitor will notify when data stops reporting.
-
#notify_audit ⇒ String?
A boolean indicating whether tagged users will be notified on changes to this monitor.
-
#notify_no_data ⇒ String?
A boolean indicating whether this monitor will notify when data stops reporting..
-
#query ⇒ String?
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.
-
#require_full_window ⇒ Object?
A boolean indicating whether this monitor needs a full window of data before it’s evaluated.
-
#silenced ⇒ String?
Dictionary of scopes to timestamps or None.
-
#state ⇒ :present, ...
The designated state of the monitor.
-
#tags ⇒ Object?
A list of tags to associate with your monitor when creating or updating.
-
#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 ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 13 attribute :api_key |
#app_key ⇒ String
17 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 17 attribute :app_key |
#escalation_message ⇒ Object?
62 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 62 attribute :escalation_message |
#evaluation_delay ⇒ Object?
83 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 83 attribute :evaluation_delay |
#id ⇒ Object?
86 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 86 attribute :id |
#locked ⇒ String?
73 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 73 attribute :locked |
#message ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 40 attribute :message |
#name ⇒ String
36 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 36 attribute :name |
#new_host_delay ⇒ Object?
80 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 80 attribute :new_host_delay |
#no_data_timeframe ⇒ Integer?
52 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 52 attribute :no_data_timeframe |
#notify_audit ⇒ String?
65 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 65 attribute :notify_audit |
#notify_no_data ⇒ String?
48 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 48 attribute :notify_no_data |
#query ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 32 attribute :query |
#renotify_interval ⇒ Object?
59 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 59 attribute :renotify_interval |
#require_full_window ⇒ Object?
77 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 77 attribute :require_full_window |
#silenced ⇒ String?
44 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 44 attribute :silenced |
#state ⇒ :present, ...
21 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 21 attribute :state |
#tags ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 25 attribute :tags |
#thresholds ⇒ Array<String>, ...
69 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 69 attribute :thresholds |
#timeout_h ⇒ Object?
56 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 56 attribute :timeout_h |
#type ⇒ :"metric alert", ...
28 |
# File 'lib/ansible/ruby/modules/generated/monitoring/datadog_monitor.rb', line 28 attribute :type |