public void enableAutoScale(String poolId, String autoScaleFormula, Period autoScaleEvaluationInterval)
            throws BatchErrorException, IOException {
        enableAutoScale(poolId, autoScaleFormula, autoScaleEvaluationInterval, null);
    }
public void enableAutoScale ( String poolId , String autoScaleFormula , Period autoScaleEvaluationInterval ) throws BatchErrorException , IOException { enableAutoScale ( poolId , autoScaleFormula , autoScaleEvaluationInterval , null ) ; }
Enables automatic scaling on the specified pool.

@param poolId
The ID of the pool.
@param autoScaleFormula
The formula for the desired number of compute nodes in the pool.
@param autoScaleEvaluationInterval
The time interval at which to automatically adjust the pool size.
@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.