Class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler

public final class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler extends Object
VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
  • Constructor Details

    • ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler

      public ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler()
      Creates an instance of ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler class.
  • Method Details

    • enabled

      public boolean enabled()
      Get the enabled property: Whether to enable VPA. Default value is false.
      Returns:
      the enabled value.
    • withEnabled

      Set the enabled property: Whether to enable VPA. Default value is false.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.