7.2

Table Of Contents
"label": "EC2 841 Endpoint-us-west-1"
},
{
"underlyingValue": {
"type": "entityRef",
"componentId": null,
"classId": "ComputeResource",
"id": "4e362590-b634-4269-9da4-548260148fa3",
"label": "EC2 841 Endpoint-us-west-2"
},
"label": "EC2 841 Endpoint-us-west-2"
},
{
"underlyingValue": {
"type": "entityRef",
"componentId": null,
"classId": "ComputeResource",
"id": "9d1a3b5a-7162-4a5a-85b7-ec1b2824f554",
"label": "EC2 841 Endpoint-us-east-1"
},
"label": "EC2 841 Endpoint-us-east-1"
}
]
}
JSON output for a vCloud Reservation
{
"values": [
{
"underlyingValue": {
"type": "entityRef",
"componentId": null,
"classId": "ComputeResource",
"id": "c527a0f5-b1ae-4b61-8145-ad9d5c434dc7",
"label": "Engineering Allocation VDC"
},
"label": "Engineering Allocation VDC"
}
]
}
Syntax for Getting a Compute Resource for a Reservation
You can use the REST API reservation service to obtain a compute resource for a vRealize Automation
reservation.
Input
Use the supported input parameters to control the command output.
Parameter 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.
Chapter 3 REST API Use Cases
VMware, Inc. 189