# Data Object - HostMaintenanceSpec(vim.host.MaintenanceSpec)

Parameter to
  EnterMaintenanceMode_Task, EvacuateVsanNode_Task, RemoveDisk_Task, RemoveDiskMapping_Task, VsanVibInstall_Task
Extends
  DynamicData
See also
  VsanHostDecommissionMode
Since
  vSphere API 5.5

## Data Object Description

The HostMaintenanceSpec data object may be used to specify actions to be taken by a host upon entering maintenance mode. If the HostMaintenanceSpec or any of its fields are omitted in a call to EnterMaintenanceMode_Task, default actions will be chosen as documented for each field's type.
See EnterMaintenanceMode_Task
See VsanHostDecommissionMode

Properties

Name | Type | Description
--- | --- | ---
vsanMode* | VsanHostDecommissionMode | The VsanHostDecommissionMode for this MaintenanceSpec.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostMaintenanceSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="vsanMode" type="vsan:VsanHostDecommissionMode" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>