kubernetes_asyncio.client.models.v1_pod_dns_config 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_pod_dns_config.V1PodDNSConfig(nameservers=None, options=None, searches=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 = {'nameservers': 'nameservers', 'options': 'options', 'searches': 'searches'}
property nameservers

Gets the nameservers of this V1PodDNSConfig. # noqa: E501

A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. # noqa: E501

Returns:

The nameservers of this V1PodDNSConfig. # noqa: E501

Return type:

list[str]

openapi_types = {'nameservers': 'list[str]', 'options': 'list[V1PodDNSConfigOption]', 'searches': 'list[str]'}
property options

Gets the options of this V1PodDNSConfig. # noqa: E501

A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. # noqa: E501

Returns:

The options of this V1PodDNSConfig. # noqa: E501

Return type:

list[V1PodDNSConfigOption]

property searches

Gets the searches of this V1PodDNSConfig. # noqa: E501

A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. # noqa: E501

Returns:

The searches of this V1PodDNSConfig. # noqa: E501

Return type:

list[str]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model