thousandeyes-sdk-python/thousandeyes-sdk-tests/docs/DnsServerTest.md
2024-09-25 07:39:02 +00:00

4.2 KiB

DnsServerTest

Properties

Name Type Description Notes
interval TestInterval
alerts_enabled bool Indicates if alerts are enabled. [optional]
enabled bool Test is enabled. [optional] [default to True]
alert_rules **List[AlertRule]** Contains list of enabled alert rule objects. [optional]
created_by str User that created the test. [optional] [readonly]
created_date datetime UTC created date (ISO date-time format). [optional] [readonly]
description str A description of the test. [optional]
live_share bool Indicates if the test is shared with the account group. [optional] [readonly]
modified_by str User that modified the test. [optional] [readonly]
modified_date datetime UTC last modification date (ISO date-time format). [optional] [readonly]
saved_event bool Indicates if the test is a saved event. [optional] [readonly]
test_id str Each test is assigned an unique ID; this is used to access test information and results from other endpoints. [optional] [readonly]
test_name str The name of the test. Test name must be unique. [optional]
type str [optional] [readonly]
links TestLinks [optional]
labels **List[TestLabel]** [optional] [readonly]
shared_with_accounts **List[SharedWithAccount]** [optional] [readonly]
bandwidth_measurements bool Set to `true` to enable bandwidth measurements, only applies to Enterprise agents assigned to the test. [optional]
dns_servers **List[TestDnsServer]**
dns_transport_protocol TestDnsTransportProtocol [optional]
domain str The target record for the test, with the record type suffixed. If no record type is specified, the test defaults to an ANY record.
mtu_measurements bool Set `true` to measure MTU sizes on network from agents to the target. [optional]
network_measurements bool Enable or disable network measurements. Set to true to enable or false to disable network measurements. [optional] [default to True]
num_path_traces int Number of path traces executed by the agent. [optional] [default to 3]
path_trace_mode TestPathTraceMode [optional]
probe_mode TestProbeMode [optional]
protocol TestProtocol [optional]
recursive_queries bool Set true to run query with RD (recursion desired) flag enabled. [optional]
ipv6_policy TestIpv6Policy [optional]
fixed_packet_rate int Sets packets rate sent to measure the network in packets per second. [optional]
dns_query_class DnsQueryClass [optional]
bgp_measurements bool Set to `true` to enable bgp measurements. [optional] [default to True]
use_public_bgp bool Indicate if all available public BGP monitors should be used, when ommited defaults to `bgpMeasurements` value. [optional] [default to True]
monitors **List[Monitor]** Contains list of enabled BGP monitors. [optional] [readonly]

Example

from thousandeyes_sdk.tests.models.dns_server_test import DnsServerTest

# TODO update the JSON string below
json = "{}"
# create an instance of DnsServerTest from a JSON string
dns_server_test_instance = DnsServerTest.from_json(json)
# print the JSON string representation of the object
print(DnsServerTest.to_json())

# convert the object into a dict
dns_server_test_dict = dns_server_test_instance.to_dict()
# create an instance of DnsServerTest from a dict
dns_server_test_from_dict = DnsServerTest.from_dict(dns_server_test_dict)

[Back to Model list] [Back to API list] [Back to README]