HostDateTimeConfig
This data object represents the dateTime configuration of the host.
{
"_typeName": "string",
"timeZone": "string",
"ntpConfig": {
"_typeName": "string",
"server": [
"string"
],
"configFile": [
"string"
]
},
"ptpConfig": {
"_typeName": "string",
"domain": 0,
"port": [
{
"_typeName": "string",
"index": 0,
"deviceType": "string",
"device": "string",
"ipConfig": {
"_typeName": "string",
"dhcp": false,
"ipAddress": "string",
"subnetMask": "string",
"ipV6Config": {
"_typeName": "string",
"ipV6Address": [
{
"_typeName": "string",
"ipAddress": "string",
"prefixLength": 0,
"origin": "string",
"dadState": "string",
"lifetime": "string",
"operation": "string"
}
],
"autoConfigurationEnabled": false,
"dhcpV6Enabled": false
}
}
}
]
},
"protocol": "string",
"enabled": false,
"disableEvents": false,
"disableFallback": false,
"resetToFactoryDefaults": false
}
Configuration information for the NTP (Network Time Protocol) service.
Configuration information for the host PTP (Precision Time Protocol) service.
Since: vSphere API Release 7.0.3.0
Specify which network time configuration to discipline vmkernel clock.
See HostDateTimeInfoProtocolEnum for supported values.
Since: vSphere API Release 7.0.3.0
Bring Time services subsystem up or down.
Since: vSphere API Release 7.0.3.0
When Network Time service or Precision Time service are enabled any detecteced failures will result in Events being sent to Virtual Center.
Use this setting to disable Time Events.
Since: vSphere API Release 7.0.3.0
When in PrecisionTimeSync, NTP configuration as set will be running as backup.
Use this setting to prevent NTP from becoming the primary time protocol in the event of a PTP service failure.
Since: vSphere API Release 7.0.3.0
When this property is present and set true the existing configuration for Time Services will be reset to factory default.
The protocol property when set defines the scope of what is reset. If additional configuration beyond protocol is provided host will first perform factory reset followed by applying any configuration present.
Since: vSphere API Release 7.0.3.0