Class: Ansible::Ruby::Modules::Win_eventlog_entry

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb

Overview

Write log entries to a given event log from a specified source.

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

#categoryInteger?

Returns A numeric task category associated with the category message file for the log source.

Returns:

  • (Integer, nil)

    A numeric task category associated with the category message file for the log source.



32
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 32

attribute :category

#entry_type:Error, ...

Returns Indicates the entry being written to the log is of a specific type.

Returns:

  • (:Error, :FailureAudit, :Information, :SuccessAudit, :Warning, nil)

    Indicates the entry being written to the log is of a specific type.



28
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 28

attribute :entry_type

#event_idInteger

Returns The numeric event identifier for the entry.,Value must be between 0 and 65535.

Returns:

  • (Integer)

    The numeric event identifier for the entry.,Value must be between 0 and 65535.



20
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 20

attribute :event_id

#logString

Returns Name of the event log to write an entry to.

Returns:

  • (String)

    Name of the event log to write an entry to.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 12

attribute :log

#messageString

Returns The message for the given log entry.

Returns:

  • (String)

    The message for the given log entry.



24
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 24

attribute :message

#raw_dataInteger?

Returns Binary data associated with the log entry.,Value must be a comma-separated array of 8-bit unsigned integers (0 to 255).

Returns:

  • (Integer, nil)

    Binary data associated with the log entry.,Value must be a comma-separated array of 8-bit unsigned integers (0 to 255).



36
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 36

attribute :raw_data

#sourceString

Returns Name of the log source to indicate where the entry is from.

Returns:

  • (String)

    Name of the log source to indicate where the entry is from.



16
# File 'lib/ansible/ruby/modules/generated/windows/win_eventlog_entry.rb', line 16

attribute :source