7.3

Table Of Contents
n
Service Examples for Working with Reservations
Prerequisites for Working With Reservations
Satisfy the following conditions before performing any tasks for this use case.
n
Log in to vRealize Automation as a fabric group administrator.
n
Verify that the appliance name and fully qualified domain name of the vRealize Automation instance
are available.
n
Verify that you have a valid HTTP bearer token that matches your login credentials. See Chapter 2
REST API Authentication.
Create a Reservation
You use the reservation service REST API to create a vSphere, Amazon, or vCloud Air reservation.
Some of the steps required to create a reservation include commands that vary by reservation type.
When performing the step, select the command for your vSphere, Amazon, or vCloud Air reservation.
Procedure
1 Display a List of Supported Reservation Types
Use the reservation service to display a list of supported reservation types, such as vSphere,
Amazon EC2, or vCloud Air.
2 Displaying a Schema Definition for a Reservation
After you know the supported reservations types, you can display a schema definition for the
vSphere, Amazon EC2, or vCloud Air reservation.
3 Get the Business Group ID for a Reservation
You can use reservation service to get the business group ID for a vRealize Automation reservation.
The business group is also referred to as the subtenant in the API.
4 Get a Compute Resource for the Reservation
You can use the REST API reservation service to obtain compute resources for vRealize Automation
reservations.
5 Getting a Resources Schema by Reservation Type
You can use the vRealize Automation REST API to get a resources schema for any supported
reservation type, including a vSphere, Amazon EC2, or vCloud reservation.
6 Creating a Reservation By Type
You can use the vRealize Automation REST API to create any supported reservation type, including
a vSphere, Amazon EC2, or vCloud reservation.
7 Verify a Reservation and Get Reservation Details
After you create a reservation, you can use the reservation service along with reservation ID to verify
that the reservation exists. You can also use the ID to get information about the reservation in
preparation for updating or deleting it.
Programming Guide
VMware, Inc. 123