Class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Get the enabled property: Whether to enable VPA.voidvalidate()Validates the instance.withEnabled(boolean enabled) Set the enabled property: Whether to enable VPA.
-
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.
-