Host Patch Manager Query Host Patch Task
Query the host for installed bulletins.
Required privileges: System.Read
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 HostPatchManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"QueryHostPatchRequestType Object"
Optional parameters for hostd to pass to exupdate.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
RequestCanceled: if the operation is canceled.
InvalidState: if the bulletin ID did not exist.
TaskInProgress: if there is already a patch installation in progress.
PlatformConfigFault: if any error occurs during the operation. More detailed information will be returned within the payload of the exception as xml string.
"MethodFault Object"
The base data object type for all the object model faults that an application might handle.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HostPatchManager/{moId}/QueryHostPatch_Task