appliance techpreview timesync: get

Get time synchronization configuration.

Request:

HTTP request

GET https://{server}/rest/appliance/techpreview/timesync
No request parameters

Response:

HTTP Status Code: 200

Representations:

{
    "value"{
        "mode""Disabled"
    }
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/appliance/techpreview/timesync" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>
    <mode>Disabled</mode>
  </value>
</ns0:Get-Result>

Response Type:

Name Type Description
bold = required
value time_sync_config Time synchronization configuration.
value.mode string Time synchronization mode. Mode can have one of the TimeSyncMode enumeration values.

Defines different timsync modes Value is one of:
Disabled: Time synchronization is disabled.
NTP: NTP-based time synchronization.
host: VMware Tool-based time synchronization.

Errors:

HTTP Status Code Type Description
500 error Generic error