7.2

Table Of Contents
{
"type": "mandatory",
"value": {
"type": "constantClause",
"value": {
"type": "boolean",
"value": true
}
}
}
]
},
"isMultiValued": false
}
]
Syntax for Displaying a Schema Definition for an Amazon 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 an Amazon reservation.
Overview
Each reservation contains several elds. Some 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. 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 310. 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
Chapter 3 REST API Use Cases
VMware, Inc. 147