Class: Ansible::Ruby::Modules::Junos_logging
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_logging
- 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
-
#active ⇒ Boolean?
Specifies whether or not the configuration is active or deactivated.
-
#aggregate ⇒ Array<Hash>, ...
List of logging definitions.
-
#dest ⇒ :console, ...
Destination of the logs.
-
#facility ⇒ String?
Set logging facility.
-
#files ⇒ Integer?
Number of files to be archived, this is applicable if value of I(dest) is C(file).
-
#level ⇒ String?
Set logging severity levels.
-
#name ⇒ String?
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.
-
#rotate_frequency ⇒ Integer?
Rotate log frequency in minutes, this is applicable if value of I(dest) is C(file).
-
#size ⇒ Integer?
Size of the file in archive, this is applicable if value of I(dest) is C(file).
-
#state ⇒ :present, ...
State of the logging configuration.
Methods inherited from Base
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
#active ⇒ Boolean?
Returns 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 |
#aggregate ⇒ Array<Hash>, ...
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 12 attribute :dest |
#facility ⇒ String?
Returns Set logging facility.
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 20 attribute :facility |
#files ⇒ Integer?
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.
48 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 48 attribute :files |
#level ⇒ String?
Returns Set logging severity levels.
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 24 attribute :level |
#name ⇒ String?
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.
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 16 attribute :name |
#rotate_frequency ⇒ Integer?
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.
40 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 40 attribute :rotate_frequency |
#size ⇒ Integer?
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.
44 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 44 attribute :size |
#state ⇒ :present, ...
Returns State of the logging configuration.
32 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_logging.rb', line 32 attribute :state |