Hi all,
I have some catalogs in organization. ( Windows, Linux etc...). I want to get the Vdc storage profile information where catalog located.
var reference = catalog.toAdminObject().catalogStorageProfiles.vdcStorageProfile; var storageProfiles = vdcHost.getEntityByReference(VclFinderType.VDC_STORAGE_PROFILE, reference); System.log(storageProfiles.name);
System.log(reference); returns " DynamicWrapper (Instance) : [VclObjectList]-[class com.vmware.vmo.plugin.vcloud.model.VCloudExtensibleListDecorator] -- VALUE : com.vmware.vmo.plugin.vcloud.model.VCloudExtensibleListDecorator@35ac2905"
vdcStorageProfile is reffering VclObjectList when click.
But, I need to reference of vdc storage profile like this ;DynamicWrapper (Instance) : [VclVdcStorageProfile]-[class com.vmware.vmo.plugin.vcloud.model.VdcStorageProfile] -- VALUE : com.vmware.vmo.plugin.vcloud.model.VdcStorageProfile@c0e8b9d8
What is wrong ?