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

Get custom properties by version

$
0
0

Hello,

 

I have actually the issue that I'm not able to get older custom property definitions. I need this older definitions to have the exact same definitions as we had it at the time when we requested the deployment for already existing resource (deployment/machine/..). Like for updating existing resources.

 

To get the property definitions I use:

GET: .../properties-service/api/propertydefinitions

-> vRealize Automation API Reference - Properties Service API (7.2)

But for sure that gives you just the newest definitions.

 

I checked out the vcac portal as well:

GET: ...api.vproxy/propertydefinitions?_dc=1488189673265&page=1&start=0&limit=2147483647

As you see they are passing a _dc=1488189673265 which seems to be a timestamp. But this parameter seems not to work with vra property service api.

Like

GET: .../properties-service/api/propertydefinitions?_dc=1488189673265&start=0&limit=2147483647

gives you exaclty the same result as

GET: .../properties-service/api/propertydefinitions?start=0&limit=2147483647

 

The vcac portal is able to do it and the PropertyDefinition model (vRealize Automation API Reference - Properties Service API) has a version attribute as well so i guess that we should be able to do it over the vra api as well. The question is just how.

 

Is there a way how we can get property definitions for given time in the past over the vra api?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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