Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

vCloud Director Storage Profiles

$
0
0

Hi all

 

I'm trying to put together a script to setup new Organisation and Virtual Datacentres in our vCloud 5.1 environment.  The problem I've come up against is that I can't specific what storage profiles are assigned tot he new vDC as it's created, it just uses to "* (Any)" storage profile.  What I need to do is then addthe Storage Profiles I require to the vDC then remove the "* (Any)" profile.

 

I'm sure there's a way to do this using the vCloud API and I understand you can work with this from PowerCLI.  I've never worked with a REST API before so I'm not really sure what to do with it.  I've managed to query out some information about existing storage profiles using search-cloud to find objects and I'm pretty sure I can use this to disable the "* (Any)" profile from an Org vDC but I can't figure out how to go about adding a new profile (or rather, adding one of the Storage Profiles from my Provider vDC) to an Org vDC.

 

Any help/pointers much appreciated!

 

Dave


Viewing all articles
Browse latest Browse all 13334

Latest Images

Trending Articles



Latest Images

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