DnsServerMonitorConfiguration¶
-
class
oci.apm_synthetics.models.
DnsServerMonitorConfiguration
(**kwargs)¶ Bases:
oci.apm_synthetics.models.monitor_configuration.MonitorConfiguration
Request configuration details for the DNS Server 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_FTP_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 CONFIG_TYPE_SQL_CONFIG
str(object=’’) -> str PROTOCOL_TCP
A constant which can be used with the protocol property of a DnsServerMonitorConfiguration. PROTOCOL_UDP
A constant which can be used with the protocol property of a DnsServerMonitorConfiguration. RECORD_TYPE_A
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_AAAA
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_ANY
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_CNAME
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_DNSKEY
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_DS
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_MX
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_NS
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_NSEC
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_NULL_REC
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_PTR
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_RRSIG
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_SOA
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. RECORD_TYPE_TXT
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. 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. is_query_recursive
Gets the is_query_recursive of this DnsServerMonitorConfiguration. name_server
Gets the name_server of this DnsServerMonitorConfiguration. network_configuration
Gets the network_configuration of this DnsServerMonitorConfiguration. protocol
Gets the protocol of this DnsServerMonitorConfiguration. record_type
Gets the record_type of this DnsServerMonitorConfiguration. verify_response_content
Gets the verify_response_content of this DnsServerMonitorConfiguration. Methods
__init__
(**kwargs)Initializes a new DnsServerMonitorConfiguration 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_FTP_CONFIG
= 'FTP_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'¶
-
CONFIG_TYPE_SQL_CONFIG
= 'SQL_CONFIG'¶
-
PROTOCOL_TCP
= 'TCP'¶ A constant which can be used with the protocol property of a DnsServerMonitorConfiguration. This constant has a value of “TCP”
-
PROTOCOL_UDP
= 'UDP'¶ A constant which can be used with the protocol property of a DnsServerMonitorConfiguration. This constant has a value of “UDP”
-
RECORD_TYPE_A
= 'A'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “A”
-
RECORD_TYPE_AAAA
= 'AAAA'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “AAAA”
-
RECORD_TYPE_ANY
= 'ANY'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “ANY”
-
RECORD_TYPE_CNAME
= 'CNAME'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “CNAME”
-
RECORD_TYPE_DNSKEY
= 'DNSKEY'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “DNSKEY”
-
RECORD_TYPE_DS
= 'DS'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “DS”
-
RECORD_TYPE_MX
= 'MX'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “MX”
-
RECORD_TYPE_NS
= 'NS'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “NS”
-
RECORD_TYPE_NSEC
= 'NSEC'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration. This constant has a value of “PTR”
-
RECORD_TYPE_RRSIG
= 'RRSIG'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “RRSIG”
-
RECORD_TYPE_SOA
= 'SOA'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “SOA”
-
RECORD_TYPE_TXT
= 'TXT'¶ A constant which can be used with the record_type property of a DnsServerMonitorConfiguration. This constant has a value of “TXT”
-
__init__
(**kwargs)¶ Initializes a new DnsServerMonitorConfiguration object with values from keyword arguments. The default value of the
config_type
attribute of this class isDNS_SERVER_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 DnsServerMonitorConfiguration. 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”, “FTP_CONFIG”, “SQL_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 DnsServerMonitorConfiguration.
- dns_configuration (oci.apm_synthetics.models.DnsConfiguration) – The value to assign to the dns_configuration property of this DnsServerMonitorConfiguration.
- record_type (str) – The value to assign to the record_type property of this DnsServerMonitorConfiguration. 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’.
- name_server (str) – The value to assign to the name_server property of this DnsServerMonitorConfiguration.
- network_configuration (oci.apm_synthetics.models.NetworkConfiguration) – The value to assign to the network_configuration property of this DnsServerMonitorConfiguration.
- protocol (str) – The value to assign to the protocol property of this DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration.
- is_query_recursive (bool) – The value to assign to the is_query_recursive property of this DnsServerMonitorConfiguration.
-
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”, “FTP_CONFIG”, “SQL_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
-
is_query_recursive
¶ Gets the is_query_recursive of this DnsServerMonitorConfiguration. If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
Returns: The is_query_recursive of this DnsServerMonitorConfiguration. Return type: bool
-
name_server
¶ Gets the name_server of this DnsServerMonitorConfiguration. Name of the server that will be used to perform DNS lookup.
Returns: The name_server of this DnsServerMonitorConfiguration. Return type: str
-
network_configuration
¶ Gets the network_configuration of this DnsServerMonitorConfiguration.
Returns: The network_configuration of this DnsServerMonitorConfiguration. Return type: oci.apm_synthetics.models.NetworkConfiguration
-
protocol
¶ Gets the protocol of this DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration. Return type: str
-
record_type
¶ Gets the record_type of this DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration. Return type: str
-
verify_response_content
¶ Gets the verify_response_content of this DnsServerMonitorConfiguration. 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 DnsServerMonitorConfiguration. Return type: str
-