# Managed Object - Profile

Property of
  ComplianceResult, HostProfileManagerCompositionResultResultElement, HostProfileManagerCompositionValidationResultResultElement, InvalidProfileReferenceHost, ProfileEventArgument, ProfileManager
Parameter to
  CheckCompliance_Task, ClearComplianceStatus, CompositeHostProfile_Task, CompositeHostProfile_Task, CreateDefaultProfile, QueryComplianceStatus, QueryExpressionMetadata, QueryHostProfileMetadata, QueryPolicyMetadata, QueryProfileStructure, ValidateHostProfileComposition_Task, ValidateHostProfileComposition_Task
Returned by
  CreateProfile, FindAssociatedProfile
Extended by
  ClusterProfile, HostProfile
See also
  ComplianceResult, ManagedEntity, ProfileConfigInfo, ProfileDescription
Since
  vSphere API 4.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
complianceStatus | xsd:string |
config P | ProfileConfigInfo |
createdTime | xsd:dateTime |
description* | ProfileDescription |
entity* | ManagedObjectReference[] to a ManagedEntity[] |
modifiedTime | xsd:dateTime |
name | xsd:string |

*May not be present P Required privilege: Profile.Edit

Methods

Methods defined in this Managed Object
AssociateProfile, CheckProfileCompliance_Task, DestroyProfile, DissociateProfile, ExportProfile, RetrieveDescription

# AssociateProfile

Required Privileges
  Profile.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.
entity P | ManagedObjectReference[] to a ManagedEntity[] | Since vSphere API 4.0

P Required privilege: entity

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# CheckProfileCompliance_Task

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.
entity* P | ManagedObjectReference[] to a ManagedEntity[] | Since vSphere API 4.0

*Need not be set P Required privilege: entity

Return Value

Type | Description
--- | ---
ManagedObjectReference to a ConverterTask |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# DestroyProfile

Required Privileges
  Profile.Delete

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# DissociateProfile

Required Privileges
  Profile.Edit

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.
entity* P | ManagedObjectReference[] to a ManagedEntity[] | Since vSphere API 4.0

*Need not be set P Required privilege: entity

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# ExportProfile

Required Privileges
  Profile.Export

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.

Return Value

Type | Description
--- | ---
xsd:string |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# RetrieveDescription

Required Privileges
  System.View
Since
  vSphere API 5.0

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the Profile used to make the method call.

Return Value

Type | Description
--- | ---
ProfileDescription |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None