kubernetes_asyncio.client.models.v1_host_alias 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_host_alias.V1HostAlias(hostnames=None, ip=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 = {'hostnames': 'hostnames', 'ip': 'ip'}
property hostnames

Gets the hostnames of this V1HostAlias. # noqa: E501

Hostnames for the above IP address. # noqa: E501

Returns:

The hostnames of this V1HostAlias. # noqa: E501

Return type:

list[str]

property ip

Gets the ip of this V1HostAlias. # noqa: E501

IP address of the host file entry. # noqa: E501

Returns:

The ip of this V1HostAlias. # noqa: E501

Return type:

str

openapi_types = {'hostnames': 'list[str]', 'ip': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model