DnsTraceMonitorConfiguration

class oci.apm_synthetics.models.DnsTraceMonitorConfiguration(**kwargs)

Bases: oci.apm_synthetics.models.monitor_configuration.MonitorConfiguration

Request configuration details for the DNS Trace monitor type.

Attributes

CONFIG_TYPE_BROWSER_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNSSEC_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNS_SERVER_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNS_TRACE_CONFIG str(object=’’) -> str
CONFIG_TYPE_NETWORK_CONFIG str(object=’’) -> str
CONFIG_TYPE_REST_CONFIG str(object=’’) -> str
CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG str(object=’’) -> str
CONFIG_TYPE_SCRIPTED_REST_CONFIG str(object=’’) -> str
PROTOCOL_TCP A constant which can be used with the protocol property of a DnsTraceMonitorConfiguration.
PROTOCOL_UDP A constant which can be used with the protocol property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_A A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_AAAA A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_ANY A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_CNAME A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_DNSKEY A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_DS A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_MX A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_NS A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_NSEC A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_NULL_REC A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_PTR A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_RRSIG A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_SOA A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
RECORD_TYPE_TXT A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration.
config_type Gets the config_type of this MonitorConfiguration.
dns_configuration Gets the dns_configuration of this MonitorConfiguration.
is_failure_retried Gets the is_failure_retried of this MonitorConfiguration.
protocol Gets the protocol of this DnsTraceMonitorConfiguration.
record_type Gets the record_type of this DnsTraceMonitorConfiguration.
verify_response_content Gets the verify_response_content of this DnsTraceMonitorConfiguration.

Methods

__init__(**kwargs) Initializes a new DnsTraceMonitorConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CONFIG_TYPE_BROWSER_CONFIG = 'BROWSER_CONFIG'
CONFIG_TYPE_DNSSEC_CONFIG = 'DNSSEC_CONFIG'
CONFIG_TYPE_DNS_SERVER_CONFIG = 'DNS_SERVER_CONFIG'
CONFIG_TYPE_DNS_TRACE_CONFIG = 'DNS_TRACE_CONFIG'
CONFIG_TYPE_NETWORK_CONFIG = 'NETWORK_CONFIG'
CONFIG_TYPE_REST_CONFIG = 'REST_CONFIG'
CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG = 'SCRIPTED_BROWSER_CONFIG'
CONFIG_TYPE_SCRIPTED_REST_CONFIG = 'SCRIPTED_REST_CONFIG'
PROTOCOL_TCP = 'TCP'

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

PROTOCOL_UDP = 'UDP'

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

RECORD_TYPE_A = 'A'

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

RECORD_TYPE_AAAA = 'AAAA'

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

RECORD_TYPE_ANY = 'ANY'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “ANY”

RECORD_TYPE_CNAME = 'CNAME'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “CNAME”

RECORD_TYPE_DNSKEY = 'DNSKEY'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “DNSKEY”

RECORD_TYPE_DS = 'DS'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “DS”

RECORD_TYPE_MX = 'MX'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “MX”

RECORD_TYPE_NS = 'NS'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “NS”

RECORD_TYPE_NSEC = 'NSEC'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “NSEC”

RECORD_TYPE_NULL_REC = 'NULL_REC'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “NULL_REC”

RECORD_TYPE_PTR = 'PTR'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “PTR”

RECORD_TYPE_RRSIG = 'RRSIG'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “RRSIG”

RECORD_TYPE_SOA = 'SOA'

A constant which can be used with the record_type property of a DnsTraceMonitorConfiguration. This constant has a value of “SOA”

RECORD_TYPE_TXT = 'TXT'

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

__init__(**kwargs)

Initializes a new DnsTraceMonitorConfiguration object with values from keyword arguments. The default value of the config_type attribute of this class is DNS_TRACE_CONFIG and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • config_type (str) – The value to assign to the config_type property of this DnsTraceMonitorConfiguration. Allowed values for this property are: “BROWSER_CONFIG”, “SCRIPTED_BROWSER_CONFIG”, “REST_CONFIG”, “SCRIPTED_REST_CONFIG”, “NETWORK_CONFIG”, “DNS_SERVER_CONFIG”, “DNS_TRACE_CONFIG”, “DNSSEC_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_failure_retried (bool) – The value to assign to the is_failure_retried property of this DnsTraceMonitorConfiguration.
  • dns_configuration (oci.apm_synthetics.models.DnsConfiguration) – The value to assign to the dns_configuration property of this DnsTraceMonitorConfiguration.
  • record_type (str) – The value to assign to the record_type property of this DnsTraceMonitorConfiguration. Allowed values for this property are: “A”, “AAAA”, “ANY”, “CNAME”, “DNSKEY”, “DS”, “MX”, “NS”, “NSEC”, “NULL_REC”, “PTR”, “RRSIG”, “SOA”, “TXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • protocol (str) – The value to assign to the protocol property of this DnsTraceMonitorConfiguration. Allowed values for this property are: “TCP”, “UDP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • verify_response_content (str) – The value to assign to the verify_response_content property of this DnsTraceMonitorConfiguration.
config_type

Gets the config_type of this MonitorConfiguration. Type of configuration.

Allowed values for this property are: “BROWSER_CONFIG”, “SCRIPTED_BROWSER_CONFIG”, “REST_CONFIG”, “SCRIPTED_REST_CONFIG”, “NETWORK_CONFIG”, “DNS_SERVER_CONFIG”, “DNS_TRACE_CONFIG”, “DNSSEC_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The config_type of this MonitorConfiguration.
Return type:str
dns_configuration

Gets the dns_configuration of this MonitorConfiguration.

Returns:The dns_configuration of this MonitorConfiguration.
Return type:oci.apm_synthetics.models.DnsConfiguration
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_failure_retried

Gets the is_failure_retried of this MonitorConfiguration. If isFailureRetried is enabled, then a failed call will be retried.

Returns:The is_failure_retried of this MonitorConfiguration.
Return type:bool
protocol

Gets the protocol of this DnsTraceMonitorConfiguration. Type of protocol.

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

Returns:The protocol of this DnsTraceMonitorConfiguration.
Return type:str
record_type

Gets the record_type of this DnsTraceMonitorConfiguration. DNS record type.

Allowed values for this property are: “A”, “AAAA”, “ANY”, “CNAME”, “DNSKEY”, “DS”, “MX”, “NS”, “NSEC”, “NULL_REC”, “PTR”, “RRSIG”, “SOA”, “TXT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The record_type of this DnsTraceMonitorConfiguration.
Return type:str
verify_response_content

Gets the verify_response_content of this DnsTraceMonitorConfiguration. Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.

Returns:The verify_response_content of this DnsTraceMonitorConfiguration.
Return type:str