Reputation: 191
I'm trying to get the entire folder name list of a VMWARE datastore (like folder1/folder2/datastore1, for example)
Found some code for a VM :
$vmtmp = Vim::find_entity_view(view_type => "VirtualMachine", filter => { name => $vm->name });
$path = Util::get_inventory_path($vmtmp ,Vim::get_vim());
but the find_entity_view function does not manage datastore data type.
Any clue to get this list (I'm newbie to perl sdk for vmware and a bit confused with the documentation) ?
Upvotes: 0
Views: 297