7.2

Table Of Contents
Syntax for Displaying All Available Resource Types
You can use the REST API catalog service to display all the resource types that are available on the system.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/catalog-service/api/consumer/resourceTypes
$host Species the host name and fully qualied domain name or IP address of the
vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
Output
The command output contains property names and values based on the command input parameters.
Property Description
id Species the unique identier of this resource.
iconId Species an icon for this request based on the requested object type.
resourceTypeRef Species the resource type.
name Species the resource name.
description Species the resource description.
status Species the resource status.
catalogItem Species the catalog item that denes the service this resource is based on.
requestId Species the request ID that provisioned this resource.
providerBinding Species the provider binding.
owners Species the owners of this resource.
organization Species the subtenant or tenant that owns this resource.
dateCreated Species the data and time at which the resource was created.
lastUpdated Species the date and time at which the resource was most recently modied.
hasLease Returns true if the resource is subject to a lease.
lease Displays the resource's current lease as start and end time stamps.
leaseForDisplay Species the resource's current lease, #getLease, with time units synchronized with
#getCosts.
hasCosts Returns true if the resource is subject to per-time costs.
costs Displays an optional rate of the cost charges for the resource.
costToDate Displays an optional rate of the current cost charges for the resource.
totalCost Displays an optional rate of the cost charges for the entire lease period.
parentResourceRef Displays the parent of this resource.
childResources Displays the children of this resource.
operations Species the sequence of available operations that can be performed on this resource.
Chapter 3 REST API Use Cases
VMware, Inc. 75