ManagedClusterWorkloadAutoScalerProfileKeda Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterWorkloadAutoScalerProfileKeda
- com.
Implements
public final class ManagedClusterWorkloadAutoScalerProfileKeda
implements JsonSerializable<ManagedClusterWorkloadAutoScalerProfileKeda>
KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterWorkloadAutoScalerProfileKeda() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Get the enabled property: Whether to enable KEDA. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withEnabled(boolean enabled)
Set the enabled property: Whether to enable KEDA. |
Methods inherited from java.lang.Object
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:
fromJson
public static ManagedClusterWorkloadAutoScalerProfileKeda fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterWorkloadAutoScalerProfileKeda from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterWorkloadAutoScalerProfileKeda withEnabled(boolean enabled)
Set the enabled property: Whether to enable KEDA.
Parameters:
Returns:
Applies to
Azure SDK for Java