public AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula)
            throws BatchErrorException, IOException {
        return evaluateAutoScale(poolId, autoScaleFormula, null);
    }
public AutoScaleRun evaluateAutoScale ( String poolId , String autoScaleFormula ) throws BatchErrorException , IOException { return evaluateAutoScale ( poolId , autoScaleFormula , null ) ; }
Gets the result of evaluating an automatic scaling formula on the specified
pool. This is primarily for validating an autoscale formula, as it simply
returns the result without applying the formula to the pool.

@param poolId
The ID of the pool.
@param autoScaleFormula
The formula to be evaluated on the pool.
@return The result of evaluating the formula on the specified 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.