Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.58 KB

File metadata and controls

33 lines (26 loc) · 1.58 KB

V2MetricStatus

MetricStatus describes the last-read state of a single metric.

Properties

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.

Example

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)

[Back to Model list] [Back to API list] [Back to README]