Class ManagedClusterWorkloadAutoScalerProfileKeda
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfileKeda
KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterWorkloadAutoScalerProfileKeda class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Get the enabled property: Whether to enable KEDA.voidvalidate()Validates the instance.withEnabled(boolean enabled) Set the enabled property: Whether to enable KEDA.
-
Constructor Details
-
ManagedClusterWorkloadAutoScalerProfileKeda
public ManagedClusterWorkloadAutoScalerProfileKeda()Creates an instance of ManagedClusterWorkloadAutoScalerProfileKeda class.
-
-
Method Details
-
enabled
public boolean enabled()Get the enabled property: Whether to enable KEDA.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Whether to enable KEDA.- Parameters:
enabled- the enabled value to set.- Returns:
- the ManagedClusterWorkloadAutoScalerProfileKeda object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-