Class PoolEvaluateAutoScaleParameter


  • public class PoolEvaluateAutoScaleParameter
    extends Object
    Options for evaluating an automatic scaling formula on a Pool.
    • Constructor Detail

      • PoolEvaluateAutoScaleParameter

        public PoolEvaluateAutoScaleParameter()
    • Method Detail

      • 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.