mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
3.6 KiB
3.6 KiB
AgentToAgentInstantTest
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]** | [optional] [readonly] | |
| shared_with_accounts | **List[SharedWithAccount]** | [optional] [readonly] | |
| direction | TestDirection | [optional] | |
| dscp | str | DSCP label. | [optional] [readonly] |
| dscp_id | TestDscpId | [optional] | |
| mss | int | Maximum segment size, in bytes. | [optional] |
| num_path_traces | int | Number of path traces executed by the agent. | [optional] [default to 3] |
| path_trace_mode | TestPathTraceMode | [optional] | |
| port | int | Target port. | [optional] [default to 49153] |
| protocol | AgentToAgentTestProtocol | [optional] | |
| randomized_start_time | bool | Indicates whether agents should randomize the start time in each test round. | [optional] [default to False] |
| target_agent_id | str | `agentId` of the target agent for the test. | |
| throughput_measurements | bool | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] |
| throughput_duration | int | The throughput duration. | [optional] [default to 10000] |
| throughput_rate | int | The throughput rate, only applicable for UDP protocol. | [optional] |
| fixed_packet_rate | int | Sets packets rate sent to measure the network in packets per second. | [optional] |
Example
from thousandeyes_sdk.instant_tests.models.agent_to_agent_instant_test import AgentToAgentInstantTest
# TODO update the JSON string below
json = "{}"
# create an instance of AgentToAgentInstantTest from a JSON string
agent_to_agent_instant_test_instance = AgentToAgentInstantTest.from_json(json)
# print the JSON string representation of the object
print(AgentToAgentInstantTest.to_json())
# convert the object into a dict
agent_to_agent_instant_test_dict = agent_to_agent_instant_test_instance.to_dict()
# create an instance of AgentToAgentInstantTest from a dict
agent_to_agent_instant_test_from_dict = AgentToAgentInstantTest.from_dict(agent_to_agent_instant_test_dict)