HostDateTimeConfig

HostDateTimeConfig
HostDateTimeConfig

This data object represents the dateTime configuration of the host.

AllOf
This class requires all of the following:
JSON Example
{
    "_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
}
string
timeZone
Optional

The time zone of the host.

Must be one of the values of key

ntpConfig
Optional

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

ptpConfig
Optional

Configuration information for the host PTP (Precision Time Protocol) service.

Since: vSphere API Release 7.0.3.0

string
protocol
Optional

Specify which network time configuration to discipline vmkernel clock.

See HostDateTimeInfoProtocolEnum for supported values.

Since: vSphere API Release 7.0.3.0

boolean
enabled
Optional

Bring Time services subsystem up or down.

Since: vSphere API Release 7.0.3.0

boolean
disableEvents
Optional

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

boolean
disableFallback
Optional

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

boolean
resetToFactoryDefaults
Optional

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