7.1
Table Of Contents
- Developing a Web Services Client for VMware vRealize Orchestrator
- Contents
- Developing a Web Services Client for VMware vRealize Orchestrator
- Updated Information
- Developing a Web Services Client
- Using the vRealize Orchestrator REST API
- Authenticating Against Orchestrator and Third-Party Systems
- Accessing the Reference Documentation for the Orchestrator REST API
- Using the Java REST SDK
- Operations with Workflows
- Working with Tasks
- Finding Objects in the Orchestrator Inventory
- Importing and Exporting Orchestrator Objects
- Deleting Orchestrator Objects
- Setting Permissions on Orchestrator Objects
- REST API Permissions
- Retrieve the Permissions of a Workflow
- Delete the Permissions of a Workflow
- Set the Permissions for a Workflow
- Retrieve the Permissions of an Action
- Delete the Permissions of an Action
- Set the Permissions for an Action
- Retrieve the Permissions of a Package
- Delete the Permissions of a Package
- Set the Permissions for a Package
- Retrieve the Permissions of a Resource
- Delete the Permissions of a Resource
- Set the Permissions for a Resource
- Retrieve the Permissions of a Configuration Element
- Delete the Permissions of a Configuration Element
- Set the Permissions for a Configuration Element
- Performing Operations with Plug-Ins
- Performing Server Configuration Operations
- Performing Tagging Operations
- Index
Using the vRealize Orchestrator
REST API 3
The Orchestrator REST API provides functionality that allows you to communicate with the Orchestrator
server directly through HTTP and perform various workow-related operations over workows.
The Orchestrator REST API exposes the objects from the inventories of the Orchestrator server and the
installed plug-ins as resources at predened URLs. You make HTTP calls at these URLs to trigger operations
in Orchestrator. In this way, you can perform various tasks over workows:
n
Run a workow, schedule a workow, retrieve the runs of a workow, answer to a user interaction, and
cancel a workow run.
n
Retrieve details about a workow such as its input and output parameters and its presentation.
n
Retrieve details about a workow run, such as its state, generated logs, start date, and end date.
n
Browse the inventories of Orchestrator and the installed plug-ins.
n
Import and export workows, actions, and packages.
By using the Orchestrator REST API you can easily integrate Orchestrator workows in custom applications
that you can build in any programing language.
The Orchestrator REST API also provides eTag support as well as a mechanism for caching of response data.
This chapter includes the following topics:
n
“Authenticating Against Orchestrator and Third-Party Systems,” on page 12
n
“Accessing the Reference Documentation for the Orchestrator REST API,” on page 14
n
“Using the Java REST SDK,” on page 14
n
“Operations with Workows,” on page 16
n
“Working with Tasks,” on page 29
n
“Finding Objects in the Orchestrator Inventory,” on page 32
n
“Importing and Exporting Orchestrator Objects,” on page 34
n
“Deleting Orchestrator Objects,” on page 38
n
“Seing Permissions on Orchestrator Objects,” on page 40
n
“Performing Operations with Plug-Ins,” on page 46
n
“Performing Server Conguration Operations,” on page 48
n
“Performing Tagging Operations,” on page 49
VMware, Inc.
11