ContainerResizePolicy represents resource resize policy for the container.
| Name | Type | Description | Notes |
|---|---|---|---|
| resource_name | str | Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. | |
| restart_policy | str | Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. |
from kubernetes.client.models.v1_container_resize_policy import V1ContainerResizePolicy
# TODO update the JSON string below
json = "{}"
# create an instance of V1ContainerResizePolicy from a JSON string
v1_container_resize_policy_instance = V1ContainerResizePolicy.from_json(json)
# print the JSON string representation of the object
print(V1ContainerResizePolicy.to_json())
# convert the object into a dict
v1_container_resize_policy_dict = v1_container_resize_policy_instance.to_dict()
# create an instance of V1ContainerResizePolicy from a dict
v1_container_resize_policy_from_dict = V1ContainerResizePolicy.from_dict(v1_container_resize_policy_dict)