mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
2.8 KiB
2.8 KiB
DnsTraceInstantTest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| 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. Note: Saved Events are now called Private Snapshots in the user interface. This change does not affect API. | [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]** | Labels to which the test is assigned. This field is not returned for Instant Tests. | [optional] [readonly] |
| shared_with_accounts | **List[SharedWithAccount]** | [optional] [readonly] | |
| 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. | |
| dns_query_class | DnsQueryClass | [optional] | |
| randomized_start_time | bool | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] |
Example
from thousandeyes_sdk.instant_tests.models.dns_trace_instant_test import DnsTraceInstantTest
# TODO update the JSON string below
json = "{}"
# create an instance of DnsTraceInstantTest from a JSON string
dns_trace_instant_test_instance = DnsTraceInstantTest.from_json(json)
# print the JSON string representation of the object
print(DnsTraceInstantTest.to_json())
# convert the object into a dict
dns_trace_instant_test_dict = dns_trace_instant_test_instance.to_dict()
# create an instance of DnsTraceInstantTest from a dict
dns_trace_instant_test_from_dict = DnsTraceInstantTest.from_dict(dns_trace_instant_test_dict)