Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 178304

Get all available VM Storage Policies

$
0
0

Hi,

 

I am trying to find all the available VM Storage Policies in a certain vCenter.

(our Orchestrator is connected to multiple vCenters)

 

I have a way for finding all the VM Storage Policies:

pbmProfiles = Server.findAllForType("VC:PbmProfile");

 

 

Now I want it from one vCenter only.

I suspect to do it something like this?

But I'm stuck here...

 

var storageService = vcenter.storageManagement;
var profileManager = storageService.pbmProfileManager;

profileManager.pbmQueryProfile(???)??

 

Any help is appreciated.

 

Thanks!

 

Orchestrator 7.5

vCenter 6.5 and 6.7


Viewing all articles
Browse latest Browse all 178304

Trending Articles



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