Do we have any APIs/ PowerCLI cmdlets exposed to import storage policy created in vCenter into provider VDC?
I need to import "TestStoragePolicy" created in vCenter to provider vdc as shown in the screenshot using API/CLI.
Any assistance that I can get would be much appreciated.
Thank you
The community module vCloud Director Provider and OrgV DC Storage Profile PowerCLI Module might help.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD Thank you for your response.
I was able to Get-ProviderVdcStorageProfile -->get list of storage policies and Set-ProviderVdcStorageProfile --> change existing policies as shown in the screenshot.
But I need to add new policy SpbmStoragePolicy (TestStoragePolicy) created in vCenter to provider vdc. Is it possible to achieve this use-case as shown in 2nd screenshot?
Not that I know of I'm afraid.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference