Class ScaleSettings

java.lang.Object
com.microsoft.azure.management.batchai.ScaleSettings

public class ScaleSettings extends Object
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 Details

    • ScaleSettings

      public ScaleSettings()
  • Method Details

    • manual

      public ManualScaleSettings manual()
      Get manual scale settings for the cluster.
      Returns:
      the manual value
    • withManual

      public ScaleSettings withManual(ManualScaleSettings manual)
      Set manual scale settings for the cluster.
      Parameters:
      manual - the manual value to set
      Returns:
      the ScaleSettings object itself.
    • autoScale

      public AutoScaleSettings autoScale()
      Get auto-scale settings for the cluster.
      Returns:
      the autoScale value
    • withAutoScale

      public ScaleSettings withAutoScale(AutoScaleSettings autoScale)
      Set auto-scale settings for the cluster.
      Parameters:
      autoScale - the autoScale value to set
      Returns:
      the ScaleSettings object itself.