7.3

Table Of Contents
Syntax for Displaying a Schema Definition for a vSphere
Reservation
GET /api/data-service/schema/{classId}/default with classId for vSphere, displays the
schema definition for a vSphere reservation.
Overview
Each reservation contains several fields. Some fields are common to all reservation types and some are
type-specific. The list of type-specific fields is defined in a schema. Call a data and schema service to get
schema definition information. The data and schema service combines fetch data and fetch schema
REST API calls.
Table 81. Fields Common To All Reservation Types
Parameter Description
Parameter
Type
Id Specifies the reservation ID. GUID
name Specifies the reservation name. String
reservationTypeId Specifies the reservation type, for example Infrastructure.Reservation.Virtual.vSphere or
Infrastructure.Reservation.Virtual.Amazon.
String
tenantId Specifies the tenant ID that contains the reservation. String
subTenantId Specifies the subtenant ID that contains the reservation. GUID
enabled Specifies whether the reservation is enabled. Boolean
priority Specifies the priority of the reservation during VM provisioning. Integer
reservationPolicyId Specifies the reservation policy ID to bind to this reservation. GUID
alertPolicy Specifies the alert policy of the reservation. The detail schema of this field refers to the
alert policy.
JSON
extensionData Contains type-specific fields. The detail schema of this field is retrieved by the data and
schema service.
JSON
The following table describes the vSphere reservation types field IDs that appear in the output schema
definitions.
Table 82. 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
Programming Guide
VMware, Inc. 199