This method gets the appliance time sync mode. It returns a TimeSyncInfo object representing the timeSyncMode.

Synopsis

TimeSyncInfo getTimeSyncConfig();

TimeSyncInfo has the following fields:

Field Description
TimeSyncMode

The TimeSyncMode defines time synchronization modes. It enumerates the following:

  • DISABLED: Time synchronization is disabled.
  • NTP: NTP-based time synchronization.
  • HOST: VMware Tool-based time synchronization.
timeSyncMode The Time Synchronization Mode. Must be one of the enum values.
ntpServers NTP servers. Used only when timeSyncMode is NTP.

Faults

  • RuntimeFault

For more information about the faults, see Faults in Site Recovery Manager Appliance Management API.