| Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |
Profile
managed object is the base class for host and cluster
profiles.
Properties
Name | Type | Description |
---|---|---|
complianceStatus | xsd:string |
Overall compliance of entities associated with this profile.
If one of the entities is out of compliance, the profile is nonCompliant .
If all entities are in compliance, the profile is compliant .
If the compliance status of one of the entities is not known, compliance status
of the profile is unknown .
See ComplianceResultStatus.
|
config P | ProfileConfigInfo |
Configuration data for the profile.
|
createdTime | xsd:dateTime |
Time at which the profile was created.
|
description* | ProfileDescription | Deprecated.
As of vSphere API 5.0. use RetrieveDescription instead.
Localizable description of the profile
|
entity* | ManagedObjectReference[]
to a ManagedEntity[] |
List of managed entities associated with the profile.
|
modifiedTime | xsd:dateTime |
Time at which the profile was last modified.
|
name | xsd:string |
Name of the profile.
|
Methods
Methods defined in this Managed Object |
---|
AssociateProfile, CheckProfileCompliance_Task, DestroyProfile, DissociateProfile, ExportProfile, RetrieveDescription |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Profile used to make the method call. |
entity | ManagedObjectReference[]
to a ManagedEntity[] |
The entity(s) to associate with the profile.
If an entity is already associated with the profile, the association is
maintained and the vCenter Server does not perform any action.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidArgument | Thrown if the association conflicts with existing association. |
InvalidType | Thrown if the entity is of an unexpeted type. |
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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Profile used to make the method call. |
entity* | ManagedObjectReference[]
to a ManagedEntity[] |
If specified, the compliance check is performed on this entity.
If the entity is not specified, the vCenter Server runs a compliance check on all the
entities associated with the profile. The entity does not have to be associated with the
profile.
|
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a Task | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
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 |
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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Profile used to make the method call. |
entity* | ManagedObjectReference[]
to a ManagedEntity[] |
List of entities. The vCenter Server will remove the associations
that the profile has with the entities in the list. If unset,
the Server removes all the associations that the profile has with any
managed entities in the inventory.
If the specified entity is not associated with the profile,
the Server does not perform any action.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidArgument | Thrown if the dissociation conflicts with existing association. |
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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Profile used to make the method call. |
Return Value
Type | Description |
---|---|
xsd:string | Serialized form of the 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 |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the Profile used to make the method call. |
Return Value
Type | Description |
---|---|
ProfileDescription | Profile divided into sections containing element descriptions and messages. |
Faults
Type | Description |
---|---|
InvalidProfileReferenceHost | Thrown if the reference host associated with the profile is incompatible or there is no reference host for the profile. |
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 |
Top of page | Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |