6.2

Table Of Contents
Syntax for Getting Resources Schema for a vSphere Reservation
You can use the REST API reservation service to display information about available resources for a
vSphere reservation, such as storage and network information.
Overview
This example illustrates how to get a permissible value list for the resourcePool field. You can use the
generated output as input for creating or updating a vSphere reservation.
Table 312. Extension Fields Supported in vSphere Reservations
Field ID Data Type Type Class
Permissible
Value Depends on Field
reservationNetworks Complex Type reservationNetwork Yes computeResource
reservationVCNSTransportZ
one
Entity Reference NetworkScopes Yes computeResource
reservationVCNSSecurityGr
oups
Entity Reference SecurityGroups Yes computeResource
reservationMemory Complex Type reservationMemory Yes computeResource
computeResource Entity Reference ComputeResource Yes NA
machineQuota Integer N/A No NA
reservationStorages Complex Type reservationStorage Yes computeResource
resourcePool Entity Reference ResourcePools Yes computeResource
reservationVCNSRoutedGat
eways
Complex Type reservationVCNSRoutedGat
eway
Yes computeResource
Note The information in the table is subject to change. Call the data and schema service to retrieve the
latest field information.
For related information, see Syntax for Displaying a Schema Definition for a vSphere Reservation.
Input
Use the supported input parameters to control the command output.
Input Description
URL https://$host/reservation-service/api/data-
service/schema/$schemaclassid/default/$fieldid/values
Method Post
$host Specifies the host name and fully qualified domain name or IP address of the
vRealize Automation identity server.
$token Specifies a valid HTTP bearer token with necessary credentials.
Programming Guide
VMware, Inc. 229