Class: Ansible::Ruby::Modules::Nxos_ntp_options
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Nxos_ntp_options
- Defined in:
- lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp_options.rb
Overview
Manages NTP options, e.g. authoritative server and logging.
Instance Method Summary collapse
-
#logging ⇒ Symbol?
Sets whether NTP logging is enabled on the device.
-
#master ⇒ Symbol?
Sets whether the device is an authoritative NTP server.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#stratum ⇒ Integer?
If C(master=true), an optional stratum can be supplied (1-15).
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
#logging ⇒ Symbol?
Returns Sets whether NTP logging is enabled on the device.
20 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp_options.rb', line 20 attribute :logging |
#master ⇒ Symbol?
Returns Sets whether the device is an authoritative NTP server.
12 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp_options.rb', line 12 attribute :master |
#state ⇒ :present, ...
Returns Manage the state of the resource.
24 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp_options.rb', line 24 attribute :state |
#stratum ⇒ Integer?
Returns If C(master=true), an optional stratum can be supplied (1-15). The device default is 8.
16 |
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_ntp_options.rb', line 16 attribute :stratum |