MetricStatus describes the last-read state of a single metric.
| Name | Type | Description | Notes |
|---|---|---|---|
| container_resource | V2ContainerResourceMetricStatus | [optional] | |
| external | V2ExternalMetricStatus | [optional] | |
| object | V2ObjectMetricStatus | [optional] | |
| pods | V2PodsMetricStatus | [optional] | |
| resource | V2ResourceMetricStatus | [optional] | |
| type | str | type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. |
from kubernetes.client.models.v2_metric_status import V2MetricStatus
# TODO update the JSON string below
json = "{}"
# create an instance of V2MetricStatus from a JSON string
v2_metric_status_instance = V2MetricStatus.from_json(json)
# print the JSON string representation of the object
print(V2MetricStatus.to_json())
# convert the object into a dict
v2_metric_status_dict = v2_metric_status_instance.to_dict()
# create an instance of V2MetricStatus from a dict
v2_metric_status_from_dict = V2MetricStatus.from_dict(v2_metric_status_dict)