ScaleSettings Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ScaleSettings
- com.
public class 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
Constructor | Description | |
---|---|---|
ScaleSettings() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Auto |
autoScale()
Get this property and fixed |
Fixed |
fixedScale()
Get this property and auto |
Scale |
withAutoScale(AutoScaleSettings autoScale)
Set this property and fixed |
Scale |
withFixedScale(FixedScaleSettings fixedScale)
Set this property and auto |
Methods inherited from java.lang.Object
Constructor Details
ScaleSettings
public ScaleSettings()
Method Details
autoScale
public AutoScaleSettings autoScale()
Get this property and fixedScale are mutually exclusive and one of the properties must be specified.
Returns:
fixedScale
public FixedScaleSettings fixedScale()
Get this property and autoScale are mutually exclusive and one of the properties must be specified.
Returns:
withAutoScale
public ScaleSettings withAutoScale(AutoScaleSettings autoScale)
Set this property and fixedScale are mutually exclusive and one of the properties must be specified.
Parameters:
Returns:
withFixedScale
public ScaleSettings withFixedScale(FixedScaleSettings fixedScale)
Set this property and autoScale are mutually exclusive and one of the properties must be specified.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for