mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-09-19 08:03:56 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.8 KiB
1.8 KiB
SourceInterfaceInstantTestRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| labels | List[str] | A list of test label identifiers (get `labelId` from `/labels` endpoint). | [optional] |
| tags | List[str] | A list of test tag identifiers (get `id` from `/tags` endpoint). | [optional] |
| shared_with_accounts | List[str] | A list of account group identifiers that the test is shared with (get `aid` from `/account-groups` endpoint). | [optional] |
| agents | **List[TestAgentWithSourceIpAddress]** | Agents assigned to the test. To select a source interface, set `sourceIpAddress` on the same object as its `agentId`. |
Example
from thousandeyes_sdk.instant_tests.models.source_interface_instant_test_request import SourceInterfaceInstantTestRequest
# TODO update the JSON string below
json = "{}"
# create an instance of SourceInterfaceInstantTestRequest from a JSON string
source_interface_instant_test_request_instance = SourceInterfaceInstantTestRequest.from_json(json)
# print the JSON string representation of the object
print(SourceInterfaceInstantTestRequest.to_json())
# convert the object into a dict
source_interface_instant_test_request_dict = source_interface_instant_test_request_instance.to_dict()
# create an instance of SourceInterfaceInstantTestRequest from a dict
source_interface_instant_test_request_from_dict = SourceInterfaceInstantTestRequest.from_dict(source_interface_instant_test_request_dict)