# Data Object - VsanHostDecommissionMode(vim.vsan.host.DecommissionMode)

Property of
  HostMaintenanceSpec
Extends
  DynamicData
Since
  vSphere API 5.5

## Data Object Description

A VsanHostDecommissionMode defines an action to take upon decommissioning a host from use with the VSAN service. If the VSAN service DecommissionMode is omitted in a call to EnterMaintenanceMode_Task, the default action chosen will be DecommissionMode.ObjectAction#ensureObjectAccessibility.
See EnterMaintenanceMode_Task
See vsanMode

Properties

Name | Type | Description
--- | --- | ---
objectAction | xsd:string | Specifies an action to take with regard to the VSAN service upon putting a host into maintenance mode. See VsanHostDecommissionModeObjectAction
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VsanHostDecommissionMode"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="objectAction" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>