7.3

Table Of Contents
"label": "High Performance Storage"
}
},
{
"key": "computeResourceStorageFreeSizeGB",
"value": {
"type": "integer",
"value": 691
}
}
]
}
},
"label": "High Performance Storage"
}
]
}
Syntax for Creating a vSphere Reservation
POST /api/reservations with a reservationTypeID for vSphere, creates a vSphere reservation.
Input
Use the supported input parameters to control the command output.
Input Description
URL https://$vRA/reservation-service/api/reservations
Method Post
$vRA Specifies the appliance name and fully qualified domain name, or IP
address of the vRealize Automation server.
$token Specifies a valid HTTP bearer token with necessary credentials.
HTTP body The HTTP body describes the reservation to create and calls the REST
API used to create the reservation.
Compose the HTTP body using one of the following methods:
n
Copy the HTTP body from the JSON output from this example and
edit the applicable field values to compose the HTTP body input for
the command line.
n
Use the API commands in Syntax for Verifying a Reservation and
Getting Reservation Details, remove the appropriate ID field from the
HTTP response, and edit the field values to compose the HTTP body
input for the command line.
Output
The output URL contains the new reservation ID.
Programming Guide
VMware, Inc. 249