# Managed Object - ProfileManager

Extended by
  ClusterProfileManager, HostProfileManager
See also
  ManagedEntity, Profile, ProfileCreateSpec, ProfilePolicyMetadata
Since
  vSphere API 4.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
profile* P | ManagedObjectReference[] to a Profile[] |

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

Methods

Methods defined in this Managed Object
CreateProfile, FindAssociatedProfile, QueryPolicyMetadata

# CreateProfile

Required Privileges
  Profile.Create

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ProfileManager used to make the method call.
createSpec P | ProfileCreateSpec | Since vSphere API 4.0

P Required privilege: createSpec

Return Value

Type | Description
--- | ---
ManagedObjectReference to a Profile |

Faults

Type | Description
--- | ---
DuplicateName |
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

# FindAssociatedProfile

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ProfileManager 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
--- | ---
ManagedObjectReference[] to a Profile[] |

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

# QueryPolicyMetadata

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the ProfileManager used to make the method call.
policyName* P | xsd:string[] | Since vSphere API 4.0
profile* P | ManagedObjectReference to a Profile | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
ProfilePolicyMetadata[] |

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