vRealize Operations Tenant App provides a REST API for programatic access to pricing policies, bills and raw metrics in the vRealize Operations API. The API is documented on the Tenant App itself in https:///tenant-app-api/swagger-ui.html
The easiest way to get started is using the Postman Client to try out the APIs. Postman allows you to export code samples in many scripting and programming languages, so the purpose of this repository is to provide examples in a generic format using Postman.
Update July 8, 2020: Added Tenant Activation API calls
For example:
user : admin pass : VMware1! tenantapp : 192.168.1.50
Be aware that the user usually is the provider admin user also used for during setup (configured in vRealize Operations)
Additional environment vars will be created by some of the API samples. There is usually no need to edit those.
Start with the "RUN FIRST - Get vROPS Auth Token" call, to authenticate. The token will be stored in a postman variable and used for subsequent API calls. Some examples use the "/suite-api" endpoint that allows to retrieve raw data from vRealize Operations. Refer to the vRealize Operations API Documentation for details, and check out the Postman collection for vRealize Operations
To publish Tenant App into the VCD tenant portal for an Org, run the "Activate Tenant - Step ..." calls: