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
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}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
The status of the time service on this host based on present time service configuration.
{
"0": "H",
"1": "o",
"2": "s",
"3": "t",
"4": "D",
"5": "a",
"6": "t",
"7": "e",
"8": "T",
"9": "i",
"10": "m",
"11": "e",
"12": "S",
"13": "y",
"14": "s",
"15": "t",
"16": "e",
"17": "m",
"18": "S",
"19": "e",
"20": "r",
"21": "v",
"22": "i",
"23": "c",
"24": "e",
"25": "T",
"26": "e",
"27": "s",
"28": "t",
"29": "R",
"30": "e",
"31": "s",
"32": "u",
"33": "l",
"34": "t",
"35": " ",
"36": "O",
"37": "b",
"38": "j",
"39": "e",
"40": "c",
"41": "t"
}
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/HostDateTimeSystem/{moId}/TestTimeService