DnsServerMonitorConfiguration¶
- class oci.apm_synthetics.models.DnsServerMonitorConfiguration(**kwargs)¶
Bases:
MonitorConfigurationRequest configuration details for the DNS Server monitor type.
Attributes:
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the config_type property of a MonitorConfiguration.
A constant which can be used with the protocol property of a DnsServerMonitorConfiguration.
A constant which can be used with the protocol property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
A constant which can be used with the record_type property of a DnsServerMonitorConfiguration.
Gets the config_type of this MonitorConfiguration.
Gets the dns_configuration of this MonitorConfiguration.
Gets the is_failure_retried of this MonitorConfiguration.
Gets the is_query_recursive of this DnsServerMonitorConfiguration.
Gets the name_server of this DnsServerMonitorConfiguration.
Gets the network_configuration of this DnsServerMonitorConfiguration.
Gets the protocol of this DnsServerMonitorConfiguration.
Gets the record_type of this DnsServerMonitorConfiguration.
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'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “BROWSER_CONFIG”
- CONFIG_TYPE_DNSSEC_CONFIG = 'DNSSEC_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNSSEC_CONFIG”
- CONFIG_TYPE_DNS_SERVER_CONFIG = 'DNS_SERVER_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNS_SERVER_CONFIG”
- CONFIG_TYPE_DNS_TRACE_CONFIG = 'DNS_TRACE_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNS_TRACE_CONFIG”
- CONFIG_TYPE_FTP_CONFIG = 'FTP_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “FTP_CONFIG”
- CONFIG_TYPE_NETWORK_CONFIG = 'NETWORK_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “NETWORK_CONFIG”
- CONFIG_TYPE_REST_CONFIG = 'REST_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “REST_CONFIG”
- CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG = 'SCRIPTED_BROWSER_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “SCRIPTED_BROWSER_CONFIG”
- CONFIG_TYPE_SCRIPTED_REST_CONFIG = 'SCRIPTED_REST_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “SCRIPTED_REST_CONFIG”
- CONFIG_TYPE_SQL_CONFIG = 'SQL_CONFIG'¶
A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “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_typeattribute of this class isDNS_SERVER_CONFIGand 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.
- property 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
- property dns_configuration¶
Gets the dns_configuration of this MonitorConfiguration.
- Returns
The dns_configuration of this MonitorConfiguration.
- Return type
- 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.
- property 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
- property 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
- property 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
- property network_configuration¶
Gets the network_configuration of this DnsServerMonitorConfiguration.
- Returns
The network_configuration of this DnsServerMonitorConfiguration.
- Return type
- property 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
- property 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
- property 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