|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | add () |
| public method | delete () |
| public method | new () |
| public method | set () |
Com::Vmware::Appliance::Techpreview::Ntp::Server interface provides methods* Performs NTP configuration.
| public method Com::Vmware::Appliance::Techpreview::Ntp::Server::add | ( | ) |
Add NTP servers. This command adds NTP servers to the configuration. If the time synchronization is NTP-based, then NTP daemon is restarted to reload the new NTP servers. Otherwise, this command just adds servers to the NTP configuration.
| servers | [REQUIRED] List of host names or IP addresses of NTP servers. . The value must be Array of String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Ntp::Server::delete | ( | ) |
Delete NTP servers. This command deletes NTP servers from the configuration. If the time synchronization mode is NTP-based, the NTP daemon is restarted to reload the new NTP configuration. Otherwise, this command just deletes servers from the NTP configuration.
| servers | [REQUIRED] List of host name or ip addresses of ntp servers. . The value must be Array of String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Ntp::Server::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Ntp::Server::set | ( | ) |
Set NTP servers. This command deletes old NTP servers from the configuration and sets the input NTP servers in the configuration. If the time synchronization is NTP-based, the NTP daemon is restarted to reload the new NTP configuration. Otherwise, this command just replaces servers in the NTP configuration.
| servers | [REQUIRED] List of host names or ip addresses of ntp servers. . The value must be Array of String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: