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:
objectNOTE: 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:
- property external
Gets the external of this V2MetricStatus. # noqa: E501
- Returns:
The external of this V2MetricStatus. # noqa: E501
- Return type:
- property object
Gets the object of this V2MetricStatus. # noqa: E501
- Returns:
The object of this V2MetricStatus. # noqa: E501
- Return type:
- 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:
- property resource
Gets the resource of this V2MetricStatus. # noqa: E501
- Returns:
The resource of this V2MetricStatus. # noqa: E501
- Return type:
- 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