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

getAllDatastores();

$
0
0

Hello,

 

Is there a way to only select and use those datastores in a specific folder? I am creating a workflow that creates several VMs in a specific folder but different datastores. I use var datastores = VcPlugin.getAllDatastores(); and select it to create my VMs, The problem is I am trying to select a specific Folder of data stores and that plugin gets me all datastores everywhere.

Example:

 

DataStoreA

DataStoreB

DatastoreFolder

     ->DataStore1

     ->DataStore2

     ->DataStore3


I only need DatastoreFolder and its contents. Any idea what can I do?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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