# Data Object - HostApplyProfile(vim.profile.host.HostApplyProfile)

Property of
  HostProfileCompleteConfigSpec, HostProfileConfigInfo, HostProfileManagerCompositionValidationResultResultElement, HostProfileValidationFailureInfo
Parameter to
  CompositeHostProfile_Task, CompositeHostProfile_Task, CompositeHostProfile_Task, CompositeHostProfile_Task, RetrieveAnswerFileForProfile, RetrieveHostCustomizationsForProfile, ValidateHostProfileComposition_Task, ValidateHostProfileComposition_Task, ValidateHostProfileComposition_Task, ValidateHostProfileComposition_Task
Extends
  ApplyProfile
See also
  AuthenticationProfile, DateTimeProfile, FirewallProfile, HostMemoryProfile, NetworkProfile, OptionProfile, SecurityProfile, ServiceProfile, StorageProfile, UserGroupProfile, UserProfile
Since
  vSphere API 4.0

## Data Object Description

The HostApplyProfile data object provides access to subprofiles that contain configuration data for different host capabilities. The Profile Engine will use any configuration data that you supply to overwrite the host configuration. See the ExecuteHostProfile and ApplyHostConfig_Task methods.

Properties

Name | Type | Description
--- | --- | ---
authentication* | AuthenticationProfile | Authentication Configuration. Since vSphere API 4.1
datetime* | DateTimeProfile | Date and time configuration.
firewall* | FirewallProfile | Firewall configuration.
memory* | HostMemoryProfile | Memory configuration for the host. This may not be valid for all versions of the host.
network* | NetworkProfile | Network configuration.
option* | OptionProfile[] | List of subprofiles representing advanced configuration options. Use the key property to access a subprofile in the list.
security* | SecurityProfile | Security Configuration of the host. The security subprofile can include data such as administrator passwords.
service* | ServiceProfile[] | Host configuration for services. Use the key property to access a subprofile in the list.
storage* | StorageProfile | Host storage configuration.
userAccount* | UserProfile[] | List of subprofiles for user accounts to be configured on the host. Use the key property to access a subprofile in the list.
usergroupAccount* | UserGroupProfile[] | List of subprofiles for user groups to be configured on the host. Use the key property to access a subprofile in the list.
Properties inherited from ApplyProfile
copyEnableStatus, enabled, favorite, hidden, policy, profileTypeName, profileVersion, property, toBeDeleted, toBeMerged, toReplaceWith
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="HostApplyProfile"> <complexContent> <extension base="vsan:ApplyProfile"> <sequence> <element name="memory" type="vsan:HostMemoryProfile" minOccurs="0"/> <element name="storage" type="vsan:StorageProfile" minOccurs="0"/> <element name="network" type="vsan:NetworkProfile" minOccurs="0"/> <element name="datetime" type="vsan:DateTimeProfile" minOccurs="0"/> <element name="firewall" type="vsan:FirewallProfile" minOccurs="0"/> <element name="security" type="vsan:SecurityProfile" minOccurs="0"/> <element name="service" type="vsan:ServiceProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="option" type="vsan:OptionProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="userAccount" type="vsan:UserProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="usergroupAccount" type="vsan:UserGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="authentication" type="vsan:AuthenticationProfile" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>