kubernetes_asyncio.client.models.v1_endpoint_address 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_address.V1EndpointAddress(hostname=None, ip=None, node_name=None, target_ref=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 = {'hostname': 'hostname', 'ip': 'ip', 'node_name': 'nodeName', 'target_ref': 'targetRef'}
property hostname

Gets the hostname of this V1EndpointAddress. # noqa: E501

The Hostname of this endpoint # noqa: E501

Returns:

The hostname of this V1EndpointAddress. # noqa: E501

Return type:

str

property ip

Gets the ip of this V1EndpointAddress. # noqa: E501

The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16). # noqa: E501

Returns:

The ip of this V1EndpointAddress. # noqa: E501

Return type:

str

property node_name

Gets the node_name of this V1EndpointAddress. # noqa: E501

Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. # noqa: E501

Returns:

The node_name of this V1EndpointAddress. # noqa: E501

Return type:

str

openapi_types = {'hostname': 'str', 'ip': 'str', 'node_name': 'str', 'target_ref': 'V1ObjectReference'}
property target_ref

Gets the target_ref of this V1EndpointAddress. # noqa: E501

Returns:

The target_ref of this V1EndpointAddress. # noqa: E501

Return type:

V1ObjectReference

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model