Host Date Time System Test Time Service

Host Date Time System Test Time Service

Run a test to validate current time service configuration is functioning normally.

The report will provide a localized diagnostic of any issues. Only one diagnostic test may be running at a time.

Since: vSphere API Release 7.0.3.0

Required privileges: Host.Config.DateTime

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostDateTimeSystem/{moId}/TestTimeService
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case HostDateTimeSystem/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

The status of the time service on this host based on present time service configuration.

Returns HostDateTimeSystemServiceTestResult of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "workingNormally": false,
    "report": [
        "string"
    ]
}
boolean
workingNormally
Required

Value is true if time services are presently working normally.

array of string
report
Optional

Returns details of the checks done to verify time services are working.