kubernetes_asyncio.client.models.v1_endpoint_subset 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_endpoint_subset.V1EndpointSubset(addresses=None, not_ready_addresses=None, ports=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.

property addresses

Gets the addresses of this V1EndpointSubset. # noqa: E501

IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize. # noqa: E501

Returns:

The addresses of this V1EndpointSubset. # noqa: E501

Return type:

list[V1EndpointAddress]

attribute_map = {'addresses': 'addresses', 'not_ready_addresses': 'notReadyAddresses', 'ports': 'ports'}
property not_ready_addresses

Gets the not_ready_addresses of this V1EndpointSubset. # noqa: E501

IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. # noqa: E501

Returns:

The not_ready_addresses of this V1EndpointSubset. # noqa: E501

Return type:

list[V1EndpointAddress]

openapi_types = {'addresses': 'list[V1EndpointAddress]', 'not_ready_addresses': 'list[V1EndpointAddress]', 'ports': 'list[CoreV1EndpointPort]'}
property ports

Gets the ports of this V1EndpointSubset. # noqa: E501

Port numbers available on the related IP addresses. # noqa: E501

Returns:

The ports of this V1EndpointSubset. # noqa: E501

Return type:

list[CoreV1EndpointPort]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model