mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
2.1 KiB
2.1 KiB
EndpointAgentToServerTestRequest
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] |
| max_machines | int | Maximum number of agents which can execute the test. | [optional] [default to 25] |
| test_name | str | Name of the test. | |
| server_name | str | A server address without a protocol or IP address. | |
| port | int | Port number. | [optional] [default to 443] |
| interval | TestInterval | [optional] | |
| protocol | EndpointTestProtocol | [optional] |
Example
from thousandeyes_sdk.endpoint_tests.models.endpoint_agent_to_server_test_request import EndpointAgentToServerTestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointAgentToServerTestRequest from a JSON string
endpoint_agent_to_server_test_request_instance = EndpointAgentToServerTestRequest.from_json(json)
# print the JSON string representation of the object
print(EndpointAgentToServerTestRequest.to_json())
# convert the object into a dict
endpoint_agent_to_server_test_request_dict = endpoint_agent_to_server_test_request_instance.to_dict()
# create an instance of EndpointAgentToServerTestRequest from a dict
endpoint_agent_to_server_test_request_from_dict = EndpointAgentToServerTestRequest.from_dict(endpoint_agent_to_server_test_request_dict)