7.2

Table Of Contents
Table 314. Extension Fields Supported in vSphere Reservations (Continued)
Field ID Data Type Type Class
Permissible
Value Depends on Field
resourcePool Entity Reference ResourcePools Yes computeResource
reservationVCNSRouted
Gateways
Complex Type reservationVCNSRoutedG
ateway
Yes computeResource
Note The information in the table is subject to change. Call the data and schema service to retrieve the
latest eld information.
For related information, see “Syntax for Displaying a Schema Denition for a vSphere Reservation,” on
page 127.
Input
Use the supported input parameters to control the command output.
Input Description
URL hps://$host/reservation-service/api/data-
service/schema/$schemaclassid/default/$eldid/values
Method Post
$host Species the host name and fully qualied domain name or IP address of the
vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
$schemaclassid Species the schema class ID.
This example illustrates how to use the resourcePool eld of a vSphere reservation
type as an example. The schema class ID of a vSphere reservation is
Infrastructure.Reservation.Virtual.vSphere. For this example, the input
value for $schemaclassid is Infrastructure.Reservation.Virtual.vSphere.
$eldId Species the eld ID of the resource.
For example, the eld ID for the resource pool is resourcePool. For this example, the
input value for $eldId is resourcePool.
HTTP body Contains information about dependencies.
Because the dependency of this permissible value eld is computeResource, you
must provide a dependency denition in the HTTP body.
Output
The command output contains property names and values based on the command input parameters.
Property Description
values An array of data rows, each of which represents one of the resource pool objects
returned in a pageable list. Each resource pool object contains an underlyingValue and
label entry.
underlyingValue JSON string representing one permissible value for a eld:
n
type -- data type of entityRef, complexRef, or primary
n
component ID -- componentID
n
classId -- schema class ID of current data type
n
id -- unique resource pool ID
n
label -- resource pool label
label
Species the resource pool label. This value matches the underlyingValue value.
Chapter 3 REST API Use Cases
VMware, Inc. 195