kubernetes_asyncio.client.models.v1_endpoint_hints 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_hints.V1EndpointHints(for_nodes=None, for_zones=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 = {'for_nodes': 'forNodes', 'for_zones': 'forZones'}
- property for_nodes
Gets the for_nodes of this V1EndpointHints. # noqa: E501
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled. # noqa: E501
- Returns:
The for_nodes of this V1EndpointHints. # noqa: E501
- Return type:
list[V1ForNode]
- property for_zones
Gets the for_zones of this V1EndpointHints. # noqa: E501
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. # noqa: E501
- Returns:
The for_zones of this V1EndpointHints. # noqa: E501
- Return type:
list[V1ForZone]
- openapi_types = {'for_nodes': 'list[V1ForNode]', 'for_zones': 'list[V1ForZone]'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model