thousandeyes-sdk-python/thousandeyes-sdk-endpoint-tests/docs/EndpointTest.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

2.8 KiB

EndpointTest

Properties

Name Type Description Notes
aid str A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. [optional]
links EndpointTestLinks [optional]
agent_selector_config EndpointAgentSelectorConfig [optional]
created_date datetime UTC created date (ISO date-time format). [optional] [readonly]
interval TestInterval [optional]
is_enabled bool Indicates if test is enabled. [optional] [default to True]
is_saved_event bool Indicates if the test is a saved event. [optional] [readonly]
has_path_trace_in_session bool Enables "in session" path trace. When enabled, this option initiates a TCP session with the target server and sends path trace packets within the established TCP session. [optional]
modified_date datetime UTC last modification date (ISO date-time format). [optional] [readonly]
network_measurements bool Enable or disable network measurements. Set to true to enable or false to disable network measurements. [optional] [default to True]
port int Port number, if not specified, the port is selected based on a protocol (HTTP 80, HTTPS 443). [optional]
protocol EndpointTestProtocol [optional]
server str Target domain name or IP address. [optional]
test_id str Each test is assigned a unique ID to access test data from other endpoints. [optional] [readonly]
test_name str Name of the test. [optional]
type EndpointScheduledTestType
tcp_probe_mode TestProbeModeResponse [optional]
alert_rules **List[AlertRule]** Contains list of enabled alert rule objects. [optional]

Example

from thousandeyes_sdk.endpoint_tests.models.endpoint_test import EndpointTest

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

# convert the object into a dict
endpoint_test_dict = endpoint_test_instance.to_dict()
# create an instance of EndpointTest from a dict
endpoint_test_from_dict = EndpointTest.from_dict(endpoint_test_dict)

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