# Enum - ScheduledHardwareUpgradeInfoHardwareUpgradePolicy(vim.vm.ScheduledHardwareUpgradeInfo.HardwareUpgradePolicy)

Since
  vSphere API 5.1

## Enum Description

The policy setting used to determine when to perform scheduled upgrades for a virtual machine.

Enum Constants

Name | Description
--- | ---
always | Always run scheduled upgrades.
never | No scheduled upgrades.
onSoftPowerOff | Run scheduled upgrades only on normal guest OS shutdown.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ScheduledHardwareUpgradeInfoHardwareUpgradePolicy"> <restriction base="xsd:string"> <enumeration value="never"/> <enumeration value="onSoftPowerOff"/> <enumeration value="always"/> </restriction> </simpleType>