Class: Ansible::Ruby::Modules::Net_logging

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/system/net_logging.rb

Overview

This module provides declarative management of logging on network devices.

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

#aggregateArray<Hash>, ...

Returns List of logging definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of logging definitions.



28
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 28

attribute :aggregate

#dest:console, ...

Returns Destination of the logs.

Returns:

  • (:console, :host, nil)

    Destination of the logs.



12
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 12

attribute :dest

#facilityString?

Returns Set logging facility.

Returns:

  • (String, nil)

    Set logging facility.



20
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 20

attribute :facility

#levelString?

Returns Set logging severity levels.

Returns:

  • (String, nil)

    Set logging severity levels.



24
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 24

attribute :level

#nameString?

Returns If value of C(dest) is I(host) it indicates file-name the host name to be notified.

Returns:

  • (String, nil)

    If value of C(dest) is I(host) it indicates file-name the host name to be notified.



16
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 16

attribute :name

#purgeBoolean?

Returns Purge logging not defined in the I(aggregate) parameter.

Returns:

  • (Boolean, nil)

    Purge logging not defined in the I(aggregate) parameter.



32
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 32

attribute :purge

#state:present, ...

Returns State of the logging configuration.

Returns:

  • (:present, :absent, nil)

    State of the logging configuration.



36
# File 'lib/ansible/ruby/modules/generated/network/system/net_logging.rb', line 36

attribute :state