7.3

Table Of Contents
"totalElements": 8,
"totalPages": 1,
"number": 1,
"offset": 0
}
}
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.
Display a Schema Definition for a vSphere Reservation
You can use the reservation service to display a schema definition for a specific vRealize Automation
reservation type such as a vSphere reservation.
Prerequisites
In addition to the Prerequisites for Working With Reservations, obtain the schema class ID of the
reservation type to create. See Display a List of Supported Reservation Types.
Procedure
u
Display a schema definition for a specific vRealize Automation vSphere reservation type.
curl --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$vRA/reservation-service/api/data-
service/schema/Infrastructure.Reservation.Virtual.vSphere/default
Example: Display the Schema Definition for a vSphere Reservation
The following sample displays output based on the request to display the schema definition. This example
includes nine extension fields that are supported for the vSphere type reservation.
{
"fields": [{
"id": "reservationNetworks",
"label": "Network",
"dataType": {
"type": "complex",
"componentTypeId": "com.mycompany.csp.iaas.blueprint.service",
"componentId": null,
"classId": "reservationNetwork",
"typeFilter": null,
"label": "Network"
},
"displayAdvice": "DATA_TABLE",
"permissibleValues": {
"type": "dynamic",
"customAllowed": false,
Programming Guide
VMware, Inc. 127