kubernetes_asyncio.client.models.v2_container_resource_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_container_resource_metric_status.V2ContainerResourceMetricStatus(container=None, current=None, name=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': 'container', 'current': 'current', 'name': 'name'}
property container

Gets the container of this V2ContainerResourceMetricStatus. # noqa: E501

container is the name of the container in the pods of the scaling target # noqa: E501

Returns:

The container of this V2ContainerResourceMetricStatus. # noqa: E501

Return type:

str

property current

Gets the current of this V2ContainerResourceMetricStatus. # noqa: E501

Returns:

The current of this V2ContainerResourceMetricStatus. # noqa: E501

Return type:

V2MetricValueStatus

property name

Gets the name of this V2ContainerResourceMetricStatus. # noqa: E501

name is the name of the resource in question. # noqa: E501

Returns:

The name of this V2ContainerResourceMetricStatus. # noqa: E501

Return type:

str

openapi_types = {'container': 'str', 'current': 'V2MetricValueStatus', 'name': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model