Hi,
How do I update a "linked value" of a vcac:entity?
I am trying to update the HostStorageReservationPolicy "linked property" of a HostToStorage entity. I keep getting error: java.lang.NullPointerException
I can update the properties of the HostToStorage entity. e.g IsStorageCluster (I know this is not advisable but I tried it for testing)
This is the properties of the entity:
computeResourceToStorage.getProperties().keys : ExternalReferenceId,Flags,IsSDRSEnabled,HostToStorageID,StoragePath,IsStorageCluster
But I can't update the "linked properties" (e.g. HostStorageReservationPolicy)
computeResourceToStorage.getLinks(vcacHost).keys : Parent,Host,Children,HostStorageReservationPolicy,HostReservationToStorages,StorageCostProfile,Storage,VMDiskHardware
Script snippet:
I hope you can help me, thanks.
Brian