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

Returned by
  QueryHostProfileMetadata
Extends
  DynamicData
See also
  ExtendedDescription, ProfileMetadataProfileOperationMessage, ProfileMetadataProfileSortSpec
Since
  vSphere API 4.0

## Data Object Description

This data object represents the metadata information of a Profile.

Properties

Name | Type | Description
--- | --- | ---
description* | ExtendedDescription | Property which describes the profile
key | xsd:string | Type of the Profile
operationMessages* | ProfileMetadataProfileOperationMessage[] | A list of `ProfileOperationMessage` for this profile. Since vSphere API 6.7
profileCategory* | xsd:string | Identifies the profile category that this subprofile is a part of. The value of this string should correspond to the key value of a ProfileCategoryMetadata object's key in its id property. Since vSphere API 5.1
profileComponent* | xsd:string | Property indicating that the subprofile described by this `ProfileMetadata` object is declared in the profileTypeNames of the specified profile component. The value of this property should correspond to the key value of the ProfileComponentMetadata object's key in its id property. This property should not be present for subprofiles that are not directly declared in the profileTypeNames property of a ProfileComponentMetadata object. Since vSphere API 5.1
profileTypeName* | xsd:string | Type identifier for the ApplyProfile Since vSphere API 5.0
sortSpec* | ProfileMetadataProfileSortSpec[] | Property that determines a sorting order for display purposes. If the list contains more than one sort spec, then the precedence should be determined by the list order (i.e. sort first by the first spec in the list, then sort by the second spec in the list, etc). Since vSphere API 5.0
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="ProfileMetadata"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="key" type="xsd:string"/> <element name="profileTypeName" type="xsd:string" minOccurs="0"/> <element name="description" type="vim25:ExtendedDescription" minOccurs="0"/> <element name="sortSpec" type="vim25:ProfileMetadataProfileSortSpec" minOccurs="0" maxOccurs="unbounded"/> <element name="profileCategory" type="xsd:string" minOccurs="0"/> <element name="profileComponent" type="xsd:string" minOccurs="0"/> <element name="operationMessages" type="vim25:ProfileMetadataProfileOperationMessage" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>