HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
| Name | Type | Description | Notes |
|---|---|---|---|
| scale_down | V2HPAScalingRules | [optional] | |
| scale_up | V2HPAScalingRules | [optional] |
from kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior
# TODO update the JSON string below
json = "{}"
# create an instance of V2HorizontalPodAutoscalerBehavior from a JSON string
v2_horizontal_pod_autoscaler_behavior_instance = V2HorizontalPodAutoscalerBehavior.from_json(json)
# print the JSON string representation of the object
print(V2HorizontalPodAutoscalerBehavior.to_json())
# convert the object into a dict
v2_horizontal_pod_autoscaler_behavior_dict = v2_horizontal_pod_autoscaler_behavior_instance.to_dict()
# create an instance of V2HorizontalPodAutoscalerBehavior from a dict
v2_horizontal_pod_autoscaler_behavior_from_dict = V2HorizontalPodAutoscalerBehavior.from_dict(v2_horizontal_pod_autoscaler_behavior_dict)