# Data Object - HostNtpConfig(vim.host.NtpConfig)

Property of
  HostDateTimeConfig, HostDateTimeInfo
Extends
  DynamicData
Since
  VI API 2.5

## Data Object Description

Configuration information for the NTP (Network Time Protocol) service.

Properties

Name | Type | Description
--- | --- | ---
configFile* | xsd:string[] | Content of ntp.conf host configuration file, split by lines for ntpd version 4.2.8. Comment lines start with comment marker '#' as per ntp.conf are kept. When submitting a new ntp commands to this property via UpdateDateTimeConfig method, any 'restrict' or 'drift' commands will be ignored as the those are set to fixed defaults. Since vSphere API 6.0
server* | xsd:string[] | List of time servers, specified as either IP addresses or fully qualified domain names (FQDNs). Each entry may optionally specify one or more space separated 'server' ntp.conf command options. Any comments appended to an entry after a '#' will not be retained. To reset any previously configured servers, submit an NtpConfig without the server or configFile property set to method UpdateDateTimeConfig
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostNtpConfig"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="server" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="configFile" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>