ManagedClusterWorkloadAutoScalerProfile Class

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

Implements

public final class ManagedClusterWorkloadAutoScalerProfile
implements JsonSerializable<ManagedClusterWorkloadAutoScalerProfile>

Workload Auto-scaler profile for the managed cluster.

Constructor Summary

Constructor Description
ManagedClusterWorkloadAutoScalerProfile()

Creates an instance of ManagedClusterWorkloadAutoScalerProfile class.

Method Summary

Modifier and Type Method and Description
static ManagedClusterWorkloadAutoScalerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterWorkloadAutoScalerProfile from the JsonReader.

ManagedClusterWorkloadAutoScalerProfileKeda keda()

Get the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler verticalPodAutoscaler()

Get the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.

ManagedClusterWorkloadAutoScalerProfile withKeda(ManagedClusterWorkloadAutoScalerProfileKeda keda)

Set the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.

ManagedClusterWorkloadAutoScalerProfile withVerticalPodAutoscaler(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler verticalPodAutoscaler)

Set the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterWorkloadAutoScalerProfile

public ManagedClusterWorkloadAutoScalerProfile()

Creates an instance of ManagedClusterWorkloadAutoScalerProfile class.

Method Details

fromJson

public static ManagedClusterWorkloadAutoScalerProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterWorkloadAutoScalerProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ManagedClusterWorkloadAutoScalerProfile.

keda

public ManagedClusterWorkloadAutoScalerProfileKeda keda()

Get the keda property: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.

Returns:

the keda value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

verticalPodAutoscaler

public ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler verticalPodAutoscaler()

Get the verticalPodAutoscaler property: VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.

Returns:

the verticalPodAutoscaler 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.

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.

Applies to