7.3

Table Of Contents
Parameter Description
dependencyValues JSON string that defines the dependency values
entries key -- Specifies the field ID of dependent field. For this example, enter
computeResource.
value -- Specifies the value of the dependent field. For this example, copy and paste
the vCloud HTTP response obtained by using the Get Compute Resource task. See
Syntax for Getting Resources Schema for a vCloud Air Reservation.
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 reservation storage objects returned
in a pageable list. Each reservation storage object contains an underlyingValue and label
entry.
underlyingValue JSON string representing one permissible value for a field:
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 reservation storage ID
n
label --reservation storage label
label Specifies the reservation storage label. This value matches the underlyingValue value.
Example: curl Command
The following example command returns vCloud Air reservation storage information.
curl -X POST --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$vRA/reservation-service/api/data-
service/schema/Infrastructure.Reservation.Cloud.vCloudAir/default/reservationStorages/values -d “
Example: JSON Output
The following JSON output is returned based on the command input.
Copy the output from an underlyingValue section into an XML editor and use it as input to create or
update a reservation.
{
"values": [
{
"underlyingValue": {
"type": "complex",
"componentTypeId": "com.mycompany.csp.iaas.blueprint.service",
"componentId": null,
"classId": "Infrastructure.Reservation.Storage",
Programming Guide
VMware, Inc. 247