Class ManagedClusterWorkloadAutoScalerProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfile
Workload Auto-scaler profile for the managed cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterWorkloadAutoScalerProfile class. -
Method Summary
Modifier and TypeMethodDescriptionkeda()Get the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.voidvalidate()Validates the instance.Get the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.Set the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.withVerticalPodAutoscaler(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler verticalPodAutoscaler) Set the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
-
Constructor Details
-
ManagedClusterWorkloadAutoScalerProfile
public ManagedClusterWorkloadAutoScalerProfile()Creates an instance of ManagedClusterWorkloadAutoScalerProfile class.
-
-
Method Details
-
keda
Get the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.- Returns:
- the keda value.
-
withKeda
public ManagedClusterWorkloadAutoScalerProfile withKeda(ManagedClusterWorkloadAutoScalerProfileKeda keda) Set the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.- Parameters:
keda- the keda value to set.- Returns:
- the ManagedClusterWorkloadAutoScalerProfile object itself.
-
verticalPodAutoscaler
Get the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.- Returns:
- the verticalPodAutoscaler value.
-
withVerticalPodAutoscaler
public ManagedClusterWorkloadAutoScalerProfile withVerticalPodAutoscaler(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler verticalPodAutoscaler) Set the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.- Parameters:
verticalPodAutoscaler- the verticalPodAutoscaler value to set.- Returns:
- the ManagedClusterWorkloadAutoScalerProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-