Class: Ansible::Ruby::Modules::Ucs_ntp_server

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ntp_server.rb

Overview

Configures NTP server on Cisco UCS Manager. Examples can be used with the L(UCS Platform Emulator,communities.cisco.com/ucspe).

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

#descriptionString?

Returns A user-defined description of the NTP server.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).

Returns:

  • (String, nil)

    A user-defined description of the NTP server.,Enter up to 256 characters.,You can use any characters or spaces except the following:,‘ (accent mark), (backslash), ^ (carat), “ (double quote), = (equal sign), > (greater than), < (less than), or ’ (single quote).



21
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ntp_server.rb', line 21

attribute :description

#ntp_serverString?

Returns NTP server IP address or hostname.,Enter up to 63 characters that form a valid hostname.,Enter a valid IPV4 Address.

Returns:

  • (String, nil)

    NTP server IP address or hostname.,Enter up to 63 characters that form a valid hostname.,Enter a valid IPV4 Address.



17
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ntp_server.rb', line 17

attribute :ntp_server

#state:absent, ...

Returns If C(absent), will remove an NTP server.,If C(present), will add or update an NTP server.

Returns:

  • (:absent, :present, nil)

    If C(absent), will remove an NTP server.,If C(present), will add or update an NTP server.



13
# File 'lib/ansible/ruby/modules/generated/remote_management/ucs/ucs_ntp_server.rb', line 13

attribute :state