# Data Object - ApplyHostProfileConfigurationSpec(vim.profile.host.ProfileManager.ApplyHostConfigSpec)

Parameter to
  ApplyEntitiesConfig_Task
Returned by
  GenerateHostConfigTaskSpec_Task
Extends
  ProfileExecuteResult
See also
  HostSystem, LocalizableMessage, LocalizedMethodFault
Since
  vSphere API 6.5

## Data Object Description

The data object that contains the objects needed to remediate a host in host profile batch apply.

Properties

Name | Type | Description
--- | --- | ---
faultData* | LocalizedMethodFault | This contains the error details.
host | ManagedObjectReference to a HostSystem | The host to be remediated.
rebootHost* | xsd:boolean | For regular apply, when some of the tasks requires reboot, that this variable is`true` indicates that the reboot automatically happens in the batch profile apply than that the user will manually reboot the system later. For stateless host, this variable takes effect only when the variable `rebootStateless` above is `false`.
rebootStateless* | xsd:boolean | For a stateless host, there are two approaches to apply a host profile: (1) Reboot the host and apply the host profile at boot time. (2) Apply the host profile directly from VC. We call this as regular apply. The variable rebootStateless allows users to choose the first approach from the two approaches above: apply host profile by rebooting this host.
taskDescription* | LocalizableMessage[] | Description of tasks that will be performed on the host to carry out HostProfile application.
taskListRequirement* | xsd:string[] | The task requirements from the results of GenerateConfigTaskList method
Properties inherited from ProfileExecuteResult
configSpec, error, inapplicablePath, requireInput, status
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="ApplyHostProfileConfigurationSpec"> <complexContent> <extension base="sms:ProfileExecuteResult"> <sequence> <element name="host" type="sms:ManagedObjectReference"/> <element name="taskListRequirement" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="taskDescription" type="sms:LocalizableMessage" minOccurs="0" maxOccurs="unbounded"/> <element name="rebootStateless" type="xsd:boolean" minOccurs="0"/> <element name="rebootHost" type="xsd:boolean" minOccurs="0"/> <element name="faultData" type="sms:LocalizedMethodFault" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>