Class: Ansible::Ruby::Modules::Datadog_event
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Datadog_event
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb
Overview
Allows to post events to DataDog (www.datadoghq.com) service. Uses docs.datadoghq.com/api/#events API.
Instance Method Summary collapse
-
#aggregation_key ⇒ Object?
An arbitrary string to use for aggregation.
-
#alert_type ⇒ :error, ...
Type of alert.
-
#api_key ⇒ Object
Your DataDog API key.
-
#date_happened ⇒ String?
POSIX timestamp of the event.,Default value is now.
-
#priority ⇒ :normal, ...
The priority of the event.
-
#tags ⇒ Object?
Comma separated list of tags to apply to the event.
-
#text ⇒ Object
The body of the event.
-
#title ⇒ Object
The event title.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
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
#aggregation_key ⇒ Object?
Returns An arbitrary string to use for aggregation.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 39 attribute :aggregation_key |
#alert_type ⇒ :error, ...
Returns Type of alert.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 35 attribute :alert_type |
#api_key ⇒ Object
Returns Your DataDog API key.
12 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 12 attribute :api_key |
#date_happened ⇒ String?
Returns POSIX timestamp of the event.,Default value is now.
24 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 24 attribute :date_happened |
#priority ⇒ :normal, ...
Returns The priority of the event.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 28 attribute :priority |
#tags ⇒ Object?
Returns Comma separated list of tags to apply to the event.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 32 attribute :tags |
#text ⇒ Object
Returns The body of the event.
20 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 20 attribute :text |
#title ⇒ Object
Returns The event title.
16 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 16 attribute :title |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 42 attribute :validate_certs |