code: public void createPool(String poolId, String virtualMachineSize,
                             CloudServiceConfiguration cloudServiceConfiguration, int targetDedicatedNodes)
              throws BatchErrorException, IOException {
          createPool(poolId, virtualMachineSize, cloudServiceConfiguration, targetDedicatedNodes, 0, null);
      }
docs: Adds a pool to the Batch account.
  
  @param poolId
  The ID of the pool.
  @param virtualMachineSize
  The size of virtual machines in the pool. See <a href=
  "https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/">https://azure.microsoft.com/documentation/articles/virtual-machines-size-specs/</a>
  for sizes.
  @param cloudServiceConfiguration
  The {@link CloudServiceConfiguration} for the pool.
  @param targetDedicatedNodes
  The desired number of dedicated 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.