Class ManagedClusterPropertiesAutoScalerProfile

java.lang.Object
com.microsoft.azure.management.containerservice.ManagedClusterPropertiesAutoScalerProfile

public class ManagedClusterPropertiesAutoScalerProfile extends Object
Parameters to be applied to the cluster-autoscaler when enabled.
  • Constructor Details

    • ManagedClusterPropertiesAutoScalerProfile

      public ManagedClusterPropertiesAutoScalerProfile()
  • Method Details

    • balanceSimilarNodeGroups

      public String balanceSimilarNodeGroups()
      Get the balanceSimilarNodeGroups value.
      Returns:
      the balanceSimilarNodeGroups value
    • withBalanceSimilarNodeGroups

      public ManagedClusterPropertiesAutoScalerProfile withBalanceSimilarNodeGroups(String balanceSimilarNodeGroups)
      Set the balanceSimilarNodeGroups value.
      Parameters:
      balanceSimilarNodeGroups - the balanceSimilarNodeGroups value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • expander

      public Expander expander()
      Get possible values include: 'least-waste', 'most-pods', 'random'.
      Returns:
      the expander value
    • withExpander

      public ManagedClusterPropertiesAutoScalerProfile withExpander(Expander expander)
      Set possible values include: 'least-waste', 'most-pods', 'random'.
      Parameters:
      expander - the expander value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • maxEmptyBulkDelete

      public String maxEmptyBulkDelete()
      Get the maxEmptyBulkDelete value.
      Returns:
      the maxEmptyBulkDelete value
    • withMaxEmptyBulkDelete

      public ManagedClusterPropertiesAutoScalerProfile withMaxEmptyBulkDelete(String maxEmptyBulkDelete)
      Set the maxEmptyBulkDelete value.
      Parameters:
      maxEmptyBulkDelete - the maxEmptyBulkDelete value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • maxGracefulTerminationSec

      public String maxGracefulTerminationSec()
      Get the maxGracefulTerminationSec value.
      Returns:
      the maxGracefulTerminationSec value
    • withMaxGracefulTerminationSec

      public ManagedClusterPropertiesAutoScalerProfile withMaxGracefulTerminationSec(String maxGracefulTerminationSec)
      Set the maxGracefulTerminationSec value.
      Parameters:
      maxGracefulTerminationSec - the maxGracefulTerminationSec value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • maxTotalUnreadyPercentage

      public String maxTotalUnreadyPercentage()
      Get the maxTotalUnreadyPercentage value.
      Returns:
      the maxTotalUnreadyPercentage value
    • withMaxTotalUnreadyPercentage

      public ManagedClusterPropertiesAutoScalerProfile withMaxTotalUnreadyPercentage(String maxTotalUnreadyPercentage)
      Set the maxTotalUnreadyPercentage value.
      Parameters:
      maxTotalUnreadyPercentage - the maxTotalUnreadyPercentage value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • newPodScaleUpDelay

      public String newPodScaleUpDelay()
      Get the newPodScaleUpDelay value.
      Returns:
      the newPodScaleUpDelay value
    • withNewPodScaleUpDelay

      public ManagedClusterPropertiesAutoScalerProfile withNewPodScaleUpDelay(String newPodScaleUpDelay)
      Set the newPodScaleUpDelay value.
      Parameters:
      newPodScaleUpDelay - the newPodScaleUpDelay value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • okTotalUnreadyCount

      public String okTotalUnreadyCount()
      Get the okTotalUnreadyCount value.
      Returns:
      the okTotalUnreadyCount value
    • withOkTotalUnreadyCount

      public ManagedClusterPropertiesAutoScalerProfile withOkTotalUnreadyCount(String okTotalUnreadyCount)
      Set the okTotalUnreadyCount value.
      Parameters:
      okTotalUnreadyCount - the okTotalUnreadyCount value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scanInterval

      public String scanInterval()
      Get the scanInterval value.
      Returns:
      the scanInterval value
    • withScanInterval

      public ManagedClusterPropertiesAutoScalerProfile withScanInterval(String scanInterval)
      Set the scanInterval value.
      Parameters:
      scanInterval - the scanInterval value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownDelayAfterAdd

      public String scaleDownDelayAfterAdd()
      Get the scaleDownDelayAfterAdd value.
      Returns:
      the scaleDownDelayAfterAdd value
    • withScaleDownDelayAfterAdd

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterAdd(String scaleDownDelayAfterAdd)
      Set the scaleDownDelayAfterAdd value.
      Parameters:
      scaleDownDelayAfterAdd - the scaleDownDelayAfterAdd value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownDelayAfterDelete

      public String scaleDownDelayAfterDelete()
      Get the scaleDownDelayAfterDelete value.
      Returns:
      the scaleDownDelayAfterDelete value
    • withScaleDownDelayAfterDelete

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterDelete(String scaleDownDelayAfterDelete)
      Set the scaleDownDelayAfterDelete value.
      Parameters:
      scaleDownDelayAfterDelete - the scaleDownDelayAfterDelete value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownDelayAfterFailure

      public String scaleDownDelayAfterFailure()
      Get the scaleDownDelayAfterFailure value.
      Returns:
      the scaleDownDelayAfterFailure value
    • withScaleDownDelayAfterFailure

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterFailure(String scaleDownDelayAfterFailure)
      Set the scaleDownDelayAfterFailure value.
      Parameters:
      scaleDownDelayAfterFailure - the scaleDownDelayAfterFailure value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownUnneededTime

      public String scaleDownUnneededTime()
      Get the scaleDownUnneededTime value.
      Returns:
      the scaleDownUnneededTime value
    • withScaleDownUnneededTime

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownUnneededTime(String scaleDownUnneededTime)
      Set the scaleDownUnneededTime value.
      Parameters:
      scaleDownUnneededTime - the scaleDownUnneededTime value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownUnreadyTime

      public String scaleDownUnreadyTime()
      Get the scaleDownUnreadyTime value.
      Returns:
      the scaleDownUnreadyTime value
    • withScaleDownUnreadyTime

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownUnreadyTime(String scaleDownUnreadyTime)
      Set the scaleDownUnreadyTime value.
      Parameters:
      scaleDownUnreadyTime - the scaleDownUnreadyTime value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • scaleDownUtilizationThreshold

      public String scaleDownUtilizationThreshold()
      Get the scaleDownUtilizationThreshold value.
      Returns:
      the scaleDownUtilizationThreshold value
    • withScaleDownUtilizationThreshold

      public ManagedClusterPropertiesAutoScalerProfile withScaleDownUtilizationThreshold(String scaleDownUtilizationThreshold)
      Set the scaleDownUtilizationThreshold value.
      Parameters:
      scaleDownUtilizationThreshold - the scaleDownUtilizationThreshold value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • skipNodesWithLocalStorage

      public String skipNodesWithLocalStorage()
      Get the skipNodesWithLocalStorage value.
      Returns:
      the skipNodesWithLocalStorage value
    • withSkipNodesWithLocalStorage

      public ManagedClusterPropertiesAutoScalerProfile withSkipNodesWithLocalStorage(String skipNodesWithLocalStorage)
      Set the skipNodesWithLocalStorage value.
      Parameters:
      skipNodesWithLocalStorage - the skipNodesWithLocalStorage value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.
    • skipNodesWithSystemPods

      public String skipNodesWithSystemPods()
      Get the skipNodesWithSystemPods value.
      Returns:
      the skipNodesWithSystemPods value
    • withSkipNodesWithSystemPods

      public ManagedClusterPropertiesAutoScalerProfile withSkipNodesWithSystemPods(String skipNodesWithSystemPods)
      Set the skipNodesWithSystemPods value.
      Parameters:
      skipNodesWithSystemPods - the skipNodesWithSystemPods value to set
      Returns:
      the ManagedClusterPropertiesAutoScalerProfile object itself.