Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Accessing Custom Properties of a VM via REST API

$
0
0

Accessing the vRA REST API, I have been able to authenticate, get a token, and make various REST calls for various entities. For example, I can get a list of the VMs in vRA by calling to: https://[vraserver]/catalog-service/api/consumer/resources

 

From that, I can specify a specific VM by adding /[id] to the end.

 

However, what I cannot seem to do is figure out how to access the various Custom Properties that we have set on each VM. It doesn't appear to be a piece of information returned with the machine data.

 

I've been poking around the REST Resources documentation, but short of trial and error, I'm not seeing how to find/access a VM's (or any other entity's) Custom Properties and their values.

 

Any help or guidance would be appreciated.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>