appliance techpreview ntp server: set

Set NTP servers. This command deletes old NTP servers from the configuration and sets the input NTP servers in the configuration. If the time synchronization is NTP-based, the NTP daemon is restarted to reload the new NTP configuration. Otherwise, this command just replaces servers in the NTP configuration.

Request:

HTTP request

PUT https://{server}/rest/appliance/techpreview/ntp/server

Request Body Structure:

{
    "servers"[
        "string",
        "string"
    ]
}
<?xml version="1.0" ?>
<ns0:Set-Input xmlns:ns0="http://vmware.com/appliance/techpreview/ntp/server" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <servers-array>
    <array-item>string</array-item>
    <array-item>string</array-item>
  </servers-array>
</ns0:Set-Input>

Request Body Parameters:

Name Type Description
bold = required
servers string[] List of host names or ip addresses of ntp servers.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error