Class ManagedClusterPropertiesAutoScalerProfile
java.lang.Object
com.microsoft.azure.management.containerservice.ManagedClusterPropertiesAutoScalerProfile
Parameters to be applied to the cluster-autoscaler when enabled.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the balanceSimilarNodeGroups value.expander()
Get possible values include: 'least-waste', 'most-pods', 'random'.Get the maxEmptyBulkDelete value.Get the maxGracefulTerminationSec value.Get the maxTotalUnreadyPercentage value.Get the newPodScaleUpDelay value.Get the okTotalUnreadyCount value.Get the scaleDownDelayAfterAdd value.Get the scaleDownDelayAfterDelete value.Get the scaleDownDelayAfterFailure value.Get the scaleDownUnneededTime value.Get the scaleDownUnreadyTime value.Get the scaleDownUtilizationThreshold value.Get the scanInterval value.Get the skipNodesWithLocalStorage value.Get the skipNodesWithSystemPods value.withBalanceSimilarNodeGroups
(String balanceSimilarNodeGroups) Set the balanceSimilarNodeGroups value.withExpander
(Expander expander) Set possible values include: 'least-waste', 'most-pods', 'random'.withMaxEmptyBulkDelete
(String maxEmptyBulkDelete) Set the maxEmptyBulkDelete value.withMaxGracefulTerminationSec
(String maxGracefulTerminationSec) Set the maxGracefulTerminationSec value.withMaxTotalUnreadyPercentage
(String maxTotalUnreadyPercentage) Set the maxTotalUnreadyPercentage value.withNewPodScaleUpDelay
(String newPodScaleUpDelay) Set the newPodScaleUpDelay value.withOkTotalUnreadyCount
(String okTotalUnreadyCount) Set the okTotalUnreadyCount value.withScaleDownDelayAfterAdd
(String scaleDownDelayAfterAdd) Set the scaleDownDelayAfterAdd value.withScaleDownDelayAfterDelete
(String scaleDownDelayAfterDelete) Set the scaleDownDelayAfterDelete value.withScaleDownDelayAfterFailure
(String scaleDownDelayAfterFailure) Set the scaleDownDelayAfterFailure value.withScaleDownUnneededTime
(String scaleDownUnneededTime) Set the scaleDownUnneededTime value.withScaleDownUnreadyTime
(String scaleDownUnreadyTime) Set the scaleDownUnreadyTime value.withScaleDownUtilizationThreshold
(String scaleDownUtilizationThreshold) Set the scaleDownUtilizationThreshold value.withScanInterval
(String scanInterval) Set the scanInterval value.withSkipNodesWithLocalStorage
(String skipNodesWithLocalStorage) Set the skipNodesWithLocalStorage value.withSkipNodesWithSystemPods
(String skipNodesWithSystemPods) Set the skipNodesWithSystemPods value.
-
Constructor Details
-
ManagedClusterPropertiesAutoScalerProfile
public ManagedClusterPropertiesAutoScalerProfile()
-
-
Method Details
-
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
Get possible values include: 'least-waste', 'most-pods', 'random'.- Returns:
- the expander value
-
withExpander
Set possible values include: 'least-waste', 'most-pods', 'random'.- Parameters:
expander
- the expander value to set- Returns:
- the ManagedClusterPropertiesAutoScalerProfile object itself.
-
maxEmptyBulkDelete
Get the maxEmptyBulkDelete value.- Returns:
- the maxEmptyBulkDelete value
-
withMaxEmptyBulkDelete
Set the maxEmptyBulkDelete value.- Parameters:
maxEmptyBulkDelete
- the maxEmptyBulkDelete value to set- Returns:
- the ManagedClusterPropertiesAutoScalerProfile object itself.
-
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
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
Get the newPodScaleUpDelay value.- Returns:
- the newPodScaleUpDelay value
-
withNewPodScaleUpDelay
Set the newPodScaleUpDelay value.- Parameters:
newPodScaleUpDelay
- the newPodScaleUpDelay value to set- Returns:
- the ManagedClusterPropertiesAutoScalerProfile object itself.
-
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
Get the scanInterval value.- Returns:
- the scanInterval value
-
withScanInterval
Set the scanInterval value.- Parameters:
scanInterval
- the scanInterval value to set- Returns:
- the ManagedClusterPropertiesAutoScalerProfile object itself.
-
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
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
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
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
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
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
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
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.
-