Class: Ansible::Ruby::Modules::Junos_logging

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

Overview

This module provides declarative management of logging on Juniper JUNOS 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

#activeBoolean?

Returns Specifies whether or not the configuration is active or deactivated.

Returns:

  • (Boolean, nil)

    Specifies whether or not the configuration is active or deactivated



36
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 36

attribute :active

#aggregateArray<Hash>, ...

Returns List of logging definitions.

Returns:

  • (Array<Hash>, Hash, nil)

    List of logging definitions.



28
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 28

attribute :aggregate

#dest:console, ...

Returns Destination of the logs.

Returns:

  • (:console, :host, :file, :user, nil)

    Destination of the logs.



12
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_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/junos/junos_logging.rb', line 20

attribute :facility

#filesInteger?

Returns Number of files to be archived, this is applicable if value of I(dest) is C(file). The acceptable value is in range from 1 to 1000.

Returns:

  • (Integer, nil)

    Number of files to be archived, this is applicable if value of I(dest) is C(file). The acceptable value is in range from 1 to 1000.



48
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 48

attribute :files

#levelString?

Returns Set logging severity levels.

Returns:

  • (String, nil)

    Set logging severity levels.



24
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 24

attribute :level

#nameString?

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

Returns:

  • (String, nil)

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



16
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 16

attribute :name

#rotate_frequencyInteger?

Returns Rotate log frequency in minutes, this is applicable if value of I(dest) is C(file). The acceptable value is in range of 1 to 59. This controls the frequency after which log file is rotated.

Returns:

  • (Integer, nil)

    Rotate log frequency in minutes, this is applicable if value of I(dest) is C(file). The acceptable value is in range of 1 to 59. This controls the frequency after which log file is rotated.



40
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 40

attribute :rotate_frequency

#sizeInteger?

Returns Size of the file in archive, this is applicable if value of I(dest) is C(file). The acceptable value is in range from 65536 to 1073741824 bytes.

Returns:

  • (Integer, nil)

    Size of the file in archive, this is applicable if value of I(dest) is C(file). The acceptable value is in range from 65536 to 1073741824 bytes.



44
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 44

attribute :size

#state:present, ...

Returns State of the logging configuration.

Returns:

  • (:present, :absent, nil)

    State of the logging configuration.



32
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 32

attribute :state