Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.33 KB

File metadata and controls

29 lines (22 loc) · 1.33 KB

V1EndpointHints

EndpointHints provides hints describing how an endpoint should be consumed.

Properties

Name Type Description Notes
for_nodes List[V1ForNode] forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. [optional]
for_zones List[V1ForZone] forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. [optional]

Example

from kubernetes.client.models.v1_endpoint_hints import V1EndpointHints

# TODO update the JSON string below
json = "{}"
# create an instance of V1EndpointHints from a JSON string
v1_endpoint_hints_instance = V1EndpointHints.from_json(json)
# print the JSON string representation of the object
print(V1EndpointHints.to_json())

# convert the object into a dict
v1_endpoint_hints_dict = v1_endpoint_hints_instance.to_dict()
# create an instance of V1EndpointHints from a dict
v1_endpoint_hints_from_dict = V1EndpointHints.from_dict(v1_endpoint_hints_dict)

[Back to Model list] [Back to API list] [Back to README]