Class ScaleSettings
- java.lang.Object
-
- com.microsoft.azure.management.batch.ScaleSettings
-
public class ScaleSettings extends Object
Scale settings for the pool. Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.
-
-
Constructor Summary
Constructors Constructor Description ScaleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoScaleSettingsautoScale()Get the autoScale value.FixedScaleSettingsfixedScale()Get the fixedScale value.ScaleSettingswithAutoScale(AutoScaleSettings autoScale)Set the autoScale value.ScaleSettingswithFixedScale(FixedScaleSettings fixedScale)Set the fixedScale value.
-
-
-
Method Detail
-
fixedScale
public FixedScaleSettings fixedScale()
Get the fixedScale value.- Returns:
- the fixedScale value
-
withFixedScale
public ScaleSettings withFixedScale(FixedScaleSettings fixedScale)
Set the fixedScale value.- Parameters:
fixedScale- the fixedScale value to set- Returns:
- the ScaleSettings object itself.
-
autoScale
public AutoScaleSettings autoScale()
Get the autoScale value.- Returns:
- the autoScale value
-
withAutoScale
public ScaleSettings withAutoScale(AutoScaleSettings autoScale)
Set the autoScale value.- Parameters:
autoScale- the autoScale value to set- Returns:
- the ScaleSettings object itself.
-
-