Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.29 KB

File metadata and controls

30 lines (23 loc) · 1.29 KB

V2ObjectMetricStatus

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Properties

Name Type Description Notes
current V2MetricValueStatus
described_object V2CrossVersionObjectReference
metric V2MetricIdentifier

Example

from kubernetes.client.models.v2_object_metric_status import V2ObjectMetricStatus

# TODO update the JSON string below
json = "{}"
# create an instance of V2ObjectMetricStatus from a JSON string
v2_object_metric_status_instance = V2ObjectMetricStatus.from_json(json)
# print the JSON string representation of the object
print(V2ObjectMetricStatus.to_json())

# convert the object into a dict
v2_object_metric_status_dict = v2_object_metric_status_instance.to_dict()
# create an instance of V2ObjectMetricStatus from a dict
v2_object_metric_status_from_dict = V2ObjectMetricStatus.from_dict(v2_object_metric_status_dict)

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