thousandeyes-sdk-python/thousandeyes-sdk-tests/docs/SourceInterfaceTestRequest.md
api-team-automation[bot] d4b7ca82b7
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#193)
Co-authored-by: API Team <api-team@thousandeyes.com>
2026-09-08 13:15:25 +01:00

2.0 KiB

SourceInterfaceTestRequest

Properties

Name Type Description Notes
labels List[str] Contains list of test label IDs (get `labelId` from `/labels` endpoint) [optional]
tags List[str] Contains list of test tag IDs (get `id` from `/tags` endpoint). [optional]
shared_with_accounts List[str] Contains list of account group IDs. Test is shared with the listed account groups (get `aid` from `/account-groups` endpoint) [optional]
alert_rules List[str] List of alert rules IDs to apply to the test (get `ruleId` from `/alerts/rules` endpoint. If `alertsEnabled` is set to `true` and `alertRules` is not included on test creation or update, applicable user default alert rules will be used) [optional]
agents **List[TestAgentWithSourceIpRequest]** Agents assigned to the test. To select a source interface, set `sourceIpAddress` on the same object as its `agentId`.

Example

from thousandeyes_sdk.tests.models.source_interface_test_request import SourceInterfaceTestRequest

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

# convert the object into a dict
source_interface_test_request_dict = source_interface_test_request_instance.to_dict()
# create an instance of SourceInterfaceTestRequest from a dict
source_interface_test_request_from_dict = SourceInterfaceTestRequest.from_dict(source_interface_test_request_dict)

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