Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

What is best way to query the catalog of vApp Templates and show CPU configs

$
0
0

Hi,

 

What is the best way to list all the items in the public catalog and for each vAppTemplate get the vm vCPU, RAM and disk?

 

I have tried attacking it from 2 angles but feel like I am doing it the hard way.

 

I have tried from this angle:

 

$catRefs = $sdkOrg->getCatalogRefs();

 

and from this:

 

$refs = $sdkVdc->getVAppTemplateRefs();

 

then loop through the items.

 

I also cant find the best way to get the actual vCPU numbers from the VMs in each Templates....

 

Ideas and code exmaples are appreciated.

 

Thanks - brain hurts

 

d


Viewing all articles
Browse latest Browse all 207710

Trending Articles