7.2

Table Of Contents
}
]
},
"isMultiValued": true
}
]
}
Syntax for Displaying a Schema Definition for a vCloud Air Reservation
You can use the REST API reservation service to display a schema denition for a specic
vRealize Automation reservation type, for example a vCloud Air reservation.
Overview
SomevRealize Automation reservation elds are common to all reservation types and some are type-specic.
The list of type-specic elds is dened in a schema. You can call a data and schema service to get schema
denition information. The data and schema service combines fetch data and fetch schema REST API calls.
Table 312. Fields Common To All Reservation Types
Parameter Description Parameter Type
Id Species the reservation ID. GUID
name Species the reservation name. String
reservationTypeId Species the reservation type, for
example
Infrastructure.Reservation.Virtual.vS
phere or
Infrastructure.Reservation.Virtual.A
mazon.
String
tenantId Species the tenant ID that contains
the reservation.
String
subTenantId Species the subtenant ID that
contains the reservation.
GUID
enabled Species whether the reservation is
enabled.
Boolean
priority Species the priority of the
reservation during VM provisioning.
Integer
reservationPolicyId Species the reservation policy ID to
bind to this reservation.
GUID
alertPolicy Species the alert policy of the
reservation. The detail schema of this
eld refers to the alert policy.
JSON
extensionData Contains type-specic elds. The
detail schema of this eld is retrieved
by the data and schema service.
JSON
The following table describes the vCloud Air reservation types eld IDs that appear in the output schema
denitions.
Table 313. Extension Fields Supported in vCloud Reservations
Field ID Data Type Type Class
Permissible
Value Depends on Field
reservationNetworks Complex Type Infrastructure.Reservation
.Network
Yes computeResource
allocationModel Integer NA No NA
Chapter 3 REST API Use Cases
VMware, Inc. 171