mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
3.2 KiB
3.2 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] |
| is_prioritized | bool | Indicates whether the test should be prioritized when the number of tests assigned to an agent exceeds the license limit. | [optional] [default to False] |
| 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. Note: Saved Events are now called Private Snapshots in the user interface. This change does not affect API. | [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] |
| labels | **List[TestLabel]** | Labels to which the test is assigned. This field is not returned for Instant Tests. | [optional] [readonly] |
| 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] |
| protocol | EndpointTestProtocol | [optional] | |
| ip_version | EndpointIpVersionTemplate | [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] | |
| port | int | Port number. | [optional] [default to 443] |
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)