Managed Object - Agent

Property of
Agency, AgentIssue, ClusterAgentAgentIssue, ExtensibleIssue
Returned by
QueryAgent, RegisterAgentVm
Extends
EamObject
See also
AgentConfigInfo, AgentRuntimeInfo
Since
1.0


Managed Object Description

An Agent is the vSphere ESX Agent Manager managed object responsible for deploying an Agency on a single host. The Agent maintains the state of the current deployment in its runtime information (see Agent#runtime()).

An Agent has the same goalState and status properties as an Agency, that are used in the same way:

Properties

Name Type Description
configAgentConfigInfo

The configuration of this Agent.
runtimeAgentRuntimeInfo

Runtime information for this agent. This includes important information about the current deployment of the agent's VIB, virtual machine, and host.

Requires view privileges.

Properties inherited from EamObject
None

Methods

Methods defined in this Managed Object
AgentQueryConfig, AgentQueryRuntime, MarkAsAvailable
Methods inherited from EamObject
QueryIssue, Resolve, ResolveAll

AgentQueryConfig

Deprecated. Use #config() instead

The configuration of this Agent.
Required Privileges
None

Parameters

NameTypeDescription
_thisvmodl.ManagedObjectReference A reference to the Agent used to make the method call.

Return Value

Type Description
AgentConfigInfo

Faults

Type Description
vmodl.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

Show WSDL type definition



AgentQueryRuntime

Deprecated. Use #runtime() instead

Runtime information for the agent. This includes important information about the current deployment of the agent's VIB, virtual machine, and host.

Requires view privileges.

Required Privileges
None

Parameters

NameTypeDescription
_thisvmodl.ManagedObjectReference A reference to the Agent used to make the method call.

Return Value

Type Description
AgentRuntimeInfoThe Agent's runtime information.

Faults

Type Description
vmodl.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

Show WSDL type definition



MarkAsAvailable

Mark this agent's VM as available. Used when the agency this agent belongs to has manuallyMarkAgentVmAvailableAfterProvisioning or manuallyMarkAgentVmAvailableAfterPowerOn set to true and Agent#RuntimeInfo.vmHook is present. See Agent#RuntimeInfo.vmHook
Required Privileges
None

Parameters

NameTypeDescription
_thisvmodl.ManagedObjectReference A reference to the Agent used to make the method call.

Return Value

Type Description
None

Faults

Type Description
vmodl.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

Show WSDL type definition