Class: Ansible::Ruby::Modules::Datadog_event

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_keyObject?

Returns An arbitrary string to use for aggregation.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:error, :warning, :info, :success, nil)

    Type of alert.



35
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 35

attribute :alert_type

#api_keyObject

Returns Your DataDog API key.

Returns:

  • (Object)

    Your DataDog API key.



12
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 12

attribute :api_key

#date_happenedString?

Returns POSIX timestamp of the event.,Default value is now.

Returns:

  • (String, nil)

    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.

Returns:

  • (:normal, :low, nil)

    The priority of the event.



28
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 28

attribute :priority

#tagsObject?

Returns Comma separated list of tags to apply to the event.

Returns:

  • (Object, nil)

    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

#textObject

Returns The body of the event.

Returns:

  • (Object)

    The body of the event.



20
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/datadog_event.rb', line 20

attribute :text

#titleObject

Returns The event title.

Returns:

  • (Object)

    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.

Returns:

  • (:yes, :no, nil)

    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