public PlacementResult placeVm ( PlacementSpec placementSpec ) throws InvalidArgument , InvalidState , RuntimeFault , RemoteException { return getVimService ( ) . placeVm ( getMOR ( ) , placementSpec ) ; }
This method returns a PlacementResult object . This API can be invoked to ask DRS for a set of recommendations for moving a virtual machine and its virtual disks into a cluster .