Class: Ansible::Ruby::Modules::Ce_ntp_auth

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

Overview

Manages NTP authentication configuration on HUAWEI CloudEngine switches.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#auth_mode:"hmac-sha256", ...

Returns Specify authentication algorithm.

Returns:

  • (:"hmac-sha256", :md5, nil)

    Specify authentication algorithm.



19
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 19

attribute :auth_mode

#auth_pwdObject?

Returns Plain text with length of 1 to 255, encrypted text with length of 20 to 392.

Returns:

  • (Object, nil)

    Plain text with length of 1 to 255, encrypted text with length of 20 to 392.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 16

attribute :auth_pwd

#auth_type:text, ...

Returns Whether the given password is in cleartext or has been encrypted. If in cleartext, the device will encrypt it before storing it.

Returns:

  • (:text, :encrypt, nil)

    Whether the given password is in cleartext or has been encrypted. If in cleartext, the device will encrypt it before storing it.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 23

attribute :auth_type

#authentication:enable, ...

Returns Configure ntp authentication enable or unconfigure ntp authentication enable.

Returns:

  • (:enable, :disable, nil)

    Configure ntp authentication enable or unconfigure ntp authentication enable.



31
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 31

attribute :authentication

#key_idObject

Returns Authentication key identifier (numeric).

Returns:

  • (Object)

    Authentication key identifier (numeric).



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 12

attribute :key_id

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource.



35
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 35

attribute :state

#trusted_key:enable, ...

Returns Whether the given key is required to be supplied by a time source for the device to synchronize to the time source.

Returns:

  • (:enable, :disable, nil)

    Whether the given key is required to be supplied by a time source for the device to synchronize to the time source.



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_ntp_auth.rb', line 27

attribute :trusted_key