O'Reilly logo

VMware vCloud Director Cookbook by Daniel Langenhan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Working with the vCloud API

In this chapter, we will cover topics that will introduce us to accessing the vCloud API using the most common languages. We will look at the following recipes:

  • Using PowerShell with vCloud Director
  • Accessing REST with Firefox
  • Accessing vCD via PHP
  • Using vCenter Orchestrator to automate vCloud
  • A scripted cell shutdown
  • Adding ISO files to vCD automatically

Introduction

The API interface of vCloud is an HTTPS-based REST interface. This is a major improvement over the vSphere API, which is SOAP-based. Most of the newer developments of VMware now come with a REST-based interface, adopting and standardizing on modern standards. The main difference between SOAP and REST is that REST can be accessed very easily and without ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required