PoolEvaluateAutoScaleParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.PoolEvaluateAutoScaleParameter

public class PoolEvaluateAutoScaleParameter

Options for evaluating an automatic scaling formula on a pool.

Method Summary

Modifier and Type Method and Description
String autoScaleFormula()

Get the formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

PoolEvaluateAutoScaleParameter withAutoScaleFormula(String autoScaleFormula)

Set the formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Method Details

autoScaleFormula

public String autoScaleFormula()

Get the formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Returns:

the autoScaleFormula value

withAutoScaleFormula

public PoolEvaluateAutoScaleParameter withAutoScaleFormula(String autoScaleFormula)

Set the formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Parameters:

autoScaleFormula - the autoScaleFormula value to set

Returns:

the PoolEvaluateAutoScaleParameter object itself.

Applies to