code: public void reimageComputeNode(String poolId, String nodeId) throws BatchErrorException, IOException {
          reimageComputeNode(poolId, nodeId, null, null);
      }
docs: Reinstalls the operating system on the specified compute node.
  <p>You can reimage a compute node only when it is in the {@link com.microsoft.azure.batch.protocol.models.ComputeNodeState#IDLE Idle} or {@link com.microsoft.azure.batch.protocol.models.ComputeNodeState#RUNNING Running} state.</p>
  
  @param poolId The ID of the pool that contains the compute node.
  @param nodeId The ID of the compute node to reimage.
  @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.