appliance 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. This operation was added in vSphere API 6.7

Request:

HTTP request

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

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        "string",
        "string"
    ]
}

Response Type:

Name Type Description
bold = required
value string[] List of NTP servers.

Errors:

HTTP Status Code Type Description
500 error Generic error