ManagedClusterWorkloadAutoScalerProfileKeda Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterWorkloadAutoScalerProfileKeda

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 ManagedClusterWorkloadAutoScalerProfileKeda class.

Method Summary

Modifier and Type Method and Description
boolean enabled()

Get the enabled property: Whether to enable KEDA.

static ManagedClusterWorkloadAutoScalerProfileKeda fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterWorkloadAutoScalerProfileKeda from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterWorkloadAutoScalerProfileKeda 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:

the enabled value.

fromJson

public static ManagedClusterWorkloadAutoScalerProfileKeda fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterWorkloadAutoScalerProfileKeda from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterWorkloadAutoScalerProfileKeda if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterWorkloadAutoScalerProfileKeda withEnabled(boolean enabled)

Set the enabled property: Whether to enable KEDA.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterWorkloadAutoScalerProfileKeda object itself.

Applies to