mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
2.2 KiB
2.2 KiB
DynamicTestRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| agent_selector_type | EndpointTestAgentSelectorType | [optional] | |
| agents | List[str] | List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. | [optional] |
| endpoint_agent_labels | List[str] | List of endpoint agent label IDs (obtained from `/endpoint/labels` endpoint), required when `agentSelectorType` is set to `agent-labels`. | [optional] |
| interval | TestInterval | [optional] | |
| max_machines | int | Maximum number of agents which can execute the test. | [optional] [default to 25] |
| application | str | Which supported application to monitor, can be one of `webex`, `zoom`, `microsoft-teams`. | |
| protocol | EndpointTestProtocol | [optional] | |
| tcp_probe_mode | TestProbeMode | [optional] | |
| test_name | str | Name of the test. | |
| 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] |
Example
from thousandeyes_sdk.endpoint_tests.models.dynamic_test_request import DynamicTestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of DynamicTestRequest from a JSON string
dynamic_test_request_instance = DynamicTestRequest.from_json(json)
# print the JSON string representation of the object
print(DynamicTestRequest.to_json())
# convert the object into a dict
dynamic_test_request_dict = dynamic_test_request_instance.to_dict()
# create an instance of DynamicTestRequest from a dict
dynamic_test_request_from_dict = DynamicTestRequest.from_dict(dynamic_test_request_dict)