Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Searching for datastore based on name

$
0
0

Hi

 

As part of the provision workflow I need to validate if the given datastore name is already in use (i.e. datastore with the same name already exist).

 

I can see that VcPlugin has an api, getAllDatastores() that takes filter object. Not sure how to use this filter object.

 

 

Can you please help me with the syntax for finding a datastore based on the name using filter object? In case there is other way to figure this out, instead of re-iterating through the list of all datastores in the system please let me know.

 

 

Thanks and Regards,

Salil


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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