5.5.1

Table Of Contents
The relation property can also reference relation types specified in each plug-in's vso.xml file. The
following example is an excerpt from the networking plug-in vso.xml file.
[...]
<relations>
<relation name="Subnet" type="Class:Subnet"/>
<relation name="Range" type="Class:Range"/>
<relation name="NetworkDomain" type="Class:NetworkDomain"/>
<relation name="MacAddressPool" type="Class:MacAddressPool"/>
</relations>
[...]
In addition to the relation types listed in Table 5-2, Orchestrator also defines the CHILDREN relation, to
represent all relation types.
Return Value
Returns a list of FinderResult objects.
Returns an exception if no children are found or if you pass it an invalid parameter.
getAllPlugins Operation
The getAllPlugins operation returns the description of all the plug-ins installed in Orchestrator.
Many of the actions that you perform using Orchestrator depend on functions that you enable through
plug-ins. Workflows might depend on the existence of certain custom plug-ins, or on standard plug-ins that
the administrator has disabled. Consequently, you can check that the necessary plug-ins are present before
you run a workflow. Without the necessary plug-ins, some object types used by workflows might be absent.
The getAllPlugins operation lists all the available plug-ins as an array of ModuleInfo objects. The
ModuleInfo objects store the name, version, description, and name for each plug-in. A Web service
application can use these attributes to modify its behavior based on the presence or absence of certain
plugged-in modules or versions.
The getAllPlugins operation is declared as follows.
public ModuleInfo[] getAllPlugins(username, password);
The following table describes the getAllPlugins operation properties.
Type Value Description
String
username
Orchestrator user name.
String
password
Orchestrator password.
Return Value
Returns a list of plug-in descriptions as ModuleInfo objects.
getAllWorkflows Operation
The getAllWorkflows operation finds all available workflows.
The getAllWorkflows operation lists all the workflows available in an Orchestrator server as an array of
Workflow objects. The getAllWorkflows operation is also useful for programs that must list information about
workflows, such as the workflows' names, IDs, and so on. The Workflow objects present all the relevant
information about the workflows.
Developing a Web Services Client for VMware vCenter Orchestrator
86 VMware, Inc.