Class: Ansible::Ruby::Modules::Logentries

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/monitoring/logentries.rb

Overview

Sends logs to LogEntries in realtime

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#logtype ⇒ Object?

Returns type of the log.

Returns:

  • (Object, nil) —

    type of the log



24
# File 'lib/ansible/ruby/modules/generated/monitoring/logentries.rb', line 24

attribute :logtype

#name ⇒ String?

Returns name of the log.

Returns:

  • (String, nil) —

    name of the log



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

attribute :name

#path ⇒ String

Returns path to a log file.

Returns:

  • (String) —

    path to a log file



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

attribute :path

#state ⇒ :present, ...

Returns following state of the log.

Returns:

  • (:present, :absent, nil) —

    following state of the log



16
# File 'lib/ansible/ruby/modules/generated/monitoring/logentries.rb', line 16

attribute :state