Skip to content

DnsServiceDiscovery

Source code in docs_src/capo_app_mesh/types/dns_service_discovery.py
class DnsServiceDiscovery(TypedDict, closed=True):
    hostname: "capo_app_mesh.types.hostname.Hostname"
    """<p>Specifies the DNS service discovery hostname for the virtual node. </p>"""
    response_type: NotRequired["capo_app_mesh.types.dns_response_type.DnsResponseType"]
    """<p>Specifies the DNS response type for the virtual node.</p>"""
    ip_preference: NotRequired["capo_app_mesh.types.ip_preference.IpPreference"]
    """<p>The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.</p>"""

hostname instance-attribute

hostname: Hostname

Specifies the DNS service discovery hostname for the virtual node.

ip_preference instance-attribute

ip_preference: NotRequired[IpPreference]

The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.

response_type instance-attribute

response_type: NotRequired[DnsResponseType]

Specifies the DNS response type for the virtual node.