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
 All Classes Files Functions
Classes | List of all members
Com::Vmware::Appliance::Techpreview::Ntp Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Ntp:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  Message
 
class  MessageStatus
 
class  NTPConfig
 
class  NTPStatus
 
class  TestStatus
 
class  TestStatusInfo
 

Avaliable Methods

public method test ()
 
public method get ()
 
public method new ()
 

Detailed Description

Com::Vmware::Appliance::Techpreview::Ntp interface provides methods Gets NTP configuration status and tests connection to ntp servers.

Member Function Documentation

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.

Return values
NTPconfig The return type will be Com::Vmware::Appliance::Techpreview::Ntp::NTPConfig
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Ntp::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Ntp::test ( )

Test the connection to a list of ntp servers.

Parameters
servers[REQUIRED] List of host names or IP addresses of NTP servers. . The value must be Array of String.
Return values
NTPconnection status The return type will be Com::Vmware::Appliance::Techpreview::Ntp::TestStatusInfo
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view

The documentation for this class was generated from the following file: