# Managed Object - HostPatchManager

Property of
  HostConfigManager
See also
  HostPatchManagerLocator, HostPatchManagerPatchManagerOperationSpec, HostPatchManagerResult, HostPatchManagerStatus
Since
  VI API 2.5

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
CheckHostPatch_Task, InstallHostPatch_Task, InstallHostPatchV2_Task, QueryHostPatch_Task, ScanHostPatch_Task, ScanHostPatchV2_Task, StageHostPatch_Task, UninstallHostPatch_Task

# CheckHostPatch_Task

Required Privileges
  System.Read
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
metaUrls* P | xsd:string[] | Since vSphere API 4.0
bundleUrls* P | xsd:string[] | Since vSphere API 4.0
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# InstallHostPatch_Task

Deprecated.

Required Privileges
  Host.Config.Patch

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
repository P | HostPatchManagerLocator | Since null
updateID P | xsd:string | Since null
force* P | xsd:boolean | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
NoDiskSpace |
PatchBinariesNotFound |
PatchInstallFailed |
PatchMetadataInvalid |
PatchNotApplicable |
RebootRequired |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# InstallHostPatchV2_Task

Required Privileges
  Host.Config.Patch
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
metaUrls* P | xsd:string[] | Since vSphere API 4.0
bundleUrls* P | xsd:string[] | Since vSphere API 4.0
vibUrls* P | xsd:string[] | Since vSphere API 4.0
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# QueryHostPatch_Task

Required Privileges
  System.Read
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege: spec

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# ScanHostPatch_Task

Deprecated.

Required Privileges
  System.Read

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
repository P | HostPatchManagerLocator | Since null
updateID* P | xsd:string[] | Since null

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
PatchMetadataInvalid |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# ScanHostPatchV2_Task

Required Privileges
  System.Read
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
metaUrls* P | xsd:string[] | Since vSphere API 4.0
bundleUrls* P | xsd:string[] | Since vSphere API 4.0
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# StageHostPatch_Task

Required Privileges
  Host.Config.Patch
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
metaUrls* P | xsd:string[] | Since vSphere API 4.0
bundleUrls* P | xsd:string[] | Since vSphere API 4.0
vibUrls* P | xsd:string[] | Since vSphere API 4.0
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RequestCanceled |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None

# UninstallHostPatch_Task

Required Privileges
  Host.Config.Patch
Since
  vSphere API 4.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the HostPatchManager used to make the method call.
bulletinIds* P | xsd:string[] | Since vSphere API 4.0
spec* P | HostPatchManagerPatchManagerOperationSpec | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
InvalidState |
PlatformConfigFault |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.
TaskInProgress |

Events

Type
None