Class ScaleSettings
java.lang.Object
com.microsoft.azure.management.batchai.ScaleSettings
At least one of manual or autoScale settings must be specified. Only one of
manual or autoScale settings can be specified. If autoScale settings are
specified, the system automatically scales the cluster up and down (within
the supplied limits) based on the pending jobs on the cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet auto-scale settings for the cluster.manual()
Get manual scale settings for the cluster.withAutoScale
(AutoScaleSettings autoScale) Set auto-scale settings for the cluster.withManual
(ManualScaleSettings manual) Set manual scale settings for the cluster.
-
Constructor Details
-
ScaleSettings
public ScaleSettings()
-
-
Method Details
-
manual
Get manual scale settings for the cluster.- Returns:
- the manual value
-
withManual
Set manual scale settings for the cluster.- Parameters:
manual
- the manual value to set- Returns:
- the ScaleSettings object itself.
-
autoScale
Get auto-scale settings for the cluster.- Returns:
- the autoScale value
-
withAutoScale
Set auto-scale settings for the cluster.- Parameters:
autoScale
- the autoScale value to set- Returns:
- the ScaleSettings object itself.
-