Class ScaleSettings
java.lang.Object
com.microsoft.azure.management.batch.ScaleSettings
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
-
Method Summary
Modifier and TypeMethodDescriptionGet this property and fixedScale are mutually exclusive and one of the properties must be specified.Get this property and autoScale are mutually exclusive and one of the properties must be specified.withAutoScale
(AutoScaleSettings autoScale) Set this property and fixedScale are mutually exclusive and one of the properties must be specified.withFixedScale
(FixedScaleSettings fixedScale) Set this property and autoScale are mutually exclusive and one of the properties must be specified.
-
Constructor Details
-
ScaleSettings
public ScaleSettings()
-
-
Method Details
-
fixedScale
Get this property and autoScale are mutually exclusive and one of the properties must be specified.- Returns:
- the fixedScale value
-
withFixedScale
Set this property and autoScale are mutually exclusive and one of the properties must be specified.- Parameters:
fixedScale
- the fixedScale value to set- Returns:
- the ScaleSettings object itself.
-
autoScale
Get this property and fixedScale are mutually exclusive and one of the properties must be specified.- Returns:
- the autoScale value
-
withAutoScale
Set this property and fixedScale are mutually exclusive and one of the properties must be specified.- Parameters:
autoScale
- the autoScale value to set- Returns:
- the ScaleSettings object itself.
-