mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-05 23:45:30 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.7 KiB
1.7 KiB
EndpointInstantTest
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. | |
| ip_version | EndpointIpVersionIn | [optional] |
Example
from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_instant_test import EndpointInstantTest
# TODO update the JSON string below
json = "{}"
# create an instance of EndpointInstantTest from a JSON string
endpoint_instant_test_instance = EndpointInstantTest.from_json(json)
# print the JSON string representation of the object
print(EndpointInstantTest.to_json())
# convert the object into a dict
endpoint_instant_test_dict = endpoint_instant_test_instance.to_dict()
# create an instance of EndpointInstantTest from a dict
endpoint_instant_test_from_dict = EndpointInstantTest.from_dict(endpoint_instant_test_dict)