mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-03-22 02:56:51 +00:00
3.2 KiB
3.2 KiB
DynamicTestRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| links | DynamicTestLinks | [optional] | |
| agent_selector_config | EndpointAgentSelectorConfig | [optional] | |
| application | DynamicTestApplication | [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] [readonly] [default to True] |
| 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] [readonly] |
| has_ping | bool | Optional flag indicating if the test should run ping. | [optional] [default to True] |
| has_traceroute | bool | Optional flag indicating if the test should run traceroute. | [optional] [default to True] |
| 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] [readonly] |
| protocol | EndpointTestProtocol | [optional] | |
| tcp_probe_mode | TestProbeMode | [optional] [readonly] | |
| test_id | str | Each test is assigned a unique ID; this is used to access test information and results from other endpoints. | [optional] [readonly] |
| aid | EndpointTestAid | [optional] | |
| test_name | str | Name of the test. | [optional] |
| 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] |
| max_machines | int | Maximum number of agents which can execute this test. | [optional] |
Example
from tests_api.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_form_dict = dynamic_test_request.from_dict(dynamic_test_request_dict)