ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
- com.
Implements
public final class ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
implements JsonSerializable<ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler>
VPA (Vertical Pod Autoscaler) settings for the workload auto-scaler profile.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Get the enabled property: Whether to enable VPA. |
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 VPA. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
public ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler()
Creates an instance of ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler class.
Method Details
enabled
public boolean enabled()
Get the enabled property: Whether to enable VPA. Default value is false.
Returns:
fromJson
public static ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler withEnabled(boolean enabled)
Set the enabled property: Whether to enable VPA. Default value is false.
Parameters:
Returns:
Applies to
Azure SDK for Java