thousandeyes-sdk-python/thousandeyes-sdk-endpoint-tests/docs/EndpointAgentToServerInstantTest.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.2 KiB

EndpointAgentToServerInstantTest

Properties

Name Type Description Notes
agent_selector_type EndpointTestAgentSelectorType
agents List[str] List of endpoint agent IDs (obtained from `/endpoint/agents` endpoint). Required when `agentSelectorType` is set to `specific-agent`. [optional]
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]
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 the test.
port int Port number, if not specified, the port is selected based on a protocol (HTTP 80, HTTPS 443). [optional]
test_name str Name of the test.
server_name str A server address without a protocol or IP address.

Example

from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_instant_test import EndpointAgentToServerInstantTest

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

# convert the object into a dict
endpoint_agent_to_server_instant_test_dict = endpoint_agent_to_server_instant_test_instance.to_dict()
# create an instance of EndpointAgentToServerInstantTest from a dict
endpoint_agent_to_server_instant_test_from_dict = EndpointAgentToServerInstantTest.from_dict(endpoint_agent_to_server_instant_test_dict)

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