# Data Object - ApplyProfile(vim.profile.ApplyProfile)

Property of
  ProfileApplyProfileProperty
Returned by
  CreateDefaultProfile
Extended by
  ActiveDirectoryProfile, AuthenticationProfile, DateTimeProfile, DvsProfile, DvsVNicProfile, FirewallProfile, FirewallProfileRulesetProfile, HostApplyProfile, HostMemoryProfile, IpAddressProfile, IpRouteProfile, LinkProfile, NasStorageProfile, NetStackInstanceProfile, NetworkPolicyProfile, NetworkProfile, NetworkProfileDnsConfigProfile, NsxHostVNicProfile, NumPortsProfile, OpaqueSwitchProfile, OptionProfile, PermissionProfile, PhysicalNicProfile, PnicUplinkProfile, PortGroupProfile, ProfileApplyProfileElement, SecurityProfile, ServiceProfile, StaticRouteProfile, StorageProfile, UserGroupProfile, UserProfile, VirtualSwitchProfile, VirtualSwitchSelectionProfile, VlanProfile
Extends
  DynamicData
See also
  ProfileApplyProfileProperty, ProfilePolicy
Since
  vSphere API 4.0

## Data Object Description

The ApplyProfile data object is the base class for all data objects that define profile configuration data. `ApplyProfile` defines ESX configuration data storage and it supports recursive profile definition for the profile plug-in architecture.

Properties

Name | Type | Description
--- | --- | ---
copyEnableStatus* | xsd:boolean | Indicates that the member variable `enabled` of this profile will be copied from source profile to target profiles at host profile composition. Since vSphere API 6.5
enabled | xsd:boolean | Indicates whether the profile is enabled.
favorite* | xsd:boolean | Indicates whether this profile is marked as "favorite". Since vSphere API 6.5
hidden* | xsd:boolean | Indicates whether this profile will be displayed or not. Since vSphere API 6.7
policy* | ProfilePolicy[] | The list of policies comprising the profile. A ProfilePolicy stores one or more configuration data values in a PolicyOption. The policy option is one of the configuration options from the ProfilePolicyMetadata.possibleOption list.
profileTypeName* | xsd:string | Identifies the profile type. Since vSphere API 5.0
profileVersion* | xsd:string | Profile engine version. Since vSphere API 5.0
property* | ProfileApplyProfileProperty[] | List of subprofiles for this profile. This list can change depending on which profile plug-ins are available in the system. Subprofiles can be nested to arbitrary depths to represent host capabilities. Since vSphere API 5.0
toBeDeleted* | xsd:boolean | Indicates whether this profile is marked as to-be-deleted. Since vSphere API 6.5
toBeMerged* | xsd:boolean | Indicates whether this profile is marked as to-be-merged. Since vSphere API 6.5
toReplaceWith* | xsd:boolean | Indicates whether the selected array elements, with the current as one of them, replace the profile array in the target host profile. Since vSphere API 6.5
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="ApplyProfile"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="enabled" type="xsd:boolean"/> <element name="policy" type="vim25:ProfilePolicy" minOccurs="0" maxOccurs="unbounded"/> <element name="profileTypeName" type="xsd:string" minOccurs="0"/> <element name="profileVersion" type="xsd:string" minOccurs="0"/> <element name="property" type="vim25:ProfileApplyProfileProperty" minOccurs="0" maxOccurs="unbounded"/> <element name="favorite" type="xsd:boolean" minOccurs="0"/> <element name="toBeMerged" type="xsd:boolean" minOccurs="0"/> <element name="toReplaceWith" type="xsd:boolean" minOccurs="0"/> <element name="toBeDeleted" type="xsd:boolean" minOccurs="0"/> <element name="copyEnableStatus" type="xsd:boolean" minOccurs="0"/> <element name="hidden" type="xsd:boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>