code: public void resizePool(String poolId, Integer targetDedicatedNodes, Integer targetLowPriorityNodes)
              throws BatchErrorException, IOException {
          resizePool(poolId, targetDedicatedNodes, targetLowPriorityNodes, null, null, null);
      }
docs: Resizes the specified pool.
  
  @param poolId
  The ID of the pool.
  @param targetDedicatedNodes
  The desired number of dedicated compute nodes in the pool.
  @param targetLowPriorityNodes
  The desired number of low-priority compute nodes in the pool.
  @throws BatchErrorException
  Exception thrown when an error response is received from the
  Batch service.
  @throws IOException
  Exception thrown when there is an error in
  serialization/deserialization of data sent to/received from the
  Batch service.