Property Collector Check For Updates
Deprecated as of vSphere API 4.1, use WaitForUpdatesEx with a maxWaitSeconds of 0.
Checks for updates on properties specified by the union of all current filters.
If no updates are pending, this method returns null.
Required privileges: System.View
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 PropertyCollector/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"CheckForUpdatesRequestType Object"
The data version currently known to the client. The value must be either
- the special initial version (an empty string)
- a data version returned from PropertyCollector.CheckForUpdates or PropertyCollector.WaitForUpdates by the same PropertyCollector on the same session.
- a non-truncated data version returned from PropertyCollector.WaitForUpdatesEx by the same PropertyCollector on the same session.
Changes since the passed in data version. If no updates are pending, then this method returns null.
{
"0": "U",
"1": "p",
"2": "d",
"3": "a",
"4": "t",
"5": "e",
"6": "S",
"7": "e",
"8": "t",
"9": " ",
"10": "O",
"11": "b",
"12": "j",
"13": "e",
"14": "c",
"15": "t"
}
InvalidCollectorVersion: if the data version does not meet the requirements above.
RequestCanceled: if CancelWaitForUpdates has been called or the session was closed or the PropertyCollector was destroyed at some point after the call was received but before the update calculation was actually started
"InvalidCollectorVersion Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/PropertyCollector/{moId}/CheckForUpdates