public ResourcePool getChildRPforHub ( String vrpId , ManagedEntity hub ) throws InvalidState , NotFound , RuntimeFault , RemoteException { ManagedObjectReference rpMor = getVimService ( ) . getChildRPforHub ( getMOR ( ) , vrpId , hub . getMOR ( ) ) ; return new ResourcePool ( getServerConnection ( ) , rpMor ) ; }
Given the VRP Id and a hub gets the associated child resource pool .