Do you have an idea to get all "VM Customization Specifications" (see below) object with vRO from a given vCenter ?
We want to list all object "VM Customization Specifications" available, and after apply one of it on a vm from vRO 8.6.
Thx for your help.
You might be able to get them via here using the VC plugin?
Getting a reference to the CustomizationSpecManager involves the VcServiceContent object which I can remember asking about before but can't find the answer I was given
Search customSpec from name.
- sdkConnection / vc:sdkConnection
- customizationSpecName = name of your customSpec
customizationSpecManager = sdkConnection.customizationSpecManager; System.warn ("customizationSpecManager found : " + customizationSpecManager); customizationSpec = customizationSpecManager.getCustomizationSpec(customizationSpecName); customSpecInfo = customizationSpec.info; customSpecName = customSpecInfo.name; System.warn ("customSpecName found to use : " + customSpecName);