kubernetes_asyncio.client.models.v1_resource_health 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.v1_resource_health.V1ResourceHealth(health=None, resource_id=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 = {'health': 'health', 'resource_id': 'resourceID'}
property health

Gets the health of this V1ResourceHealth. # noqa: E501

Health of the resource. can be one of: - Healthy: operates as normal - Unhealthy: reported unhealthy. We consider this a temporary health issue since we do not have a mechanism today to distinguish temporary and permanent issues. - Unknown: The status cannot be determined. For example, Device Plugin got unregistered and hasn’t been re-registered since. In future we may want to introduce the PermanentlyUnhealthy Status. # noqa: E501

Returns:

The health of this V1ResourceHealth. # noqa: E501

Return type:

str

openapi_types = {'health': 'str', 'resource_id': 'str'}
property resource_id

Gets the resource_id of this V1ResourceHealth. # noqa: E501

ResourceID is the unique identifier of the resource. See the ResourceID type for more information. # noqa: E501

Returns:

The resource_id of this V1ResourceHealth. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model