DnsHealthCheckerDetails

class oci.network_load_balancer.models.DnsHealthCheckerDetails(**kwargs)

Bases: object

DNS healthcheck configurations.

Attributes

QUERY_CLASS_CH A constant which can be used with the query_class property of a DnsHealthCheckerDetails.
QUERY_CLASS_IN A constant which can be used with the query_class property of a DnsHealthCheckerDetails.
QUERY_TYPE_A A constant which can be used with the query_type property of a DnsHealthCheckerDetails.
QUERY_TYPE_AAAA A constant which can be used with the query_type property of a DnsHealthCheckerDetails.
QUERY_TYPE_TXT A constant which can be used with the query_type property of a DnsHealthCheckerDetails.
TRANSPORT_PROTOCOL_TCP A constant which can be used with the transport_protocol property of a DnsHealthCheckerDetails.
TRANSPORT_PROTOCOL_UDP A constant which can be used with the transport_protocol property of a DnsHealthCheckerDetails.
domain_name [Required] Gets the domain_name of this DnsHealthCheckerDetails.
query_class Gets the query_class of this DnsHealthCheckerDetails.
query_type Gets the query_type of this DnsHealthCheckerDetails.
rcodes Gets the rcodes of this DnsHealthCheckerDetails.
transport_protocol Gets the transport_protocol of this DnsHealthCheckerDetails.

Methods

__init__(**kwargs) Initializes a new DnsHealthCheckerDetails object with values from keyword arguments.
QUERY_CLASS_CH = 'CH'

A constant which can be used with the query_class property of a DnsHealthCheckerDetails. This constant has a value of “CH”

QUERY_CLASS_IN = 'IN'

A constant which can be used with the query_class property of a DnsHealthCheckerDetails. This constant has a value of “IN”

QUERY_TYPE_A = 'A'

A constant which can be used with the query_type property of a DnsHealthCheckerDetails. This constant has a value of “A”

QUERY_TYPE_AAAA = 'AAAA'

A constant which can be used with the query_type property of a DnsHealthCheckerDetails. This constant has a value of “AAAA”

QUERY_TYPE_TXT = 'TXT'

A constant which can be used with the query_type property of a DnsHealthCheckerDetails. This constant has a value of “TXT”

TRANSPORT_PROTOCOL_TCP = 'TCP'

A constant which can be used with the transport_protocol property of a DnsHealthCheckerDetails. This constant has a value of “TCP”

TRANSPORT_PROTOCOL_UDP = 'UDP'

A constant which can be used with the transport_protocol property of a DnsHealthCheckerDetails. This constant has a value of “UDP”

__init__(**kwargs)

Initializes a new DnsHealthCheckerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • transport_protocol (str) – The value to assign to the transport_protocol property of this DnsHealthCheckerDetails. Allowed values for this property are: “UDP”, “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • domain_name (str) – The value to assign to the domain_name property of this DnsHealthCheckerDetails.
  • query_class (str) – The value to assign to the query_class property of this DnsHealthCheckerDetails. Allowed values for this property are: “IN”, “CH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • query_type (str) – The value to assign to the query_type property of this DnsHealthCheckerDetails. Allowed values for this property are: “A”, “TXT”, “AAAA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • rcodes (list[oci.network_load_balancer.models.DnsHealthCheckRCodes]) – The value to assign to the rcodes property of this DnsHealthCheckerDetails.
domain_name

[Required] Gets the domain_name of this DnsHealthCheckerDetails. The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.

Returns:The domain_name of this DnsHealthCheckerDetails.
Return type:str
query_class

Gets the query_class of this DnsHealthCheckerDetails. The class the dns health check query to use; either IN or CH.

Example: IN

Allowed values for this property are: “IN”, “CH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The query_class of this DnsHealthCheckerDetails.
Return type:str
query_type

Gets the query_type of this DnsHealthCheckerDetails. The type the dns health check query to use; A, AAAA, TXT.

Example: A

Allowed values for this property are: “A”, “TXT”, “AAAA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The query_type of this DnsHealthCheckerDetails.
Return type:str
rcodes

Gets the rcodes of this DnsHealthCheckerDetails. An array that represents accepetable RCODE values for DNS query response. Example: [“NOERROR”, “NXDOMAIN”]

Returns:The rcodes of this DnsHealthCheckerDetails.
Return type:list[oci.network_load_balancer.models.DnsHealthCheckRCodes]
transport_protocol

Gets the transport_protocol of this DnsHealthCheckerDetails. DNS transport protocol; either UDP or TCP.

Example: UDP

Allowed values for this property are: “UDP”, “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The transport_protocol of this DnsHealthCheckerDetails.
Return type:str