vSphere ESX Agent Manager API
| Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |
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
AnAgent
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:
goalState
. The goal state describes the overall goal of thisAgent
. It can beenabled
oruninstalled
:enabled
. TheAgent
deploys its VIB, its agent virtual machine, and powers on the agent virtual machine. TheAgent
monitors in vCenter the status of the installation of the VIB (in case it is uninstalled outside of vSphere ESX Agent Manager) and of the agent virtual machine (in case an operation is performed on it outside of vSphere ESX Agent Manager).uninstalled
. TheAgent
uninstalls any installed VIB and power off and delete the deployed agent virtual machine.
status
. The status of theAgent
regarding the given goal state. Status can be either red, yellow or green:red
. An issue is preventing theAgent
from reaching its desired goal state. See RuntimeInfo#issue in Agent#runtime() for the types of issues that can block thisAgent
.yellow
. TheAgent
is actively working to reach the desired goal state. For theenabled
goal state, this means that thisAgent
is installing its VIB, deploying the agent virtual machine, and powering it on.green
. TheAgent
has reached the desired goal state. TheAgent
is no longer actively scheduling new tasks but is monitoring vCenter for changes that might conflict with thisAgent
's goal state.
Properties
Name | Type | Description |
---|---|---|
config | AgentConfigInfo |
The configuration of this Agent .
|
runtime | AgentRuntimeInfo |
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 thisAgent
.
- Required Privileges
- None
Parameters
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the Agent used to make the method call. |
Return Value
Type | Description |
---|---|
AgentConfigInfo |
Faults
Type | Description |
---|---|
vmodl.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 |
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
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the Agent used to make the method call. |
Return Value
Type | Description |
---|---|
AgentRuntimeInfo | The Agent 's runtime information. |
Faults
Type | Description |
---|---|
vmodl.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 |
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 totrue
and Agent#RuntimeInfo.vmHook is present.
See Agent#RuntimeInfo.vmHook
- Required Privileges
- None
Parameters
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the Agent used to make the method call. |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
vmodl.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 |
Show WSDL type definition
Top of page | Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |