Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerservice; import com.fasterxml.jackson.annotation.JsonProperty;
Parameters to be applied to the cluster-autoscaler when enabled.
/** * Parameters to be applied to the cluster-autoscaler when enabled. */
public class ManagedClusterPropertiesAutoScalerProfile {
The balanceSimilarNodeGroups property.
/** * The balanceSimilarNodeGroups property. */
@JsonProperty(value = "balance-similar-node-groups") private String balanceSimilarNodeGroups;
Possible values include: 'least-waste', 'most-pods', 'random'.
/** * Possible values include: 'least-waste', 'most-pods', 'random'. */
@JsonProperty(value = "expander") private Expander expander;
The maxEmptyBulkDelete property.
/** * The maxEmptyBulkDelete property. */
@JsonProperty(value = "max-empty-bulk-delete") private String maxEmptyBulkDelete;
The maxGracefulTerminationSec property.
/** * The maxGracefulTerminationSec property. */
@JsonProperty(value = "max-graceful-termination-sec") private String maxGracefulTerminationSec;
The maxTotalUnreadyPercentage property.
/** * The maxTotalUnreadyPercentage property. */
@JsonProperty(value = "max-total-unready-percentage") private String maxTotalUnreadyPercentage;
The newPodScaleUpDelay property.
/** * The newPodScaleUpDelay property. */
@JsonProperty(value = "new-pod-scale-up-delay") private String newPodScaleUpDelay;
The okTotalUnreadyCount property.
/** * The okTotalUnreadyCount property. */
@JsonProperty(value = "ok-total-unready-count") private String okTotalUnreadyCount;
The scanInterval property.
/** * The scanInterval property. */
@JsonProperty(value = "scan-interval") private String scanInterval;
The scaleDownDelayAfterAdd property.
/** * The scaleDownDelayAfterAdd property. */
@JsonProperty(value = "scale-down-delay-after-add") private String scaleDownDelayAfterAdd;
The scaleDownDelayAfterDelete property.
/** * The scaleDownDelayAfterDelete property. */
@JsonProperty(value = "scale-down-delay-after-delete") private String scaleDownDelayAfterDelete;
The scaleDownDelayAfterFailure property.
/** * The scaleDownDelayAfterFailure property. */
@JsonProperty(value = "scale-down-delay-after-failure") private String scaleDownDelayAfterFailure;
The scaleDownUnneededTime property.
/** * The scaleDownUnneededTime property. */
@JsonProperty(value = "scale-down-unneeded-time") private String scaleDownUnneededTime;
The scaleDownUnreadyTime property.
/** * The scaleDownUnreadyTime property. */
@JsonProperty(value = "scale-down-unready-time") private String scaleDownUnreadyTime;
The scaleDownUtilizationThreshold property.
/** * The scaleDownUtilizationThreshold property. */
@JsonProperty(value = "scale-down-utilization-threshold") private String scaleDownUtilizationThreshold;
The skipNodesWithLocalStorage property.
/** * The skipNodesWithLocalStorage property. */
@JsonProperty(value = "skip-nodes-with-local-storage") private String skipNodesWithLocalStorage;
The skipNodesWithSystemPods property.
/** * The skipNodesWithSystemPods property. */
@JsonProperty(value = "skip-nodes-with-system-pods") private String skipNodesWithSystemPods;
Get the balanceSimilarNodeGroups value.
Returns:the balanceSimilarNodeGroups value
/** * Get the balanceSimilarNodeGroups value. * * @return the balanceSimilarNodeGroups value */
public String balanceSimilarNodeGroups() { return this.balanceSimilarNodeGroups; }
Set the balanceSimilarNodeGroups value.
Params:
  • balanceSimilarNodeGroups – the balanceSimilarNodeGroups value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the balanceSimilarNodeGroups value. * * @param balanceSimilarNodeGroups the balanceSimilarNodeGroups value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withBalanceSimilarNodeGroups(String balanceSimilarNodeGroups) { this.balanceSimilarNodeGroups = balanceSimilarNodeGroups; return this; }
Get possible values include: 'least-waste', 'most-pods', 'random'.
Returns:the expander value
/** * Get possible values include: 'least-waste', 'most-pods', 'random'. * * @return the expander value */
public Expander expander() { return this.expander; }
Set possible values include: 'least-waste', 'most-pods', 'random'.
Params:
  • expander – the expander value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set possible values include: 'least-waste', 'most-pods', 'random'. * * @param expander the expander value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withExpander(Expander expander) { this.expander = expander; return this; }
Get the maxEmptyBulkDelete value.
Returns:the maxEmptyBulkDelete value
/** * Get the maxEmptyBulkDelete value. * * @return the maxEmptyBulkDelete value */
public String maxEmptyBulkDelete() { return this.maxEmptyBulkDelete; }
Set the maxEmptyBulkDelete value.
Params:
  • maxEmptyBulkDelete – the maxEmptyBulkDelete value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the maxEmptyBulkDelete value. * * @param maxEmptyBulkDelete the maxEmptyBulkDelete value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withMaxEmptyBulkDelete(String maxEmptyBulkDelete) { this.maxEmptyBulkDelete = maxEmptyBulkDelete; return this; }
Get the maxGracefulTerminationSec value.
Returns:the maxGracefulTerminationSec value
/** * Get the maxGracefulTerminationSec value. * * @return the maxGracefulTerminationSec value */
public String maxGracefulTerminationSec() { return this.maxGracefulTerminationSec; }
Set the maxGracefulTerminationSec value.
Params:
  • maxGracefulTerminationSec – the maxGracefulTerminationSec value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the maxGracefulTerminationSec value. * * @param maxGracefulTerminationSec the maxGracefulTerminationSec value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withMaxGracefulTerminationSec(String maxGracefulTerminationSec) { this.maxGracefulTerminationSec = maxGracefulTerminationSec; return this; }
Get the maxTotalUnreadyPercentage value.
Returns:the maxTotalUnreadyPercentage value
/** * Get the maxTotalUnreadyPercentage value. * * @return the maxTotalUnreadyPercentage value */
public String maxTotalUnreadyPercentage() { return this.maxTotalUnreadyPercentage; }
Set the maxTotalUnreadyPercentage value.
Params:
  • maxTotalUnreadyPercentage – the maxTotalUnreadyPercentage value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the maxTotalUnreadyPercentage value. * * @param maxTotalUnreadyPercentage the maxTotalUnreadyPercentage value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withMaxTotalUnreadyPercentage(String maxTotalUnreadyPercentage) { this.maxTotalUnreadyPercentage = maxTotalUnreadyPercentage; return this; }
Get the newPodScaleUpDelay value.
Returns:the newPodScaleUpDelay value
/** * Get the newPodScaleUpDelay value. * * @return the newPodScaleUpDelay value */
public String newPodScaleUpDelay() { return this.newPodScaleUpDelay; }
Set the newPodScaleUpDelay value.
Params:
  • newPodScaleUpDelay – the newPodScaleUpDelay value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the newPodScaleUpDelay value. * * @param newPodScaleUpDelay the newPodScaleUpDelay value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withNewPodScaleUpDelay(String newPodScaleUpDelay) { this.newPodScaleUpDelay = newPodScaleUpDelay; return this; }
Get the okTotalUnreadyCount value.
Returns:the okTotalUnreadyCount value
/** * Get the okTotalUnreadyCount value. * * @return the okTotalUnreadyCount value */
public String okTotalUnreadyCount() { return this.okTotalUnreadyCount; }
Set the okTotalUnreadyCount value.
Params:
  • okTotalUnreadyCount – the okTotalUnreadyCount value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the okTotalUnreadyCount value. * * @param okTotalUnreadyCount the okTotalUnreadyCount value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withOkTotalUnreadyCount(String okTotalUnreadyCount) { this.okTotalUnreadyCount = okTotalUnreadyCount; return this; }
Get the scanInterval value.
Returns:the scanInterval value
/** * Get the scanInterval value. * * @return the scanInterval value */
public String scanInterval() { return this.scanInterval; }
Set the scanInterval value.
Params:
  • scanInterval – the scanInterval value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scanInterval value. * * @param scanInterval the scanInterval value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScanInterval(String scanInterval) { this.scanInterval = scanInterval; return this; }
Get the scaleDownDelayAfterAdd value.
Returns:the scaleDownDelayAfterAdd value
/** * Get the scaleDownDelayAfterAdd value. * * @return the scaleDownDelayAfterAdd value */
public String scaleDownDelayAfterAdd() { return this.scaleDownDelayAfterAdd; }
Set the scaleDownDelayAfterAdd value.
Params:
  • scaleDownDelayAfterAdd – the scaleDownDelayAfterAdd value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownDelayAfterAdd value. * * @param scaleDownDelayAfterAdd the scaleDownDelayAfterAdd value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterAdd(String scaleDownDelayAfterAdd) { this.scaleDownDelayAfterAdd = scaleDownDelayAfterAdd; return this; }
Get the scaleDownDelayAfterDelete value.
Returns:the scaleDownDelayAfterDelete value
/** * Get the scaleDownDelayAfterDelete value. * * @return the scaleDownDelayAfterDelete value */
public String scaleDownDelayAfterDelete() { return this.scaleDownDelayAfterDelete; }
Set the scaleDownDelayAfterDelete value.
Params:
  • scaleDownDelayAfterDelete – the scaleDownDelayAfterDelete value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownDelayAfterDelete value. * * @param scaleDownDelayAfterDelete the scaleDownDelayAfterDelete value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterDelete(String scaleDownDelayAfterDelete) { this.scaleDownDelayAfterDelete = scaleDownDelayAfterDelete; return this; }
Get the scaleDownDelayAfterFailure value.
Returns:the scaleDownDelayAfterFailure value
/** * Get the scaleDownDelayAfterFailure value. * * @return the scaleDownDelayAfterFailure value */
public String scaleDownDelayAfterFailure() { return this.scaleDownDelayAfterFailure; }
Set the scaleDownDelayAfterFailure value.
Params:
  • scaleDownDelayAfterFailure – the scaleDownDelayAfterFailure value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownDelayAfterFailure value. * * @param scaleDownDelayAfterFailure the scaleDownDelayAfterFailure value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownDelayAfterFailure(String scaleDownDelayAfterFailure) { this.scaleDownDelayAfterFailure = scaleDownDelayAfterFailure; return this; }
Get the scaleDownUnneededTime value.
Returns:the scaleDownUnneededTime value
/** * Get the scaleDownUnneededTime value. * * @return the scaleDownUnneededTime value */
public String scaleDownUnneededTime() { return this.scaleDownUnneededTime; }
Set the scaleDownUnneededTime value.
Params:
  • scaleDownUnneededTime – the scaleDownUnneededTime value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownUnneededTime value. * * @param scaleDownUnneededTime the scaleDownUnneededTime value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownUnneededTime(String scaleDownUnneededTime) { this.scaleDownUnneededTime = scaleDownUnneededTime; return this; }
Get the scaleDownUnreadyTime value.
Returns:the scaleDownUnreadyTime value
/** * Get the scaleDownUnreadyTime value. * * @return the scaleDownUnreadyTime value */
public String scaleDownUnreadyTime() { return this.scaleDownUnreadyTime; }
Set the scaleDownUnreadyTime value.
Params:
  • scaleDownUnreadyTime – the scaleDownUnreadyTime value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownUnreadyTime value. * * @param scaleDownUnreadyTime the scaleDownUnreadyTime value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownUnreadyTime(String scaleDownUnreadyTime) { this.scaleDownUnreadyTime = scaleDownUnreadyTime; return this; }
Get the scaleDownUtilizationThreshold value.
Returns:the scaleDownUtilizationThreshold value
/** * Get the scaleDownUtilizationThreshold value. * * @return the scaleDownUtilizationThreshold value */
public String scaleDownUtilizationThreshold() { return this.scaleDownUtilizationThreshold; }
Set the scaleDownUtilizationThreshold value.
Params:
  • scaleDownUtilizationThreshold – the scaleDownUtilizationThreshold value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the scaleDownUtilizationThreshold value. * * @param scaleDownUtilizationThreshold the scaleDownUtilizationThreshold value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withScaleDownUtilizationThreshold(String scaleDownUtilizationThreshold) { this.scaleDownUtilizationThreshold = scaleDownUtilizationThreshold; return this; }
Get the skipNodesWithLocalStorage value.
Returns:the skipNodesWithLocalStorage value
/** * Get the skipNodesWithLocalStorage value. * * @return the skipNodesWithLocalStorage value */
public String skipNodesWithLocalStorage() { return this.skipNodesWithLocalStorage; }
Set the skipNodesWithLocalStorage value.
Params:
  • skipNodesWithLocalStorage – the skipNodesWithLocalStorage value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the skipNodesWithLocalStorage value. * * @param skipNodesWithLocalStorage the skipNodesWithLocalStorage value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withSkipNodesWithLocalStorage(String skipNodesWithLocalStorage) { this.skipNodesWithLocalStorage = skipNodesWithLocalStorage; return this; }
Get the skipNodesWithSystemPods value.
Returns:the skipNodesWithSystemPods value
/** * Get the skipNodesWithSystemPods value. * * @return the skipNodesWithSystemPods value */
public String skipNodesWithSystemPods() { return this.skipNodesWithSystemPods; }
Set the skipNodesWithSystemPods value.
Params:
  • skipNodesWithSystemPods – the skipNodesWithSystemPods value to set
Returns:the ManagedClusterPropertiesAutoScalerProfile object itself.
/** * Set the skipNodesWithSystemPods value. * * @param skipNodesWithSystemPods the skipNodesWithSystemPods value to set * @return the ManagedClusterPropertiesAutoScalerProfile object itself. */
public ManagedClusterPropertiesAutoScalerProfile withSkipNodesWithSystemPods(String skipNodesWithSystemPods) { this.skipNodesWithSystemPods = skipNodesWithSystemPods; return this; } }