kubernetes_asyncio.client.models.v2_metric_status module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v2_metric_status.V2MetricStatus(container_resource=None, external=None, object=None, pods=None, resource=None, type=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'container_resource': 'containerResource', 'external': 'external', 'object': 'object', 'pods': 'pods', 'resource': 'resource', 'type': 'type'}
property container_resource

Gets the container_resource of this V2MetricStatus. # noqa: E501

Returns:

The container_resource of this V2MetricStatus. # noqa: E501

Return type:

V2ContainerResourceMetricStatus

property external

Gets the external of this V2MetricStatus. # noqa: E501

Returns:

The external of this V2MetricStatus. # noqa: E501

Return type:

V2ExternalMetricStatus

property object

Gets the object of this V2MetricStatus. # noqa: E501

Returns:

The object of this V2MetricStatus. # noqa: E501

Return type:

V2ObjectMetricStatus

openapi_types = {'container_resource': 'V2ContainerResourceMetricStatus', 'external': 'V2ExternalMetricStatus', 'object': 'V2ObjectMetricStatus', 'pods': 'V2PodsMetricStatus', 'resource': 'V2ResourceMetricStatus', 'type': 'str'}
property pods

Gets the pods of this V2MetricStatus. # noqa: E501

Returns:

The pods of this V2MetricStatus. # noqa: E501

Return type:

V2PodsMetricStatus

property resource

Gets the resource of this V2MetricStatus. # noqa: E501

Returns:

The resource of this V2MetricStatus. # noqa: E501

Return type:

V2ResourceMetricStatus

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property type

Gets the type of this V2MetricStatus. # noqa: E501

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. # noqa: E501

Returns:

The type of this V2MetricStatus. # noqa: E501

Return type:

str