Book Image

VMware vRealize Orchestrator Cookbook - Second Edition

By : Daniel Langenhan
Book Image

VMware vRealize Orchestrator Cookbook - Second Edition

By: Daniel Langenhan

Overview of this book

VMware vRealize Orchestrator is a powerful automation tool designed for system administrators and IT operations staff who are planning to streamline their tasks and are waiting to integrate the functions with third-party operations software. This book is an update to VMware vRealize Orchestrator Cookbook and is blend of numerous recipes on vRealize Orchestrator 7. This book starts with installing and configuring vRealize Orchestrator. We will demonstrate how to upgrade from previous versions to vRealize Orchestrator 7. You will be taught all about orchestrator plugins and how to use and develop various plugins that have been enhanced in Orchestrator 7. Throughout this book, you will explore the new features of Orchestrator 7, such as the introduction of the control center, along with its uses. You will also come to understand visual programming, how to integrate base plugins into workflows, and how to automate VMware. You will also get to know how to troubleshoot vRealize Orchestrator. By the end of this book, you will be able to get the most out of your Orchestrator installation, and will be able to develop complex workflows and create your own highly integrated automations of vRealize environments.
Table of Contents (19 chapters)
VMware vRealize Orchestrator Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Working with the API


To be efficient in programming using Orchestrator plugins, one needs to know how to work with the Orchestrator API. In this recipe, we showcase how to access and get information from the Orchestrator API.

Getting ready

We only need the Orchestrator Client with rights to edit a workflow.

How to do it...

We will split this recipe into several sections.

Searching for items in the API

The first step is to have a look at the API. To access the API, follow these steps:

  1. Open the Orchestrator Client.

  2. Navigate to Tools | API Explorer:

The API Explorer opens, and you have four sections, as marked in the preceding screenshot:

  • A (search): Here, you can enter a search word, such as virtualmachine, as well as select what kinds of results you are after

  • B (search results): This section shows you the result of the search: the name, the type (refer to the How it works... section of this recipe), and a short description

  • C (API tree): Double-clicking on a search result in section B will browse...