Cisco Cisco Process Orchestrator 3.1 User Guide
13-161
Cisco Process Orchestrator 3.1 User Guide
Appendix 13 Using Adapters
VMware vCloud Director Adapter
•
Restart activity if interrupted—Check this check box to indicate the activity should resume after an
interruption in the execution.
interruption in the execution.
If the check box remains unchecked, then the activity remains paused if there is an interruption in
the execution.
the execution.
Step 4
Enter the information in the remaining tabs as necessary, then click Save to complete the activity
definition.
definition.
Defining an Execute vCloud Query Activity
Use the Execute vCloud Query activity to execute vCloud Director API queries against a vCloud
Director Server. The query activity provides a flexible way to retrieve information from the vCloud
Director Server and allows for more efficient access to the vCloud Director database. Additional key
benefits include:
Director Server. The query activity provides a flexible way to retrieve information from the vCloud
Director Server and allows for more efficient access to the vCloud Director database. Additional key
benefits include:
•
Paginated results
•
Filtering criteria
•
Multiple output formats
•
Typed and packaged queries
Step 1
In the Process Editor Toolbox, choose VMware vCloud Director > Execute vCloud Query, then drag
and drop the activity onto the Workflow pane.
and drop the activity onto the Workflow pane.
Step 2
Click the General tab and enter the appropriate information.
Step 3
Click the ExecuteQuery tab and enter the appropriate information, including:
•
Relative Url—The URL against which the HTTP request is made. It can be relative or absolute. If
it is relative, the “api” url for the target is prepended to the configured value. Relative URLs are more
flexible because they are not tied to a particular environment
it is relative, the “api” url for the target is prepended to the configured value. Relative URLs are more
flexible because they are not tied to a particular environment
•
Columns—The list of columns included in the results. If this field is blank, all columns are included.
Naming columns explicitly has two key benefits:
Naming columns explicitly has two key benefits:
–
Scalability—The data is restricted to only what you need
–
Convenience—The columns (their names) are identified to any following activities in the
process
process
•
Fetch all results—Indicates that all results will be fetched, even if they span multiple pages. If this
field is not selected, only the page defined by the query will be returned.
field is not selected, only the page defined by the query will be returned.
Step 4
Enter the information in the remaining tabs as necessary, then click Save to complete the activity
definition.
definition.