7.3

Table Of Contents
Working with Reservation
Policies 9
You use the reservation service to perform a variety of functions, such as creating and updating
reservation policies.
While many functions are stand-alone, some functions rely on the output of others. For example, to delete
a reservation, you must first obtain the ID of the reservation to delete.
Each example for this use case lists a curl command with respective JSON response, plus input and
output parameters. The same set of prerequisites applies to each example.
This chapter includes the following topics:
n
Prerequisites for Working with Reservation Policies
n
List Reservation Policies Example
n
Create a Reservation Policy Example
n
Display a Reservation Policy by ID Example
n
Update a Reservation Policy Example
n
Deleting a Reservation Policy Example
Prerequisites for Working with Reservation Policies
Satisfy the following conditions before performing any tasks for this use case.
n
Log in to vRealize Automation as a business group manager.
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.
List Reservation Policies Example
GET /api/reservations/policies lists existing reservation policies. Use this information to obtain a
reservation policy ID in preparation for updating or deleting the reservation policy.
VMware, Inc.
282