|
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
|
Classes | |
| class | Message |
| class | MessageStatus |
| class | NTPConfig |
| class | NTPStatus |
| class | TestStatus |
| class | TestStatusInfo |
Avaliable Methods | |
| public method | test () |
| public method | get () |
| public method | new () |
Com::Vmware::Appliance::Techpreview::Ntp interface provides methods Gets NTP configuration status and tests connection to ntp servers.
| public method Com::Vmware::Appliance::Techpreview::Ntp::get | ( | ) |
Get the NTP configuration status. If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.
| NTP | config The return type will be Com::Vmware::Appliance::Techpreview::Ntp::NTPConfig |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Ntp::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::test | ( | ) |
Test the connection to a list of ntp servers.
| servers | [REQUIRED] List of host names or IP addresses of NTP servers. . The value must be Array of String. |
| NTP | connection status The return type will be Com::Vmware::Appliance::Techpreview::Ntp::TestStatusInfo |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: