Host Patch Manager Scan Host Patch V2 Task
Scan the host for the patch status.
The operation is cancelable through the returned Task object. Integrity checks are performed on the metadata only during the scan operation.
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.
{
"metaUrls": [
"string"
],
"bundleUrls": [
"string"
],
"spec": {
"_typeName": "string",
"proxy": "string",
"port": 0,
"userName": "string",
"password": "string",
"cmdOption": "string"
}
}
a list of urls pointing to metadata.zip.
a list of urls pointing to an "offline" bundle. It is not supported in 5.0 or later.
Optional parameters for hostd to pass to exupdate.
This method returns a Task object with which to monitor the operation. The info.result property in the Task contains the HostPatchManagerStatus upon success.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
RequestCanceled: if the operation is canceled.
InvalidState: if the feature cannot be supported on the platform, potentially because the hardware configuration does not support it.
TaskInProgress: if there is already a patch installation in progress.
PlatformConfigFault: if there is any error in the repository access, metadata download, repository level integrity check, or reading the metadata. See text for specific details.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
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.