You can use the REST API reservation service to create a reservation policy.

About this task

For information about available command input and output parameters, see Syntax for Creating a Reservation Policy.


  • Log in to vRealize Automation as a fabric group administrator.

  • Verify that the host name and fully qualified domain name of the vRealize Automation instance are available.

  • Verify that you have a valid HTTP bearer token that matches your login credentials. See REST API Authentication.

  • List existing reservation policies to create the sample output required for creating a new reservation policy. See List Reservation Policies.


Use the reservation service to create a reservation policy as shown in the following sample command.
curl --insecure -H "Accept:application/json" 
-H "Authorization: Bearer $token" 
https://$host/reservation-service/api/reservations/policies -d “
  "name": "ABXReservationPolicyTest",
  "description": "ABXReservationPolicyDescTest",
  "reservationPolicyTypeId": "Infrastructure.Reservation.Policy.ComputeResource"

The command output contains the new reservation policy ID, for example 5fd2de36-659f-4beb-97af-77d683feb697.