VMware Cloud Community
admin
Immortal
Immortal

Assign Storage Profile information through VCO

I have a VM provisioning script that I'm creating and during that process the user is choosing disks to create and depend on those choices I put them in different Storage Clusters. Thanks to the users on this forum I have been able to use the SDRS recommendations to properly place the VM and disks I create into the proper Storage Clusters. Is there a way to assign storage profiles to the original VM and its disk as well as any disks I add?

Tags (1)
0 Kudos
2 Replies
tschoergez
Leadership
Leadership

If you can do this task via vSphere Client, Onxy (http://labs.vmware.com/flings/onyx ) is the quickest way to figure out (google for vco onyx, there are some nice blogs and videos out there...).

However, I think for all the StorageProfile related stuff there is no public API available in the current version. So there is no way to automate it, neither via PowerCLI nor via vCO)...

Cheers,

Joerg

admin
Immortal
Immortal

I had tried looking at through Onyx and you are correct the "FindAssociatedProfileForDisk" is used and that is not public at this time.

0 Kudos