# 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:vslm="urn:vslm" name="HostApplyProfile"> <complexContent> <extension base="vslm:ApplyProfile"> <sequence> <element name="memory" type="vslm:HostMemoryProfile" minOccurs="0"/> <element name="storage" type="vslm:StorageProfile" minOccurs="0"/> <element name="network" type="vslm:NetworkProfile" minOccurs="0"/> <element name="datetime" type="vslm:DateTimeProfile" minOccurs="0"/> <element name="firewall" type="vslm:FirewallProfile" minOccurs="0"/> <element name="security" type="vslm:SecurityProfile" minOccurs="0"/> <element name="service" type="vslm:ServiceProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="option" type="vslm:OptionProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="userAccount" type="vslm:UserProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="usergroupAccount" type="vslm:UserGroupProfile" minOccurs="0" maxOccurs="unbounded"/> <element name="authentication" type="vslm:AuthenticationProfile" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>