PoolEvaluateAutoScaleParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. PoolEvaluateAutoScaleParameter
- com.
public class PoolEvaluateAutoScaleParameter
Options for evaluating an automatic scaling formula on a Pool.
Constructor Summary
Constructor | Description | |
---|---|---|
PoolEvaluateAutoScaleParameter() |
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. |
Pool |
withAutoScaleFormula(String autoScaleFormula)
Set the formula is validated and its results calculated, but it is not applied to the Pool. |
Methods inherited from java.lang.Object
Constructor Details
PoolEvaluateAutoScaleParameter
public PoolEvaluateAutoScaleParameter()
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/documentation/articles/batch-automatic-scaling).
Returns:
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/documentation/articles/batch-automatic-scaling).
Parameters:
Returns:
Applies to
Azure SDK for Java