appliance techpreview ntp server: add
Add NTP servers. This command adds NTP servers to the configuration. If the time synchronization is NTP-based, then NTP daemon is restarted to reload the new NTP servers. Otherwise, this command just adds servers to the NTP configuration.
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/ntp/server
Request Body Structure:
{
"servers": [
"string",
"string"
]
}
"servers": [
"string",
"string"
]
}
<?xml version="1.0" ?>
<ns0:Add-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:Add-Input>
<ns0:Add-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:Add-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
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |