| Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |
EsxAgentManager
is the main entry point for a solution to create
agencies in the vSphere ESX Agent Manager server.
In vCenter 5.0, a solution is always a vCenter extension.
Although regular users and solutions can log in to the vSphere ESX Agent Manager server, only
solutions can create agencies.
The vSphere ESX Agent Manager VMODL API distinguishes between two types of users: solutions
and regular vCenter users. These users have different privileges in the vSphere ESX Agent Manager
VMODL API:
Eam.View
and Eam.Modify
:
Eam.View
. If a method has the Eam.View
privilege, a user can call that method
if they have the EAM.View
privilege in vCenter.
Eam.Modify
. Similarly to Eam.View
, if a method has the Eam.Modify
privilege, a user
can call that method if they have the EAM.Modify
privilege in vCenter.
If a user has the EAM.Modify
privilege, they automatically have EAM.View
.
Properties
Name | Type | Description |
---|---|---|
agency* | vmodl.ManagedObjectReference
to a Agency[] |
An array of all Agency objects. If called by a vCenter user with the vCenter
EAM.View or EAM.Modify privilege, this returns all agencies registered in vSphere ESX Agent
Manager. If
called by a solution, this property only returns the agencies created by
the solution (and only those which have not been destroyed).
Requires view privileges.
|
issue* | Issue[] |
Current issues that have been detected for this entity. Each issue can be remediated
by invoking EamObject#resolve(int[]) or EamObject#resolveAll().
Requires view privileges.
|
Properties inherited from EamObject | ||
None |
Methods
Methods defined in this Managed Object |
---|
CreateAgency, QueryAgency, ScanForUnknownAgentVm |
Methods inherited from EamObject |
QueryIssue, Resolve, ResolveAll |
InvalidArgument
if the agencyName
is not set in the agencyConfigInfo
.
Parameters
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the EsxAgentManager used to make the method call. |
agencyConfigInfo | AgencyConfigInfo |
The configuration that describes how to deploy the agents in the
created agency.
|
initialGoalState | xsd:string |
The initial goal state of the agency. See
EamObjectRuntimeInfoGoalState.
|
Return Value
Type | Description |
---|---|
vmodl.ManagedObjectReference
to a Agency | The created agency. |
Faults
Type | Description |
---|---|
InvalidAgencyScope | Thrown if one or more compute resources in the scope cannot be found in vCenter. |
InvalidAgentConfiguration | Thrown if the agent configuration is empty or if one or more agent configurations are invalid. |
InvalidUrl | Thrown if either the agent virtual machine URL or VIB URL cannot be parsed or if the resource refered to cannot be downloaded. |
Events
Type | |
---|---|
None |
EAM.View
or EAM.Modify
privilege, this returns all agencies registered in vSphere ESX Agent
Manager. If
called by a solution, this property only returns the agencies created by
the solution (and only those which have not been destroyed).
Requires view privileges.
Parameters
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the EsxAgentManager used to make the method call. |
Return Value
Type | Description |
---|---|
vmodl.ManagedObjectReference
to a Agency[] | The possibly empty set of agencies registered in the vSphere ESX Agent Manager server. |
Faults
Type | Description |
---|---|
None |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | vmodl.ManagedObjectReference | A reference to the EsxAgentManager used to make the method call. |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
None |
Events
Type | |
---|---|
None |
Top of page | Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |