Managed Object - HostProfile

Extends
Profile
See also
HostProfileConfigSpec, HostProfileValidationFailureInfo, HostSystem, ProfileDeferredPolicyOptionParameter, ProfileExecuteResult
Since
vSphere API 4.0


Managed Object Description

Properties

Name Type Description
referenceHost*ManagedObjectReference
to a HostSystem


validationFailureInfo*HostProfileValidationFailureInfo

Since vSphere API 6.7
validationState*xsd:string

Since vSphere API 6.7
validationStateUpdateTime*xsd:dateTime

Since vSphere API 6.7
Properties inherited from Profile
complianceStatus, config, createdTime, description, entity, modifiedTime, name
*May not be present

Methods

Methods defined in this Managed Object
ExecuteHostProfile, HostProfileResetValidationState, UpdateHostProfile, UpdateReferenceHost
Methods inherited from Profile
AssociateProfile, CheckProfileCompliance_Task, DestroyProfile, DissociateProfile, ExportProfile, RetrieveDescription

ExecuteHostProfile

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostProfile used to make the method call.
host PManagedObjectReference
to a HostSystem

Since vSphere API 4.0
deferredParam* PProfileDeferredPolicyOptionParameter[]

Since vSphere API 4.0
*Need not be set PRequired privilege - see tooltip for details

Return Value

Type Description
ProfileExecuteResult

Faults

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

Events

Type
None



HostProfileResetValidationState

Required Privileges
Profile.Edit
Since
vSphere API 6.7

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostProfile used to make the method call.

Return Value

Type Description
None

Faults

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

Events

Type
None



UpdateHostProfile

Required Privileges
Profile.Edit

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostProfile used to make the method call.
config PHostProfileConfigSpec

Since vSphere API 4.0
P Required privilege: config

Return Value

Type Description
None

Faults

Type Description
DuplicateName
ProfileUpdateFailed
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



UpdateReferenceHost

Required Privileges
Profile.Edit

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the HostProfile used to make the method call.
host* PManagedObjectReference
to a HostSystem

Since vSphere API 4.0
*Need not be set P Required privilege: host

Return Value

Type Description
None

Faults

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

Events

Type
None